HomePhabricator

Defaults block index received time to 0 when init from a block header

Description

Defaults block index received time to 0 when init from a block header

Summary:
Current behavior is to set received time to the block header time. This
prevents any possibility to check if received time has been set due to
effective reception of a new block or because of a block loading from
file.

Test Plan:

make check && ./test/functionnal/test_runner.py --extended

Reviewers: #bitcoin_abc, schancel, jasonbcox, deadalnix

Reviewed By: #bitcoin_abc, schancel, jasonbcox, deadalnix

Subscribers: deadalnix, jasonbcox, teamcity

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

Details

Provenance
FabienAuthored on Nov 24 2018, 16:52
FabienPushed on Dec 3 2018, 18:32
Reviewer
Restricted Project
Differential Revision
D2131: Defaults block index received time to 0 when init from a block header
Parents
rABCf5d4f4eab53d: Fix abc-finalize-block.py header propagation issue
Branches
Unknown
Tags
Unknown