grin/chain/src
Antioch Peverell 66f2545186
Block accepted reorg aware (#2003)
* block_accepted via adapter is now reorg aware
we skip reconciling the txpool is block is not most work
we skip reconciling the reorg_cache is not a reorg

* rustfmt

* logging tweaks

* rework block_accepted interface

* rustfmt

* rework reorg determination

* introduce BlockStatus to represent next vs reorg vs fork

* rustfmt

* cleanup logging

* log from adapter, even during sync
2018-11-21 14:35:38 +00:00
..
txhashset Tx kernel entry (#1957) 2018-11-11 16:03:03 +01:00
chain.rs Block accepted reorg aware (#2003) 2018-11-21 14:35:38 +00:00
error.rs [T4] Rename all shiftsize / cuckoo_size to edge_bits and change value for T4 (#1752) 2018-10-15 16:14:23 -07:00
lib.rs Block accepted reorg aware (#2003) 2018-11-21 14:35:38 +00:00
pipe.rs refactor the state_sync to handle the long fork (#1902) 2018-11-10 11:27:52 +08:00
store.rs refactor the state_sync to handle the long fork (#1902) 2018-11-10 11:27:52 +08:00
types.rs Block accepted reorg aware (#2003) 2018-11-21 14:35:38 +00:00