lnwallet+sweep: add new method CheckMempoolAcceptance

This commit is contained in:
yyforyongyu committed 2024-04-19 21:33:28 +08:00
1 parent cd5d074099
commit f85661d94a
8 files changed
+310

No files matched your search

+5
View File
@@ -536,6 +536,11 @@ type WalletController interface {
// which could be e.g. btcd, bitcoind, neutrino, or another consensus
// service.
BackEnd() string
// 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
}
// BlockChainIO is a dedicated source which will be used to obtain queries