grin/chain
Ignotus Peverell c460f9876a
Improvements to orphan handling to help sync (#931)
Our chain orphans data structure now does:

* Eviction based on a max total number of orphaned blocks
* Evicts further away first, then too old
* Avoids all cloning (blocks can be big)

This allows sync to be a little more stupid, only reducing the
number of blocks it requests when orphans get nearly full.

Fixes #897
2018-04-05 03:24:43 +00:00
..
src Improvements to orphan handling to help sync (#931) 2018-04-05 03:24:43 +00:00
tests tests for difficulty adjustment scenarios (#887) 2018-03-27 19:15:42 +01:00
Cargo.toml Genesis, version changes and doc for testnet2 (#865) 2018-03-26 10:48:46 +01:00
rustfmt.toml cannot use write_mode in rustfmt.toml in stable (get rid of the warnings) (#752) 2018-03-05 15:23:52 -05:00