lnwallet: add field to track current out-of-chain revocation hash
This commit is contained in:
parent
8cbbba14a4
commit
b9a6155021
@ -53,6 +53,10 @@ type OpenChannelState struct {
|
|||||||
|
|
||||||
ourShaChain *revocation.HyperShaChain
|
ourShaChain *revocation.HyperShaChain
|
||||||
theirShaChain *revocation.HyperShaChain
|
theirShaChain *revocation.HyperShaChain
|
||||||
|
// Current revocation for their commitment transaction. However, since
|
||||||
|
// this is the hash, and not the pre-image, we can't yet verify that
|
||||||
|
// it's actually in the chain.
|
||||||
|
theirCurrentRevocation [wire.HashSize]byte
|
||||||
|
|
||||||
// Final delivery address
|
// Final delivery address
|
||||||
ourDeliveryAddress btcutil.Address
|
ourDeliveryAddress btcutil.Address
|
||||||
|
Loading…
Reference in New Issue
Block a user