|
|
@ -46,8 +46,8 @@ static void DeserializeAndCheckBlockTest(benchmark::State& state) |
|
|
|
stream >> block; |
|
|
|
stream >> block; |
|
|
|
assert(stream.Rewind(sizeof(block_bench::block413567))); |
|
|
|
assert(stream.Rewind(sizeof(block_bench::block413567))); |
|
|
|
|
|
|
|
|
|
|
|
CValidationState state; |
|
|
|
CValidationState validationState; |
|
|
|
assert(CheckBlock(block, state, params)); |
|
|
|
assert(CheckBlock(block, validationState, params)); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|