aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_protocol/levin_notify.h
diff options
context:
space:
mode:
authoranon <anon [at] nowhere>2021-09-20 20:58:23 +0000
committeranon <anon [at] nowhere>2021-09-20 20:58:23 +0000
commit9154883f3ef76c54552adcb0fddffe135d206cf6 (patch)
treed39a8ccfdeecd6b60b798f412f1255df4b8b3aa2 /src/cryptonote_protocol/levin_notify.h
parentnode_server: add race condition demo (diff)
downloadmonero-9154883f3ef76c54552adcb0fddffe135d206cf6.tar.xz
node_server: fix race condition
Diffstat (limited to '')
-rw-r--r--src/cryptonote_protocol/levin_notify.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cryptonote_protocol/levin_notify.h b/src/cryptonote_protocol/levin_notify.h
index abbf9d461..12704746a 100644
--- a/src/cryptonote_protocol/levin_notify.h
+++ b/src/cryptonote_protocol/levin_notify.h
@@ -101,6 +101,9 @@ namespace levin
//! Probe for new outbound connection - skips if not needed.
void new_out_connection();
+ void on_handshake_complete(const boost::uuids::uuid &id, bool is_income);
+ void on_connection_close(const boost::uuids::uuid &id);
+
//! Run the logic for the next epoch immediately. Only use in testing.
void run_epoch();