aboutsummaryrefslogtreecommitdiff
path: root/src/script/script.cpp
diff options
context:
space:
mode:
authorSuhas Daftuar <[email protected]>2015-07-15 14:47:45 -0400
committerSuhas Daftuar <[email protected]>2015-09-19 13:25:48 -0400
commit5add7a74a672cb12b0a2a630d318d9bc64dd0f77 (patch)
treee8b86acba14f47100af0bbadeb748f6f6a002d58 /src/script/script.cpp
parentTxMemPool: Change mapTx to a boost::multi_index_container (diff)
downloaddiscoin-5add7a74a672cb12b0a2a630d318d9bc64dd0f77.tar.xz
discoin-5add7a74a672cb12b0a2a630d318d9bc64dd0f77.zip
Track transaction packages in CTxMemPoolEntry
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.
Diffstat (limited to 'src/script/script.cpp')
0 files changed, 0 insertions, 0 deletions