HomePhabricator

[rpc] add getfinalizedblockhash to return the current finalized block

Description

[rpc] add getfinalizedblockhash to return the current finalized block

Summary:
As per title. Add an API so that node operators can introspect the currently
finalized block in case they need to make manual adjustments.

Test Plan:

make check && ./test/functional/test_runner.py

Reviewers: #bitcoin_abc, deadalnix, schancel

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: deadalnix, Fabien

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

Details

Provenance
schancelAuthored on Nov 22 2018, 14:09
FabienCommitted on Nov 22 2018, 15:26
FabienPushed on Nov 22 2018, 15:26
Reviewer
Restricted Project
Differential Revision
D2114: [rpc] add getfinalizedblockhash to return the current finalized block
Parents
rABC3d981bc03584: Finish conversion of rpc to use pushKV
Branches
Unknown
Tags
Unknown