"DotNetLightning.Utils" contains 1. a lightning-related primitive types. 2. very basic helper methods.
| Type/Module | Description | ||
see bolt2
for the detail.
This is mainly used when the channel funding tx is not confirmed in to the
blockchain. After confirmation, |
|||
48-bit incrementing counter for each commitment transaction This is set to commitment tx locktime (in obscured form), see bolt03-transactions for more detail. |
|||
set of pubkeys which get rotated for every commitment in the channel.
Generated from |
|||
elliptic curve point (a.k.a. pubkey) to derive |
|||
secret which corresponds to |
|||
Heap is an ordered linear structure where the ordering is ascending or descending. "head" inspects the first element in the ordering, "tail" takes the remaining structure after head, and "insert" places elements within the ordering. PriorityQueue is available as an alternate interface. According to Okasaki the time complexity of the heap functions in this Heap implementation (based on the "pairing" heap) have resisted time complexity analysis. |
|||
elliptic curve point (a.k.a. pubkey) to derive |
|||
secret which corresponds to |
|||
Based on FSharpx's PriorityQueue refs: https://github.com/fsprojects/FSharpx.Collections/blob/master/src/FSharpx.Collections/PriorityQueue.fs |
|||
This is the node-wide master key which is also used for
transport-level encryption. The channel's keys can be derived from
this via BIP32 key derivation.
It is basically |
|||
Private key which corresponds to |
|||
elliptic curve point (a.k.a. pubkey) to derive In case of |
|||
secret which corresponds to |
|||
Private key corresponds to |
|||
The pubkey for |
|||
Type wrapper for |
|||
Privkey corresponds to |
|||
PubKey which is necessary for each new commitment tx.
Which can be derived from |
|||
A You can construct a
You can also call The function |
|||
Integral type to represent the commitment number. The commitment number is a number set to commitment tx locktime (in obscured form), see bolt03-transactions for more detail. |
|||