diff options
author | John Newbery <john@johnnewbery.com> | 2018-04-04 11:43:45 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2018-05-19 11:16:00 -0400 |
commit | 131d4450b913fa4f00dc8b176dc996d39f786c19 (patch) | |
tree | 5c34c2418b2b92e1804fb70dd78ff4c1fc624da3 /src/key.h | |
parent | d792e47421fcb9ce3b381c1e6d8902777ae3f9f3 (diff) |
scripted-diff: Rename master key to seed
-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-
Diffstat (limited to 'src/key.h')
-rw-r--r-- | src/key.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -158,7 +158,7 @@ struct CExtKey { void Decode(const unsigned char code[BIP32_EXTKEY_SIZE]); bool Derive(CExtKey& out, unsigned int nChild) const; CExtPubKey Neuter() const; - void SetMaster(const unsigned char* seed, unsigned int nSeedLen); + void SetSeed(const unsigned char* seed, unsigned int nSeedLen); template <typename Stream> void Serialize(Stream& s) const { |