HomePhabricator

[refactor] remove global mapBlockIndex access from parkblock RPC

Description

[refactor] remove global mapBlockIndex access from parkblock RPC

Summary:
this also makes parkblock's code more consistent with the pattern present
in the invalidateblock RPC

Test Plan:

ninja check

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
majcostaAuthored on Jul 20 2020, 21:12
majcostaPushed on Jul 20 2020, 23:37
Reviewer
Restricted Project
Differential Revision
D6984: [refactor] remove global mapBlockIndex access from parkblock RPC
Parents
rABC9f5c428a8f44: [CI] Store functional tests duration with ms resolution in Junit
Branches
Unknown
Tags
Unknown