Fix tx flush callback queueing
This commit is contained in:
parent
1cc36a652b
commit
3208d97f9c
|
@ -286,6 +286,7 @@ namespace levin
|
||||||
connection_count(0),
|
connection_count(0),
|
||||||
flush_callbacks(0),
|
flush_callbacks(0),
|
||||||
nzone(zone),
|
nzone(zone),
|
||||||
|
is_public(is_public),
|
||||||
pad_txs(pad_txs),
|
pad_txs(pad_txs),
|
||||||
fluffing(false)
|
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::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
|
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 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
|
const bool pad_txs; //!< Pad txs to the next boundary for privacy
|
||||||
bool fluffing; //!< Zone is in Dandelion++ fluff epoch
|
bool fluffing; //!< Zone is in Dandelion++ fluff epoch
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue