HomePhabricator

[avalanche] Add getter and setter RPCs to retrieve/set the staking reward winner

Description

[avalanche] Add getter and setter RPCs to retrieve/set the staking reward winner

Summary:
Get, recompute and set the payout script from the previous block hash.

Depends on D14648.

Test Plan:

./test/functional/test_runner.py abc_mining_stakingrewards

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Subscribers: PiRK

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

Details

Provenance
FabienAuthored on Oct 18 2023, 18:36
FabienPushed on Oct 19 2023, 07:44
Reviewer
Restricted Project
Differential Revision
D14649: [avalanche] Add getter and setter RPCs to retrieve/set the staking reward winner
Parents
rABC6476fba9ced8: [avalanche] Remove dead code from previous iterations of the staking rewards…
Branches
Unknown
Tags
Unknown