grin/core/tests
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
..
block.rs Use mmr sizes in header to validate header weight (#3395) 2020-08-19 09:40:56 +01:00
common.rs pass slices around and not refs to vecs (#3404) 2020-07-27 11:07:18 +01:00
consensus_automated.rs thread local chain type vs global chain type (#3327) 2020-05-22 12:51:58 +01:00
consensus_floonet.rs header version 4 accompanied by new AR PoW (#3334) 2020-06-04 09:05:56 -04:00
consensus_mainnet.rs pass slices around and not refs to vecs (#3404) 2020-07-27 11:07:18 +01:00
core.rs introduce Inputs enum variants for future commit only support (#3406) 2020-07-28 21:21:57 +01:00
merkle_proof.rs Reduce memory allocations in PMMR (#3328) 2020-05-24 16:50:27 +01:00
pmmr.rs Reduce memory allocations in PMMR (#3328) 2020-05-24 16:50:27 +01:00
transaction.rs verify_cut_through and test coverage (#3424) 2020-08-18 20:09:54 +01:00
vec_backend.rs Update License to 2020 (#3196) 2020-01-20 11:40:58 +00:00
verifier_cache.rs Less cloning and pattern simplifications (#3216) 2020-02-05 11:02:07 -05:00