grin/chain
Antioch Peverell 1cff387f61
Use mmr sizes in header to validate header weight (#3395)
* use mmr sizes in header to validate block weight given header only

* add global weight validaton to headers when reading them untrusted off the network

* fixup tests, one pending test

* add test for deserializing untrusted block header exceeeding weight limits

* validate header mmr sizes, must grow for each block

* remove redundant height check

* fix tests after rebase
block specific TooHeavy error
2020-08-19 09:40:56 +01:00
..
src Use mmr sizes in header to validate header weight (#3395) 2020-08-19 09:40:56 +01:00
tests Use mmr sizes in header to validate header weight (#3395) 2020-08-19 09:40:56 +01:00
Cargo.toml bump version to 4.1.0 on master (4.0.1 on 4.0.x branch) (#3390) 2020-07-13 12:16:43 +01:00