Page MenuHomePhabricator

[avalanche] Decode the payout script and proof signature in the decodeavalancheproof RPC
ClosedPublic

Authored by Fabien on Oct 15 2021, 16:00.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Maniphest Tasks
Restricted Maniphest Task
Commits
rABC0302976a96a1: [avalanche] Decode the payout script and proof signature in the…
Summary

This is only available when the legacy format is not used.

Ref T1676.

Depends on D10358.

Test Plan
ninja check-functional

Diff Detail

Repository
rABC Bitcoin ABC
Branch
avalanche_decode_payoutscript
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 17050
Build 33933: Build Difflint-circular-dependencies · build-without-wallet · build-diff · build-debug · build-clang-tidy · build-clang
Build 33932: arc lint + arc unit

Event Timeline

Fabien requested review of this revision.Oct 15 2021, 16:00
deadalnix requested changes to this revision.Oct 15 2021, 20:43
deadalnix added a subscriber: deadalnix.
deadalnix added inline comments.
src/avalanche/proof.h
149

This makes a copy of the script. that does not seem necessary nor judicious.

This revision now requires changes to proceed.Oct 15 2021, 20:43
Fabien edited the summary of this revision. (Show Details)

Always print the payout script, which will be empty in legacy mode.

This revision is now accepted and ready to land.Oct 19 2021, 22:46