Fix tx flush callback queueing
continuous-integration/drone/pr Build is passing Details

pull/351/head
Lee Clagett 4 years ago committed by wowario
parent 1cc36a652b
commit 3208d97f9c
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -286,6 +286,7 @@ namespace levin
connection_count(0),
flush_callbacks(0),
nzone(zone),
is_public(is_public),
pad_txs(pad_txs),
fluffing(false)
{
@ -303,6 +304,7 @@ namespace levin
std::atomic<std::size_t> connection_count; //!< Only update in strand, can be read at any time
std::uint32_t flush_callbacks; //!< Number of active fluff flush callbacks queued
const epee::net_utils::zone nzone; //!< Zone is public ipv4/ipv6 connections, or i2p or tor
const bool is_public; //!< Zone is public ipv4/ipv6 connections
const bool pad_txs; //!< Pad txs to the next boundary for privacy
bool fluffing; //!< Zone is in Dandelion++ fluff epoch
};

Loading…
Cancel
Save