Skip to content

Commit 296df01

Browse files
committed
Change private handler name for consistency with server.
1 parent 0b1916d commit 296df01

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

include/bitcoin/node/protocols/protocol_transaction_out.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ class BCN_API protocol_transaction_out
6060

6161
void handle_stop(const code& ec);
6262
void handle_send_next(const code& ec, inventory_ptr inventory);
63-
bool handle_notification(const code& ec, transaction_const_ptr message);
63+
bool handle_transaction_pool(const code& ec,
64+
transaction_const_ptr message);
6465

6566
blockchain::safe_chain& chain_;
6667
std::atomic<uint64_t> minimum_peer_fee_;

src/protocols/protocol_transaction_out.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ void protocol_transaction_out::start()
6666
if (relay_to_peer_)
6767
{
6868
// Subscribe to transaction pool notifications and relay txs.
69-
chain_.subscribe_transaction(BIND2(handle_notification, _1, _2));
69+
chain_.subscribe_transaction(BIND2(handle_transaction_pool, _1, _2));
7070
}
7171

7272
// TODO: move fee filter to a derived class protocol_transaction_out_70013.
@@ -226,7 +226,7 @@ void protocol_transaction_out::handle_send_next(const code& ec,
226226
// Subscription.
227227
//-----------------------------------------------------------------------------
228228

229-
bool protocol_transaction_out::handle_notification(const code& ec,
229+
bool protocol_transaction_out::handle_transaction_pool(const code& ec,
230230
transaction_const_ptr message)
231231
{
232232
if (stopped(ec))

0 commit comments

Comments
 (0)