1.3.2 • Published 7 months ago

bolt03 v1.3.2

Weekly downloads
168
License
MIT
Repository
github
Last release
7 months 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

7 months ago

1.3.1

11 months ago

1.3.0

11 months ago

1.2.15

1 year ago

1.2.14

2 years ago

1.2.13

2 years ago

1.2.12

2 years ago

1.2.11

3 years ago

1.2.10

3 years ago

1.2.9

3 years ago

1.2.8

3 years ago

1.2.7

3 years ago

1.2.6

4 years ago

1.2.5

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago