MCPcopy Create free account
hub / github.com/ElementsProject/elements / DecodeWithVersion

Method DecodeWithVersion

src/pubkey.cpp:385–389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

383}
384
385void CExtPubKey::DecodeWithVersion(const unsigned char code[BIP32_EXTKEY_WITH_VERSION_SIZE])
386{
387 memcpy(version, code, 4);
388 Decode(&code[4]);
389}
390
391bool CExtPubKey::Derive(CExtPubKey &out, unsigned int _nChild) const {
392 out.nDepth = nDepth + 1;

Callers 1

UnserializeMethod · 0.80

Calls 1

DecodeFunction · 0.70

Tested by

no test coverage detected