aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.h
diff options
context:
space:
mode:
authorDaniel Kraft <[email protected]>2018-08-09 16:16:25 +0200
committerDaniel Kraft <[email protected]>2018-08-09 16:16:25 +0200
commit1f87c372b521a1ff6970aca9df0ded839528ea20 (patch)
treefdd315a2ae3a723fa81f4f7b6b6dbafdb87161f9 /src/httpserver.h
parentMerge #13894: shutdown: Stop threads before resetting ptrs (diff)
downloaddiscoin-1f87c372b521a1ff6970aca9df0ded839528ea20.tar.xz
discoin-1f87c372b521a1ff6970aca9df0ded839528ea20.zip
Simplify comparison in rpc_blockchain.py.
The test for gettxoutsetinfo in rpc_blockchain.py verifies that the result is the same as before after invalidating and reconsidering a block. The comparison has to exclude the 'disk_size' field, though, as it is not deterministic. Instead of comparing all the other fields for equality, this change explicitly removes the 'disk_size' field and then compares the full objects. This makes the intent more explicit (compare everything except for disk_size, not compare just a given list of fields) and also the code simpler.
Diffstat (limited to 'src/httpserver.h')
0 files changed, 0 insertions, 0 deletions