Adds a transaction to the unbroadcast set */
| 830 | |
| 831 | /** Adds a transaction to the unbroadcast set */ |
| 832 | void AddUnbroadcastTx(const uint256& txid) |
| 833 | { |
| 834 | LOCK(cs); |
| 835 | // Sanity check the transaction is in the mempool & insert into |
| 836 | // unbroadcast set. |
| 837 | if (exists(GenTxid::Txid(txid))) m_unbroadcast_txids.insert(txid); |
| 838 | }; |
| 839 | |
| 840 | /** Removes a transaction from the unbroadcast set */ |
| 841 | void RemoveUnbroadcastTx(const uint256& txid, const bool unchecked = false); |
no test coverage detected