mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-08 05:08:13 +02:00
lnwallet+sweep: add new method CheckMempoolAcceptance
This commit is contained in:
@@ -41,4 +41,9 @@ type Wallet interface {
|
||||
// used to ensure that invalid transactions (inputs spent) aren't
|
||||
// retried in the background.
|
||||
CancelRebroadcast(tx chainhash.Hash)
|
||||
|
||||
// CheckMempoolAcceptance checks whether a transaction follows mempool
|
||||
// policies and returns an error if it cannot be accepted into the
|
||||
// mempool.
|
||||
CheckMempoolAcceptance(tx *wire.MsgTx) error
|
||||
}
|
||||
|
Reference in New Issue
Block a user