Derive BIP32 child pubkey.
Declared in <pubkey.h>
[[nodiscard]]
bool
Derive(
CPubKey& pubkeyChild,
ChainCode& ccChild,
unsigned int nChild,
ChainCode const& cc,
uint256* bip32_tweak_out = nullptr) const;
| Name | Description |
|---|---|
| pubkeyChild | Output child public key. |
| ccChild | Output child chain code. |
| nChild | Index of the child key to derive. |
| cc | The parent chain code. |
| bip32_tweak_out | Optional output receiving the BIP32 tweak applied. |