Skip to content

Commit

Permalink
Override full_node::closed().
Browse files Browse the repository at this point in the history
  • Loading branch information
evoskuil committed Feb 22, 2024
1 parent 154f66e commit 5a76549
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
3 changes: 0 additions & 3 deletions include/bitcoin/node/full_node.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ class BCN_API full_node
/// Close the node.
void close() NOEXCEPT override;

/// The node is closed.
bool closed() const NOEXCEPT override;

/// Chasers.
/// -----------------------------------------------------------------------

Expand Down
6 changes: 1 addition & 5 deletions src/full_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ void full_node::close() NOEXCEPT
p2p::close();
}

// Base (p2p) invokes do_close().
void full_node::do_close() NOEXCEPT
{
BC_ASSERT_MSG(stranded(), "full_node");
Expand All @@ -127,11 +128,6 @@ void full_node::do_close() NOEXCEPT
p2p::do_close();
}

bool full_node::closed() const NOEXCEPT
{
return p2p::closed();
}

// Chasers.
// ----------------------------------------------------------------------------

Expand Down

0 comments on commit 5a76549

Please sign in to comment.