grin/p2p
Antioch Peverell a2adf2dfe8
Dandelion++ Rewrite (#2628)
* reworked the dandelion rewrite (dandelion++)

* fallback to fluff/broadcast if we cannot stem the tx for any reason

* rework stem vs fluff logic during accepting tx

* cleanup docs

* add is_stem to logging

* cleanup

* rustfmt

* cleanup monitor and logging

* rework dandelion monitor to use simple cutoff for aggregation

* transition to next epoch *after* processing tx
so we fluff final outstanding txs

* fluff all txs in stempool if any are older than 30s
aggressively aggregate when we can

* fix rebase onto 1.1.0

* default config comments for Dandelion

* fix code to reflect our tests - fallback to txpool on stempool error

* log fluff and expire errors in dandelion monitor

* cleanup

* fix off by one

* cleanup

* cleanup

* various fixes

* one less clone

* cleanup
2019-03-20 13:08:56 +00:00
..
fuzz Map peers by ip only (ignoring port unless on loopback ip) (#2540) 2019-02-18 12:15:32 +00:00
src Dandelion++ Rewrite (#2628) 2019-03-20 13:08:56 +00:00
tests Dynamic LMDB mapsize allocation [1.1.0] (#2605) 2019-02-27 09:47:46 +00:00
Cargo.toml Dynamic LMDB mapsize allocation [1.1.0] (#2605) 2019-02-27 09:47:46 +00:00