mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-10 22:18:54 +01:00
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.
This commit is contained in:
@@ -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)",
|
||||
|
||||
Reference in New Issue
Block a user