HomePhabricator

Fixed logging block diff times so that the order of blocks being received…

Description

Fixed logging block diff times so that the order of blocks being received doesn't change what is logged

Summary: Discovered this while debugging tests for D1442.

Test Plan:
With D1442 applied:
build/test/functional/test_runner.py sendheaders-selfish-mining.py and
examine the logs at /tmp/bitcoin_test_runner_xxx/sendheaders-selfish-mining_xxx/node0/regtest/debug.log.

Note that the tmp files get cleaned up if the test passes, so make it fail
with assert() at the end of sendheaders-selfish-mining.py to see these logs.

Reviewers: deadalnix, schancel, #bitcoin_abc

Reviewed By: deadalnix, #bitcoin_abc

Subscribers: teamcity

Differential Revision: https://reviews.bitcoinabc.org/D1511

Details

Provenance
jasonbcoxAuthored on Jul 26 2018, 19:29
jasonbcoxPushed on Jul 26 2018, 22:35
Reviewer
Restricted Project
Differential Revision
D1511: Fixed logging block diff times so that the order of blocks being received doesn't change what is logged
Parents
rABC23e15185df78: [qa] use calculate_fee for prioritise_transaction
Branches
Unknown
Tags
Unknown