b63c58500a
Associate with each CTxMemPoolEntry all the size/fees of descendant mempool transactions. Sort mempool by max(feerate of entry, feerate of descendants). Update statistics on-the-fly as transactions enter or leave the mempool. Also add ancestor and descendant limiting, so that transactions can be rejected if the number or size of unconfirmed ancestors exceeds a target, or if adding a transaction would cause some other mempool entry to have too many (or too large) a set of unconfirmed in- mempool descendants. (cherry picked from commit bitcoin/bitcoin@5add7a74a6) Zcash: - Mempool methods were adapted to our mempool changes. - Default ancestor and descendant size limits were double to account for our larger block size. - The mempool_packages RPC test fee was adapted to account for our emissions curve (which results in a smaller per-block reward that needs to be split into smaller shards for sequential transactions. - Includes some modifications to account for us backporting bitcoin/bitcoin@f3fe83673e early in zcash/zcash#5269. |
||
---|---|---|
.. | ||
rpc-tests.py | ||
tests_config.ini.in |