Merge pull request #6871
63b5840Fix usage of local python-bitcoinlib (Peter Todd)16a2f93Fix incorrect locking of mempool during RBF replacement (Peter Todd)97203f5Port test to rpc-test framework (Suhas Daftuar)20367d8Add test for max replacement limit (Suhas Daftuar)73d9040Improve RBF replacement criteria (Suhas Daftuar)b272ecfReject replacements that add new unconfirmed inputs (Peter Todd)fc8c19aPrevent low feerate txs from (directly) replacing high feerate txs (Peter Todd)0137e6fAdd tests for transaction replacement (Peter Todd)5891f87Add opt-in full-RBF to mempool (Peter Todd)
This commit is contained in:
@@ -420,6 +420,11 @@ public:
|
||||
*/
|
||||
bool CalculateMemPoolAncestors(const CTxMemPoolEntry &entry, setEntries &setAncestors, uint64_t limitAncestorCount, uint64_t limitAncestorSize, uint64_t limitDescendantCount, uint64_t limitDescendantSize, std::string &errString, bool fSearchForParents = true);
|
||||
|
||||
/** Populate setDescendants with all in-mempool descendants of hash.
|
||||
* Assumes that setDescendants includes all in-mempool descendants of anything
|
||||
* already in it. */
|
||||
void CalculateDescendants(txiter it, setEntries &setDescendants);
|
||||
|
||||
/** The minimum fee to get into the mempool, which may itself not be enough
|
||||
* for larger-sized transactions.
|
||||
* The minReasonableRelayFee constructor arg is used to bound the time it
|
||||
@@ -505,10 +510,6 @@ private:
|
||||
void UpdateForRemoveFromMempool(const setEntries &entriesToRemove);
|
||||
/** Sever link between specified transaction and direct children. */
|
||||
void UpdateChildrenForRemoval(txiter entry);
|
||||
/** Populate setDescendants with all in-mempool descendants of hash.
|
||||
* Assumes that setDescendants includes all in-mempool descendants of anything
|
||||
* already in it. */
|
||||
void CalculateDescendants(txiter it, setEntries &setDescendants);
|
||||
|
||||
/** Before calling removeUnchecked for a given transaction,
|
||||
* UpdateForRemoveFromMempool must be called on the entire (dependent) set
|
||||
|
||||
Reference in New Issue
Block a user