lnd.xprv/lnwallet/chancloser
Wilmer Paulino 6075997ebc
multi: add relative thaw height interpretation
This is useful when we wish to have a channel frozen for a specific
amount of blocks after its confirmation. This could also be done with an
absolute thaw height, but it does not suit cases where a strict block
delta needs to be enforced, as it's not possible to know for certain
when a channel will be included in the chain. To work around this, we
add a relative interpretation of the field, where if its value is below
500,000, then it's interpreted as a relative height. This approach
allows us to prevent further database modifications to account for a
relative thaw height.
2020-07-02 12:05:49 -07:00
..
chancloser_test.go chancloser: new package for cooperative channel closure 2020-06-16 20:34:44 -04:00
chancloser.go multi: add relative thaw height interpretation 2020-07-02 12:05:49 -07:00
log.go chancloser: new package for cooperative channel closure 2020-06-16 20:34:44 -04:00