zebra/zebrad
Deirdre Connolly 0381c2347b
ZIP-401: weighted random mempool eviction (#2889)
* 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>
2021-10-27 00:21:19 +00:00
..
proptest-regressions/components/mempool/storage/tests Refactor mempool spend conflict checks to increase performance (#2826) 2021-10-10 23:54:46 +00:00
src ZIP-401: weighted random mempool eviction (#2889) 2021-10-27 00:21:19 +00:00
systemd add systemd service file 2020-10-14 15:33:00 -04:00
tests Disable mempool large sync test unless specifically requested (#2924) 2021-10-21 12:30:11 +00:00
Cargo.toml ZIP-401: weighted random mempool eviction (#2889) 2021-10-27 00:21:19 +00:00
README.md Create workspace skeleton based on design.md 2019-08-29 14:46:54 -07:00
build.rs Add a "modified" flag to the panic report metadata 2021-05-20 09:00:56 +10:00

README.md

Zebrad

Zebrad is an application.

Getting Started

This application is authored using Abscissa, a Rust application framework.

For more information, see:

Documentation