lnwallet: add field to track current out-of-chain revocation hash

This commit is contained in:
Olaoluwa Osuntokun 2015-12-20 21:48:56 -06:00
parent 8cbbba14a4
commit b9a6155021

@ -53,6 +53,10 @@ type OpenChannelState struct {
ourShaChain *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
ourDeliveryAddress btcutil.Address