aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2016-04-09 06:52:43 +0200
committerWladimir J. van der Laan <[email protected]>2016-04-09 09:17:51 +0200
commit4521f005a1e61969f21b91a7e8eef5a5cdfdd191 (patch)
tree70aecb9ac4ba2d2121f0d889a983416efca24ae3 /src/init.cpp
parentMerge #7835: Version 2 transactions remain non-standard until CSV activates (diff)
downloaddiscoin-4521f005a1e61969f21b91a7e8eef5a5cdfdd191.tar.xz
discoin-4521f005a1e61969f21b91a7e8eef5a5cdfdd191.zip
tests: add varints_bitpatterns test
The current tests for varint only check that serialization-deserialization is a roundtrip. That is a useful test, but it is also good to check for some exact bit patterns, to prevent a code change that changes the serialization format from going undetected. As the varint functions are templated, also check with different types.
Diffstat (limited to 'src/init.cpp')
0 files changed, 0 insertions, 0 deletions