[#DeserializeHDKeypaths]
= DeserializeHDKeypaths
:mrdocs:

Deserialize an HD keypath and insert it into a map keyed by public key&period;

== Synopsis

Declared in `&lt;psbt&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename Stream&gt;
void
DeserializeHDKeypaths(
    Stream& s,
    std::vector&lt;unsigned char&gt; const& key,
    std::map&lt;CPubKey, KeyOriginInfo&gt;& hd&lowbar;keypaths);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| The input stream&period;
| *key*
| The serialized key bytes carrying the public key&period;
| *hd&lowbar;keypaths*
| The map to insert the decoded keypath into&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
