When calling get_blocks.bin with prune = true the blocks returned will have their tx blobs pruned but wont set the prunable_hash, leaving it as the default. This means you can't reconstruct the tx hash and verify the txs are actually the correct ones provided for the block.
|
res.blocks.back().txs.push_back({std::move(i->second), crypto::null_hash}); |