sweep: add monitor loop to TxPublisher
This commit finishes the implementation of `TxPublisher` by adding the monitor process. Whenever a new block arrives, the publisher will check all its monitored records and attempt fee bumping them if necessary.
This commit is contained in:
5 files changed
+725
-64
No files matched your search
@@ -46,4 +46,9 @@ type Wallet interface {
|
||||
// policies and returns an error if it cannot be accepted into the
|
||||
// mempool.
|
||||
CheckMempoolAcceptance(tx *wire.MsgTx) error
|
||||
|
||||
// GetTransactionDetails returns a detailed description of a tx given
|
||||
// its transaction hash.
|
||||
GetTransactionDetails(txHash *chainhash.Hash) (
|
||||
*lnwallet.TransactionDetail, error)
|
||||
}
|
||||
Reference in new issue
Block a user