diff options
author | Ryan Ofsky <ryan@ofsky.org> | 2023-12-06 16:43:49 -0500 |
---|---|---|
committer | Ryan Ofsky <ryan@ofsky.org> | 2024-05-16 10:16:08 -0500 |
commit | 680eafdc74021c1e0893c3a62404e607fd4724f5 (patch) | |
tree | d1fe7bb7ad81db88b38d5af9081a0e5561ed9a11 /src/net_permissions.cpp | |
parent | 02e62c6c9af4beabaeea58fb1ea3ad0dc5094678 (diff) | |
download | bitcoin-680eafdc74021c1e0893c3a62404e607fd4724f5.tar.xz |
util: move fees.h and error.h to common/messages.h
Move enum and message formatting functions to a common/messages header where
they should be more discoverable, and also out of the util library, so they
will not be a dependency of the kernel
The are no changes in behavior and no changes to the moved code.
Diffstat (limited to 'src/net_permissions.cpp')
-rw-r--r-- | src/net_permissions.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net_permissions.cpp b/src/net_permissions.cpp index b01b2f643d..8f0042c141 100644 --- a/src/net_permissions.cpp +++ b/src/net_permissions.cpp @@ -2,12 +2,14 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. +#include <common/messages.h> #include <common/system.h> #include <net_permissions.h> #include <netbase.h> -#include <util/error.h> #include <util/translation.h> +using common::ResolveErrMsg; + const std::vector<std::string> NET_PERMISSIONS_DOC{ "bloomfilter (allow requesting BIP37 filtered blocks and transactions)", "noban (do not ban for misbehavior; implies download)", |