Skip to content

Conversation

@underdarkskies
Copy link
Collaborator

This is a revision of #165 requested by Roshi
This backports bitcoin/bitcoin#12924 to our current implementation of the RPC-API

6249021d1 [docs] Add release notes for HD master key -> HD seed
rename (John Newbery)
79053a5f2 [rpc] [wallet] Add 'hdmasterkeyid' alias return values. (John Newbery)
c75c35141 [refactor] manually change remaining instances of master key to seed. (John Newbery)
131d4450b scripted-diff: Rename master key to seed (John Newbery)

Pull request description:

This renames a couple of functions and members (no functional changes, expect log prints):

  • Rename CKey::SetMaster to CKey::SetSeed
  • Rename CHDChain::masterKeyId to CHDChain::seedID
  • Rename CHDChain::hdMasterKeyID to CHDChain::hdSeedID
  • Rename CWallet::SetHDMasterKey to CWallet::SetHDSeed

As well it introduces a tiny API change:

  • RPC API change: Rename "hdmasterkeyid" to "hdseedid", rename "hdmaster" in wallet-dump output to "hdseed"

  • use "s" instead of the incorrect "m" for the seed-key hd-keypath key metadata

This backports #12924 to our current implementation of the RPC-API

6249021d1 [docs] Add release notes for HD master key -> HD seed
rename (John Newbery)
79053a5f2 [rpc] [wallet] Add 'hdmasterkeyid' alias return values. (John Newbery)
c75c35141 [refactor] manually change remaining instances of master key to seed. (John Newbery)
131d4450b scripted-diff: Rename master key to seed (John Newbery)

Pull request description:

  This renames a couple of functions and members (no functional changes, expect log prints):

  - Rename CKey::SetMaster to CKey::SetSeed
  - Rename CHDChain::masterKeyId to CHDChain::seedID
  - Rename CHDChain::hdMasterKeyID to CHDChain::hdSeedID
  - Rename CWallet::SetHDMasterKey to CWallet::SetHDSeed

  As well it introduces a tiny API change:

  - RPC API change: Rename "hdmasterkeyid" to "hdseedid", rename "hdmaster" in wallet-dump output to "hdseed"

  -  use "s" instead of the incorrect "m" for the seed-key hd-keypath key metadata
@blondfrogs blondfrogs merged commit 697eba7 into RavenProject:develop Sep 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants