mirror of https://github.com/bitcoin/bitcoin
This is necessary later, when we drop the nVersion field from the undo data. At that point deserializing and reserializing the data won't roundtrip anymore, and thus that approach can't be used to verify checksums anymore. With this CHashVerifier approach, we can deserialize while hashing the exact serialized form that was used. This is both more efficient and more correct in that case.pull/10195/head
parent
f54580e7e4
commit
e484652fc3
Loading…
Reference in new issue