Page MenuHomePhabricator

[avalanche] Make gen_proof facility return the key object
ClosedPublic

Authored by Fabien on Sep 2 2021, 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
Branch
avalanche_gen_proof_privkey
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 16526
Build 32914: Build Diffbuild-without-wallet · build-diff · build-debug · build-clang-tidy · build-clang
Build 32913: arc lint + arc unit