Browse Source
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.0.15
Pieter Wuille
8 years ago
2 changed files with 39 additions and 5 deletions
Loading…
Reference in new issue