From 3208d97f9c7c4bd1556c9df907a6bd1e80673b37 Mon Sep 17 00:00:00 2001 From: Lee Clagett Date: Sat, 31 Oct 2020 15:51:46 -0400 Subject: [PATCH] Fix tx flush callback queueing --- src/cryptonote_protocol/levin_notify.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cryptonote_protocol/levin_notify.cpp b/src/cryptonote_protocol/levin_notify.cpp index 69df22a92..2d04dffb6 100644 --- a/src/cryptonote_protocol/levin_notify.cpp +++ b/src/cryptonote_protocol/levin_notify.cpp @@ -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 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 };