Deserialize an HD keypath and insert it into a map keyed by public key.
Declared in <psbt.h>
template<typename Stream>
void
DeserializeHDKeypaths(
Stream& s,
std::vector<unsigned char> const& key,
std::map<CPubKey, KeyOriginInfo>& hd_keypaths);
| Name | Description |
|---|---|
| s | The input stream. |
| key | The serialized key bytes carrying the public key. |
| hd_keypaths | The map to insert the decoded keypath into. |