HomePhabricator

Add 'sethdseed' RPC to initialize or replace HD seed and test

Description

Add 'sethdseed' RPC to initialize or replace HD seed and test

Summary:
The first commit adds a new command sethdseed which allows you to either set or generate a new HD seed to be used. The second commit adds a test for this.

Partial (2/4) backport of Core PR12560
https://github.com/bitcoin/bitcoin/pull/12560/commits/b5ba01a18707b1d50c4d073bd40e1e92d78d04c1
https://github.com/bitcoin/bitcoin/pull/12560/commits/2bcf2b52aea07c778b439e6d6931bb4a1733304

Depends on D4201

Test Plan:

make check
test_runner.py

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc

Reviewed By: deadalnix, O1 Bitcoin ABC, #bitcoin_abc

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

Details

Provenance
Andrew Chow <achow101-github@achow101.com>Authored on Apr 12 2018, 21:04
nakihitoCommitted on Oct 6 2019, 18:44
nakihitoPushed on Oct 6 2019, 19:21
Reviewer
Restricted Owners Package
Differential Revision
D4202: Add 'sethdseed' RPC to initialize or replace HD seed and test
Parents
rSTAGING89cf7cfe2363: Remove CombineSignatures and replace tests
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/13373, tag: phabricator/base/13372, tag: phabricator/base/13370