MCPcopy Create free account
hub / github.com/LUX-Core/lux / Serialize

Method Serialize

src/pubkey.h:241–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239 bool Derive(CExtPubKey& out, unsigned int nChild) const;
240
241 void Serialize(CSizeComputer& s) const
242 {
243 // Optimized implementation for ::GetSerializeSize that avoids copying.
244 s.seek(BIP32_EXTKEY_SIZE + 1); // add one byte for the size (compact int)
245 }
246 template <typename Stream>
247 void Serialize(Stream& s) const
248 {

Callers

nothing calls this directly

Calls 4

WriteCompactSizeFunction · 0.85
EncodeFunction · 0.85
seekMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected