grin/core/tests
Ignotus Peverell 1398e0bf85
Accept multiple Cuckoo graph sizes (#1193)
* Added sizeshift to proof of work and encoding as VLQ
* Fix some loose ends to get things to compile
* Rename sizehift to min_sizeshift
  * Pipeline checks for PoW Cuckoo Cycle size shift and adjustment
factor before difficulty comparison.
  * Working delta+VLQ encoding of u64 PoW, unfortunately still a
little larger than u32, at least for Cuckoo30.
* Changed binary encoding of proof of work to a sequence of exact
compact bit representation of each nonce. Somewhat simpler,
shorter and matches the data to be hashed.
* Few fixes based on @tromp feedback:
* Max nonce is 2^(N-1)
* Need a separate constant for reference sizeshift
* Cuckoo implementation now conserves sizeshift. Test providing a
block at higher sizeshift.
* Last small overflow protection
2018-06-29 18:41:28 +01:00
..
common Kernel sum and MMR sizes in block header (#1163) 2018-06-21 02:30:22 +01:00
vec_backend Kernel sum and MMR sizes in block header (#1163) 2018-06-21 02:30:22 +01:00
block.rs Accept multiple Cuckoo graph sizes (#1193) 2018-06-29 18:41:28 +01:00
consensus.rs Kernel sum and MMR sizes in block header (#1163) 2018-06-21 02:30:22 +01:00
core.rs Use updated bulletproof API (#1194) 2018-06-25 12:28:56 +01:00
merkle_proof.rs [consensus breaking] New Improved Merkle Proofs (#1119) 2018-06-20 15:18:52 -04:00
pmmr.rs implement prune_list as a bitmap (#1179) (#1206) 2018-06-28 20:53:00 -04:00
transaction.rs Use updated bulletproof API (#1194) 2018-06-25 12:28:56 +01:00