Implement TopUp in DescriptorScriptPubKeyMan

This commit is contained in:
Andrew Chow
2019-07-10 16:38:12 -04:00
parent e014886a34
commit 58c7651821
5 changed files with 120 additions and 1 deletions

View File

@@ -219,6 +219,11 @@ struct CExtPubKey {
a.pubkey == b.pubkey;
}
friend bool operator!=(const CExtPubKey &a, const CExtPubKey &b)
{
return !(a == b);
}
void Encode(unsigned char code[BIP32_EXTKEY_SIZE]) const;
void Decode(const unsigned char code[BIP32_EXTKEY_SIZE]);
bool Derive(CExtPubKey& out, unsigned int nChild) const;