mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-14 18:30:52 +02:00
lnwallet/reservation: fundingLockTime is int64 track their revoke hash
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user