Skip to content

Commit

Permalink
Unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
pwojcikdev committed Mar 18, 2024
1 parent d285b34 commit 9fb347f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
7 changes: 0 additions & 7 deletions nano/node/transport/socket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -304,13 +304,6 @@ std::chrono::seconds nano::transport::socket::get_default_timeout_value () const
return default_timeout;
}

void nano::transport::socket::set_silent_connection_tolerance_time (std::chrono::seconds tolerance_time_a)
{
boost::asio::dispatch (strand, [this_l = shared_from_this (), tolerance_time_a] () {
this_l->silent_connection_tolerance_time = tolerance_time_a;
});
}

void nano::transport::socket::close ()
{
boost::asio::dispatch (strand, [this_l = shared_from_this ()] {
Expand Down
1 change: 0 additions & 1 deletion nano/node/transport/socket.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ class socket final : public std::enable_shared_from_this<nano::transport::socket
void set_default_timeout_value (std::chrono::seconds);
std::chrono::seconds get_default_timeout_value () const;
void set_timeout (std::chrono::seconds);
void set_silent_connection_tolerance_time (std::chrono::seconds tolerance_time_a);

bool max (nano::transport::traffic_type = nano::transport::traffic_type::generic) const;
bool full (nano::transport::traffic_type = nano::transport::traffic_type::generic) const;
Expand Down

0 comments on commit 9fb347f

Please sign in to comment.