HomePhabricator

[avalanche] Add a payout script to the proof

Description

[avalanche] Add a payout script to the proof

Summary:
This will be used for stake rewards. Since it's changing the proof format, I hid it behind a flag so I don't have to update all the tests, especially since more format changes are coming (and updating the hardcoded proofs in tests is expensive).

The payout script cannot be changed without signing the stakes again. This will change in the future.

Ref T1676.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Maniphest Tasks: T1676

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

Details

Provenance
FabienAuthored on Sep 14 2021, 12:14
FabienPushed on Sep 23 2021, 09:31
Reviewer
Restricted Project
Differential Revision
D10109: [avalanche] Add a payout script to the proof
Parents
rABC47b8417175dd: refactor: remove unused header <arpa/inet.h> in protocol.cpp
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task