aboutsummaryrefslogtreecommitdiff
path: root/src/logging.h
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2020-11-27 13:59:26 +0100
committerVasil Dimov <vd@FreeBSD.org>2021-03-01 18:19:37 +0100
commitc22daa2ecff1acd25426cd46f98f2587d1d324c3 (patch)
treef8fca7ea86ea24f19ef0d498c4ed4ef15a43feba /src/logging.h
parent5bac7e45e1d3a07115b5ff002d988438fcc92a53 (diff)
downloadbitcoin-c22daa2ecff1acd25426cd46f98f2587d1d324c3.tar.xz
net: implement the necessary parts of the I2P SAM protocol
Implement the following commands from the I2P SAM protocol: * HELLO: needed for all of the remaining ones * DEST GENERATE: to generate our private key and destination * NAMING LOOKUP: to convert .i2p addresses to destinations * SESSION CREATE: needed for STREAM CONNECT and STREAM ACCEPT * STREAM CONNECT: to make outgoing connections * STREAM ACCEPT: to accept incoming connections
Diffstat (limited to 'src/logging.h')
-rw-r--r--src/logging.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/logging.h b/src/logging.h
index 4ece8f5e3a..436f0cd12e 100644
--- a/src/logging.h
+++ b/src/logging.h
@@ -57,6 +57,7 @@ namespace BCLog {
QT = (1 << 19),
LEVELDB = (1 << 20),
VALIDATION = (1 << 21),
+ I2P = (1 << 22),
ALL = ~(uint32_t)0,
};