Skip to content

Commit

Permalink
Make independent suspenders private for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
evoskuil committed May 11, 2024
1 parent f898aef commit 07b0e2c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions include/bitcoin/network/p2p.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,12 +208,6 @@ class BCT_API p2p
virtual acceptor::ptr create_acceptor() NOEXCEPT;
virtual connector::ptr create_connector() NOEXCEPT;

/// Suspend/resume inbound/outbound connections.
virtual void suspend_acceptors() NOEXCEPT;
virtual void resume_acceptors() NOEXCEPT;
virtual void suspend_connectors() NOEXCEPT;
virtual void resume_connectors() NOEXCEPT;

/// Register nonces for loopback (true implies found), require strand.
virtual bool store_nonce(const channel& channel) NOEXCEPT;
virtual bool unstore_nonce(const channel& channel) NOEXCEPT;
Expand Down Expand Up @@ -242,6 +236,12 @@ class BCT_API p2p
virtual code start_hosts() NOEXCEPT;
virtual code stop_hosts() NOEXCEPT;

/// Suspend/resume inbound/outbound connections.
void suspend_acceptors() NOEXCEPT;
void resume_acceptors() NOEXCEPT;
void suspend_connectors() NOEXCEPT;
void resume_connectors() NOEXCEPT;

void handle_start(const code& ec, const result_handler& handler) NOEXCEPT;
void handle_run(const code& ec, const result_handler& handler) NOEXCEPT;

Expand Down

0 comments on commit 07b0e2c

Please sign in to comment.