HomePhabricator

Store key origin info in key metadata

Description

Store key origin info in key metadata

Summary:
Store the master key fingerprint and derivation path in the
key metadata. hdKeypath is kept to indicate the seed and for
backwards compatibility, but all key derivation path output
uses the key origin info instead of hdKeypath.

Partial backport of Core PR14021
https://github.com/bitcoin/bitcoin/pull/14021/commits/eab63bc264a35cf21738e8535773e3d36524c3fe

Depends on D6227

Test Plan:

ninja
ninja check

Reviewers: O1 Bitcoin ABC, #bitcoin_abc, deadalnix

Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, deadalnix

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

Details

Provenance
Andrew Chow <achow101-github@achow101.com>Authored on Nov 6 2018, 14:23
nakihitoCommitted on May 22 2020, 23:20
nakihitoPushed on May 22 2020, 23:20
Reviewer
Restricted Owners Package
Differential Revision
D6228: Store key origin info in key metadata
Parents
rABC600f5a86a202: Add a method to CWallet to write just CKeyMetadata
Branches
Unknown
Tags
Unknown