wallet(HD): native BIP39/BIP32 HD wallet - daemon side
Adds deterministic HD key derivation (path m/44'/2222'/0'/0/i, matching the TRIdock web wallet) wired into CWallet: HD seed stored in wallet.dat (encrypted with the wallet master key when the wallet is encrypted), keypool derived from the seed, and new RPC commands hdnew/hdrestore/hdshow/hdinfo. Crypto core verified standalone against the official BIP39 vector and triWallet.js addresses.
This commit is contained in:
@@ -305,6 +305,10 @@ static const CRPCCommand vRPCCommands[] =
|
||||
{ "settxfee", &settxfee, false, false },
|
||||
{ "listsinceblock", &listsinceblock, false, false },
|
||||
{ "dumpprivkey", &dumpprivkey, false, false },
|
||||
{ "hdnew", &hdnew, false, false },
|
||||
{ "hdrestore", &hdrestore, false, false },
|
||||
{ "hdshow", &hdshow, false, false },
|
||||
{ "hdinfo", &hdinfo, true, false },
|
||||
{ "dumpwallet", &dumpwallet, true, false },
|
||||
{ "importwallet", &importwallet, false, false },
|
||||
{ "importprivkey", &importprivkey, false, false },
|
||||
|
||||
Reference in New Issue
Block a user