grin/core/src
Antioch Peverell 2552b34118
remove difficulty field from block_header (derive from total_difficulty) (#777)
* remove difficulty field from block_header (derive from total_difficulty)

* address feedback on PR and general cleanup

* rustfmt

* rework pow/difficulty validation in pipe::validate_header
now that we only have total_difficulty available

* cleanup various todos

* rustfmt

* rework DifficultyIterator to track header and prev_header state

* rustfmt caught some garbage syntax

* cleanup
2018-03-15 15:16:34 -04:00
..
core remove difficulty field from block_header (derive from total_difficulty) (#777) 2018-03-15 15:16:34 -04:00
consensus.rs Fee burning no more. Fixes #767 2018-03-13 02:39:22 +00:00
genesis.rs remove difficulty field from block_header (derive from total_difficulty) (#777) 2018-03-15 15:16:34 -04:00
global.rs rustfmt all the things 2018-03-04 00:19:54 +00:00
lib.rs Remove Sumtree References and disambiguate some naming (#747) 2018-03-05 19:33:44 +00:00
macros.rs check_compact retains leaves and roots until parents are pruned (#753) 2018-03-13 14:22:34 -04:00
ser.rs Compaction of pruned data for chain data structures (#746) 2018-03-06 17:58:33 +00:00