HomePhabricator

Store key origin info in key metadata

Authored by Andrew Chow <achow101-github@achow101.com> on Nov 6 2018, 14:23.

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

Committed
nakihitoFri, May 22, 23:20
Pushed
nakihitoFri, May 22, 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

Event Timeline