Serialize a map of HD keypaths to a stream under the given key type.
Synopsis
Declared in <psbt.h>
template<typename Stream>
void
SerializeHDKeypaths(
Stream& s,
std::map<CPubKey, KeyOriginInfo> const& hd_keypaths,
CompactSizeWriter type);
Parameters
Name |
Description |
s |
The output stream. |
hd_keypaths |
The public‐key‐to‐keypath map to serialize. |
type |
The map key type byte to write for each entry. |
Created with MrDocs