aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.h
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2017-04-25 11:29:14 -0700
committerPieter Wuille <[email protected]>2017-05-26 13:24:25 -0700
commite484652fc36ef7135cf08ad380ea7142b6cbadc0 (patch)
tree45085d6af75bc045ae486a226c575fef59fd6b22 /src/httpserver.h
parenterror() in disconnect for disk corruption, not inconsistency (diff)
downloaddiscoin-e484652fc36ef7135cf08ad380ea7142b6cbadc0.tar.xz
discoin-e484652fc36ef7135cf08ad380ea7142b6cbadc0.zip
Introduce CHashVerifier to hash read data
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.
Diffstat (limited to 'src/httpserver.h')
0 files changed, 0 insertions, 0 deletions