lnwallet: add field CommitTxBlockHeight to ResolutionReq
Introduce `CommitTxBlockHeight` field to the `ResolutionReq` structure and related methods. This field records the block height where a commitment transaction has confirmed.
This commit is contained in:
3 files changed
+177
-150
No files matched your search
@@ -77,6 +77,10 @@ type ResolutionReq struct {
|
||||
// CommitTx is the force close commitment transaction.
|
||||
CommitTx *wire.MsgTx
|
||||
|
||||
// CommitTxBlockHeight is the block height where the commitment
|
||||
// transaction confirmed. It is 0 if unknown or not confirmed yet.
|
||||
CommitTxBlockHeight uint32
|
||||
|
||||
// CommitFee is the fee that was paid for the commitment transaction.
|
||||
CommitFee btcutil.Amount
|
||||
|
||||
|
||||
Reference in new issue
Block a user