aboutsummaryrefslogtreecommitdiff
path: root/src/util/bip32.cpp
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-06-09 16:26:55 +0100
committerfanquake <fanquake@gmail.com>2022-07-08 11:06:01 +0100
commit07f2c25d04c39a0074e1d9ee1b24b3e359c8153f (patch)
tree167946c643c37689ecaf75756038cc88c8c43fcf /src/util/bip32.cpp
parenta7f3479ba3fda4c9fb29bd7080165744c02ee921 (diff)
downloadbitcoin-07f2c25d04c39a0074e1d9ee1b24b3e359c8153f.tar.xz
refactor: add most of src/util to iwyu
These files change infrequently, and not much header shuffling is required. We don't add everything in src/util/ yet, because IWYU makes some dubious suggestions, which I'm going to follow up with upstream.
Diffstat (limited to 'src/util/bip32.cpp')
-rw-r--r--src/util/bip32.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/util/bip32.cpp b/src/util/bip32.cpp
index 4c7e948368..39e43eeb31 100644
--- a/src/util/bip32.cpp
+++ b/src/util/bip32.cpp
@@ -2,12 +2,15 @@
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
-#include <sstream>
-#include <stdio.h>
#include <tinyformat.h>
#include <util/bip32.h>
#include <util/strencodings.h>
+#include <algorithm>
+#include <cstdint>
+#include <cstdio>
+#include <sstream>
+
bool ParseHDKeypath(const std::string& keypath_str, std::vector<uint32_t>& keypath)
{