c460f9876a
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