lnwallet/reservation: fundingLockTime is int64 track their revoke hash
This commit is contained in:
parent
d7d569b267
commit
e7e546af9a
@ -13,7 +13,7 @@ type ChannelReservation struct {
|
|||||||
sync.RWMutex // All fields below owned by the lnwallet.
|
sync.RWMutex // All fields below owned by the lnwallet.
|
||||||
|
|
||||||
//for CLTV it is nLockTime, for CSV it's nSequence, for segwit it's not needed
|
//for CLTV it is nLockTime, for CSV it's nSequence, for segwit it's not needed
|
||||||
fundingLockTime uint32
|
fundingLockTime int64
|
||||||
fundingAmount btcutil.Amount
|
fundingAmount btcutil.Amount
|
||||||
|
|
||||||
//Current state of the channel, progesses through until complete
|
//Current state of the channel, progesses through until complete
|
||||||
@ -34,6 +34,7 @@ type ChannelReservation struct {
|
|||||||
ourFundingSigs [][]byte
|
ourFundingSigs [][]byte
|
||||||
theirFundingSigs [][]byte
|
theirFundingSigs [][]byte
|
||||||
|
|
||||||
|
ourRevokeHash [wire.HashSize]byte
|
||||||
ourCommitmentSig []byte
|
ourCommitmentSig []byte
|
||||||
|
|
||||||
partialState *OpenChannelState
|
partialState *OpenChannelState
|
||||||
|
Loading…
Reference in New Issue
Block a user