Page MenuHomePhabricator

[avalanche] Add the score and staked amount to the decodeavalancheproof RPC
ClosedPublic

Authored by Fabien on Mar 7 2022, 16:23.

Details

Summary

The missing score is certainly an oversight and the staked amount a convenience to avoid summing all the stake amounts.

Test Plan
./test/functional/test_runner.py abc_rpc_avalancheproof

Diff Detail

Repository
rABC Bitcoin ABC
Branch
avalanche_decodeavalancheproof_score
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 18425
Build 36647: Build Diffbuild-without-wallet · build-debug · build-clang · build-diff · lint-circular-dependencies · build-clang-tidy
Build 36646: arc lint + arc unit

Event Timeline

Fabien requested review of this revision.Mar 7 2022, 16:23
PiRK added a subscriber: PiRK.
PiRK added inline comments.
src/rpc/avalanche.cpp
383

why

This revision is now accepted and ready to land.Mar 8 2022, 13:15

ignore the inline comment. I failed to completely delete it before accepting the revision.