HomePhabricator

[avalanche] Add the local proof verification status details to getavalancheinfo

Description

[avalanche] Add the local proof verification status details to getavalancheinfo

Summary:
The getavalancheinfo RPC returns whether the local proof is verified or not, but gives no indication about why it's not verified. Since the node waits for a block to trigger the verification this can lead to confusion when a user restarts and see his proof being unverified.

This diff adds another status field when the verified field is false to indicate whether the verification is pending or if the verification ocurred but failed.

Test Plan:

./test/functional/test_runner.py abc_rpc_getavalancheinfo

Reviewers: #bitcoin_abc, sdulfari

Reviewed By: #bitcoin_abc, sdulfari

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

Details

Provenance
FabienAuthored on Dec 27 2022, 17:20
FabienPushed on Dec 30 2022, 09:41
Reviewer
Restricted Project
Differential Revision
D12941: [avalanche] Add the local proof verification status details to getavalancheinfo
Parents
rABC871b7ae0b0d7: Bump version to 0.26.10
Branches
Unknown
Tags
Unknown