0381c2347b
* ZIP-401 weighted random mempool eviction * rename zcash.mempool.total_cost.bytes to zcash.mempool.cost.bytes Co-authored-by: teor <teor@riseup.net> * Remove duplicated lines * Add cost() method to UnminedTx Update serialization failure messages * More docs quoting ZIP-401 rules * Change mempool::Storage::new() to handle Copy-less HashMap, HashSet * mempool: tidy cost types and evict_one() * More consensus rule docs * Refactor calculating mempool costs for Unmined transactions * Add a note on asympotic performance of calculating weights of txs in mempool * Bump test mempool / storage config to avoid weighted random cost limits * Use mempool tx_cost_limit = u64::MAX for some tests * Remove failing tests for now * Allow(clippy::field-reassign-with-default) because of a move on a type that doesn't impl Copy * Fix mistaken doctest formatting Co-authored-by: Conrado Gouvea <conrado@zfnd.org> * Increase test timeout for Windows builds Co-authored-by: teor <teor@riseup.net> Co-authored-by: Conrado Gouvea <conrado@zfnd.org> |
||
---|---|---|
.. | ||
benches | ||
proptest-regressions | ||
src | ||
Cargo.toml | ||
build.rs |