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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #32624)

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.