aboutsummaryrefslogtreecommitdiff
path: root/src/utilstrencodings.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2018-07-19 17:37:19 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2018-08-13 08:46:23 -0700
commit3b01efa0d1bf3d23d1b7b7e518849f1fc26314f9 (patch)
tree4779af5b25e8d6dffbed87a8bdd8fbd27170aa54 /src/utilstrencodings.h
parent81e1dd5ce1a32114a38691ec6b55e72ab04dbbb1 (diff)
[MOVEONLY] Move ParseHDKeypath to utilstrencodings
Diffstat (limited to 'src/utilstrencodings.h')
-rw-r--r--src/utilstrencodings.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utilstrencodings.h b/src/utilstrencodings.h
index 5f2211b5dc..8f29f8f322 100644
--- a/src/utilstrencodings.h
+++ b/src/utilstrencodings.h
@@ -183,4 +183,7 @@ bool ConvertBits(const O& outfn, I it, I end) {
return true;
}
+/** Parse an HD keypaths like "m/7/0'/2000". */
+bool ParseHDKeypath(const std::string& keypath_str, std::vector<uint32_t>& keypath);
+
#endif // BITCOIN_UTILSTRENCODINGS_H