lnwallet: add field to track current out-of-chain revocation hash
This commit is contained in:
1 parent
8cbbba14a4
commit
b9a6155021
1 file changed
+4
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user