aboutsummaryrefslogtreecommitdiff
path: root/src/addrman.h
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2019-12-29 18:54:33 +0100
committerJon Atack <jon@atack.com>2020-03-04 14:24:19 +0100
commit819fb5549b0d02477f47b3c40338071f37b6d885 (patch)
tree2e3869a5ef7d224a551f91f84645efbf187e0c62 /src/addrman.h
parentdcaf543ba0241f9219cea70b67c7b066d4c9ca9b (diff)
downloadbitcoin-819fb5549b0d02477f47b3c40338071f37b6d885.tar.xz
logging: asmap logging and #include fixups
- move asmap #includes to sorted positions in addrman and init (move-only) - remove redundant quotes in asmap InitError, update test - remove full stops from asmap logging to be consistent with debug logging, update tests
Diffstat (limited to 'src/addrman.h')
-rw-r--r--src/addrman.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/addrman.h b/src/addrman.h
index 5901611bee..8e82020df0 100644
--- a/src/addrman.h
+++ b/src/addrman.h
@@ -6,23 +6,22 @@
#ifndef BITCOIN_ADDRMAN_H
#define BITCOIN_ADDRMAN_H
+#include <clientversion.h>
#include <netaddress.h>
#include <protocol.h>
#include <random.h>
#include <sync.h>
#include <timedata.h>
#include <util/system.h>
-#include <clientversion.h>
+#include <fs.h>
+#include <hash.h>
+#include <iostream>
#include <map>
#include <set>
#include <stdint.h>
-#include <vector>
-#include <iostream>
#include <streams.h>
-#include <fs.h>
-#include <hash.h>
-
+#include <vector>
/**
* Extended statistics about a CAddress