| 161 | void SetSeed(const unsigned char* seed, unsigned int nSeedLen); |
| 162 | template <typename Stream> |
| 163 | void Serialize(Stream& s) const |
| 164 | { |
| 165 | unsigned int len = BIP32_EXTKEY_SIZE; |
| 166 | ::WriteCompactSize(s, len); |
| 167 | unsigned char code[BIP32_EXTKEY_SIZE]; |
| 168 | Encode(code); |
| 169 | s.write((const char *)&code[0], len); |
| 170 | } |
| 171 | template <typename Stream> |
| 172 | void Unserialize(Stream& s) |
| 173 | { |
nothing calls this directly
no test coverage detected