aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_protocol/cryptonote_protocol_handler.h
diff options
context:
space:
mode:
authorAlexander Blair <snipa@jagtech.io>2021-01-03 18:23:57 -0800
committerAlexander Blair <snipa@jagtech.io>2021-01-03 18:23:57 -0800
commit7264d648564f94ff57dee2bb398dcd3c4d1511d1 (patch)
tree07fd9dab90af51ab858e532a612cec08b08d2cf2 /src/cryptonote_protocol/cryptonote_protocol_handler.h
parent03cdcd39096763a1599a377254d4caa44391a718 (diff)
parentb652d598d1ed3215150e970dae9673db96c3e39d (diff)
downloadmonzero-core-7264d648564f94ff57dee2bb398dcd3c4d1511d1.tar.gz
monzero-core-7264d648564f94ff57dee2bb398dcd3c4d1511d1.tar.xz
monzero-core-7264d648564f94ff57dee2bb398dcd3c4d1511d1.zip
Merge pull request #7263
b652d598d add a max levin packet size by command type (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_protocol/cryptonote_protocol_handler.h')
-rw-r--r--src/cryptonote_protocol/cryptonote_protocol_handler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptonote_protocol/cryptonote_protocol_handler.h b/src/cryptonote_protocol/cryptonote_protocol_handler.h
index 28530f3e7..5368df7b9 100644
--- a/src/cryptonote_protocol/cryptonote_protocol_handler.h
+++ b/src/cryptonote_protocol/cryptonote_protocol_handler.h
@@ -110,6 +110,7 @@ namespace cryptonote
std::list<connection_info> get_connections();
const block_queue &get_block_queue() const { return m_block_queue; }
void stop();
+ void on_connection_new(cryptonote_connection_context &context);
void on_connection_close(cryptonote_connection_context &context);
void set_max_out_peers(unsigned int max) { m_max_out_peers = max; }
bool no_sync() const { return m_no_sync; }