Page MenuHomePhabricator

[avalanche] Make gen_proof facility return the key object
ClosedPublic

Authored by Fabien on Thu, Sep 2, 13:00.

Details

Reviewers
majcosta
Group Reviewers
Restricted Project
Maniphest Tasks
Restricted Maniphest Task
Commits
rABC6a6a8b6e61fd: [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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable