[testnet2] Store output sum (#1043)

* block sums and reworked block validation
read and write block_sums
refactor validate on both block and txhashset
write block_sum on fast sync
we store the kernel_sum (need to account for the offset)

* block_sums

* rustfmt

* cleanup
This commit is contained in:
Antioch Peverell
2018-05-07 09:21:41 -04:00
committed by GitHub
parent b42b2a4f77
commit 4dd94ff39e
13 changed files with 426 additions and 141 deletions
-1
View File
@@ -86,7 +86,6 @@ fn data_files() {
global::sizeshift(),
).unwrap();
// let prev_bhash = b.header.previous;
let bhash = b.hash();
chain
.process_block(b.clone(), chain::Options::MINE)