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

Method EncodeWithVersion

src/pubkey.cpp:379–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377}
378
379void CExtPubKey::EncodeWithVersion(unsigned char code[BIP32_EXTKEY_WITH_VERSION_SIZE]) const
380{
381 memcpy(code, version, 4);
382 Encode(&code[4]);
383}
384
385void CExtPubKey::DecodeWithVersion(const unsigned char code[BIP32_EXTKEY_WITH_VERSION_SIZE])
386{

Callers 2

SerializeMethod · 0.80
decodepsbtFunction · 0.80

Calls 1

EncodeFunction · 0.70

Tested by

no test coverage detected