HomePhabricator

[avalanche] Make gen_proof facility return the key object

Description

[avalanche] Make gen_proof facility return the key object

Summary:
There is currently a single callsite using the private key output, which is retuned as wif. Returning the key object makes it more versatile as the pubkey can be computed as needed as well. This will be used in an upcoming new test.

Ref T1634.

Test Plan:

ninja all check-all
./test/functional/test_runner.py abc_p2p_proof_inventory

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

Maniphest Tasks: T1634

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

Details

Provenance
FabienAuthored on Sep 2 2021, 12:52
FabienPushed on Sep 2 2021, 13:54
Reviewer
Restricted Project
Differential Revision
D10026: [avalanche] Make gen_proof facility return the key object
Parents
rABCe3f1d25b671e: [avalanche] Move gen_proof to avatools
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task