|
|
@ -6,12 +6,11 @@
|
|
|
|
#ifndef BITCOIN_ADDRDB_H
|
|
|
|
#ifndef BITCOIN_ADDRDB_H
|
|
|
|
#define BITCOIN_ADDRDB_H
|
|
|
|
#define BITCOIN_ADDRDB_H
|
|
|
|
|
|
|
|
|
|
|
|
#include <net_types.h> // For banmap_t
|
|
|
|
#include <net_types.h>
|
|
|
|
#include <univalue.h>
|
|
|
|
|
|
|
|
#include <util/fs.h>
|
|
|
|
#include <util/fs.h>
|
|
|
|
#include <util/result.h>
|
|
|
|
#include <util/result.h>
|
|
|
|
|
|
|
|
|
|
|
|
#include <optional>
|
|
|
|
#include <memory>
|
|
|
|
#include <vector>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
|
|
|
|
class ArgsManager;
|
|
|
|
class ArgsManager;
|
|
|
@ -19,7 +18,6 @@ class AddrMan;
|
|
|
|
class CAddress;
|
|
|
|
class CAddress;
|
|
|
|
class CDataStream;
|
|
|
|
class CDataStream;
|
|
|
|
class NetGroupManager;
|
|
|
|
class NetGroupManager;
|
|
|
|
struct bilingual_str;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool DumpPeerAddresses(const ArgsManager& args, const AddrMan& addr);
|
|
|
|
bool DumpPeerAddresses(const ArgsManager& args, const AddrMan& addr);
|
|
|
|
/** Only used by tests. */
|
|
|
|
/** Only used by tests. */
|
|
|
|