aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_protocol/enums.h
diff options
context:
space:
mode:
authorLee Clagett <code@leeclagett.com>2019-11-13 14:12:32 +0000
committerLee Clagett <code@leeclagett.com>2020-03-26 15:01:30 +0000
commit02d887c2e58bd8e66ef8823e59669439d448bfec (patch)
tree0c5ff6825f6555f8930589fa118fe263d29a018b /src/cryptonote_protocol/enums.h
parentMerge pull request #6405 (diff)
downloadmonero-02d887c2e58bd8e66ef8823e59669439d448bfec.tar.xz
Adding Dandelion++ support to public networks:
- New flag in NOTIFY_NEW_TRANSACTION to indicate stem mode - Stem loops detected in tx_pool.cpp - Embargo timeout for a blackhole attack during stem phase
Diffstat (limited to 'src/cryptonote_protocol/enums.h')
-rw-r--r--src/cryptonote_protocol/enums.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/cryptonote_protocol/enums.h b/src/cryptonote_protocol/enums.h
index 2ec622d94..a3a52b83f 100644
--- a/src/cryptonote_protocol/enums.h
+++ b/src/cryptonote_protocol/enums.h
@@ -37,7 +37,8 @@ namespace cryptonote
{
none = 0, //!< Received via RPC with `do_not_relay` set
local, //!< Received via RPC; trying to send over i2p/tor, etc.
- block, //!< Received in block, takes precedence over others
- fluff //!< Received/sent over public networks
+ stem, //!< Received/send over network using Dandelion++ stem
+ fluff, //!< Received/sent over network using Dandelion++ fluff
+ block //!< Received in block, takes precedence over others
};
}