Page MenuHomePhabricator

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

Authored by nakihito on Oct 2 2019, 21:09.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

nakihito created this revision.Oct 2 2019, 21:09
Owners added a reviewer: Restricted Owners Package.Oct 2 2019, 21:09
Herald added a reviewer: Restricted Project. · View Herald TranscriptOct 2 2019, 21:09
nakihito planned changes to this revision.Oct 2 2019, 21:09
nakihito edited the summary of this revision. (Show Details)Oct 3 2019, 18:42
nakihito requested review of this revision.Oct 3 2019, 19:35
nakihito edited the summary of this revision. (Show Details)
deadalnix accepted this revision.Oct 6 2019, 16:24
This revision is now accepted and ready to land.Oct 6 2019, 16:24