1.3.2 • Published 2 years ago

bolt03 v1.3.2

Weekly downloads
168
License
MIT
Repository
github
Last release
2 years ago

BOLT 03 Utilities

Utilities for working with Lightning Network BOLT 03

Methods

channelResolution

Channel resolution details from witness

{
  witness: [<Witness Hex String>]
}

@returns
{
  [type]: <Channel Resolution Type String>
}

isRemedyWitness

Determine if witness elements represent a to_local breach remedy witness

{
  witness: [<Witness Element Number or Buffer>]
}

@returns
{
  is_remedy: <Witness Elements Are Breach Remedy Witness Elements Bool>
}

resolutionType

Get resolution type of input

{
  transaction: <Transaction Hex String>
  vin: <Transaction Input Index Number>
}

@throws
<Error>

@returns
{
  type: <Resolution Type String>
}
1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.15

3 years ago

1.2.14

3 years ago

1.2.13

3 years ago

1.2.12

4 years ago

1.2.11

4 years ago

1.2.10

4 years ago

1.2.9

4 years ago

1.2.8

4 years ago

1.2.7

4 years ago

1.2.6

5 years ago

1.2.5

5 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago