DeserializeHDKeypaths

Deserialize an HD keypath and insert it into a map keyed by public key.

Synopsis

Declared in <psbt.h>

template<typename Stream>
void
DeserializeHDKeypaths(
    Stream& s,
    std::vector<unsigned char> const& key,
    std::map<CPubKey, KeyOriginInfo>& hd_keypaths);

Parameters

NameDescription
sThe input stream.
keyThe serialized key bytes carrying the public key.
hd_keypathsThe map to insert the decoded keypath into.