Check cluster limits when using -walletrejectlongchains

This commit is contained in:
Suhas Daftuar
2025-01-23 09:26:05 -05:00
parent 95762e6759
commit 95a8297d48
3 changed files with 17 additions and 3 deletions

View File

@@ -681,6 +681,8 @@ public:
if (exists(txid)) m_unbroadcast_txids.insert(txid);
};
bool CheckPolicyLimits(const CTransactionRef& tx);
/** Removes a transaction from the unbroadcast set */
void RemoveUnbroadcastTx(const Txid& txid, const bool unchecked = false);