Skip to content

Conversation

@Menwitz
Copy link
Collaborator

@Menwitz Menwitz commented Jul 29, 2018

No description provided.

Roshii added 2 commits July 29, 2018 11:32
-BEGIN VERIFY SCRIPT-

ren() { git grep -l "\<$1\>" 'src/*.cpp' 'src/*.h' test | xargs sed -i "s:\<$1\>:$2:g"; }
ren GenerateNewHDMasterKey  GenerateNewSeed
ren DeriveNewMasterHDKey    DeriveNewSeed
ren SetHDMasterKey          SetHDSeed
ren hdMasterKeyID           hd_seed_id
ren masterKeyID             seed_id
ren SetMaster               SetSeed
ren hdmasterkeyid           hdseedid
ren hdmaster                hdseed

-END VERIFY SCRIPT-
@underdarkskies
Copy link
Collaborator

I like what you did here, without adding the getaddressinfo, but i feel like you could clean this up a bit by cherry-picking and backporting:
bitcoin/bitcoin#12924
to update the rpc call descriptors etc so that the naming convention is cleanly documented as well.

also by rebasing this change we diverge a bit from bitcoin as our RPC API will have slightly diverged by backporting these changes without updating the RPC API. we should document this and be prepared for any future upstream merges from bitcoin.

perhaps also adding \"hdmasterkeyid\": \"<hash160>\" (string, optional) alias for hdseedid retained for backwards-compatibility to maintain backwards compat.

@underdarkskies
Copy link
Collaborator

you may also want to rebase this PR to the development branch.

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.

3 participants