Skip to content

Commit e421ed5

Browse files
committed
Comments.
1 parent 4991420 commit e421ed5

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

src/protocols/electrum/protocol_electrum.cpp

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,25 +45,31 @@ void protocol_electrum::start() NOEXCEPT
4545
// Events subscription is asynchronous, events may be missed.
4646
subscribe_events(BIND(handle_event, _1, _2, _3));
4747

48-
// Blockchain methods.
48+
// Header methods.
4949
SUBSCRIBE_RPC(handle_blockchain_block_header, _1, _2, _3, _4);
5050
SUBSCRIBE_RPC(handle_blockchain_block_headers, _1, _2, _3, _4, _5);
5151
SUBSCRIBE_RPC(handle_blockchain_headers_subscribe, _1, _2);
52+
53+
// Fee methods.
5254
SUBSCRIBE_RPC(handle_blockchain_estimate_fee, _1, _2, _3, _4);
5355
SUBSCRIBE_RPC(handle_blockchain_relay_fee, _1, _2);
56+
57+
// Address methods.
5458
SUBSCRIBE_RPC(handle_blockchain_scripthash_get_balance, _1, _2, _3);
5559
SUBSCRIBE_RPC(handle_blockchain_scripthash_get_history, _1, _2, _3);
5660
SUBSCRIBE_RPC(handle_blockchain_scripthash_get_mempool, _1, _2, _3);
5761
SUBSCRIBE_RPC(handle_blockchain_scripthash_list_unspent, _1, _2, _3);
5862
SUBSCRIBE_RPC(handle_blockchain_scripthash_subscribe, _1, _2, _3);
5963
SUBSCRIBE_RPC(handle_blockchain_scripthash_unsubscribe, _1, _2, _3);
64+
65+
// Transaction methods.
6066
SUBSCRIBE_RPC(handle_blockchain_transaction_broadcast, _1, _2, _3);
6167
SUBSCRIBE_RPC(handle_blockchain_transaction_broadcast_package, _1, _2, _3, _4);
6268
SUBSCRIBE_RPC(handle_blockchain_transaction_get, _1, _2, _3, _4);
6369
SUBSCRIBE_RPC(handle_blockchain_transaction_get_merkle, _1, _2, _3, _4);
6470
SUBSCRIBE_RPC(handle_blockchain_transaction_id_from_pos, _1, _2, _3, _4, _5);
6571

66-
// Server methods
72+
// Server methods.
6773
SUBSCRIBE_RPC(handle_server_add_peer, _1, _2, _3);
6874
SUBSCRIBE_RPC(handle_server_banner, _1, _2);
6975
SUBSCRIBE_RPC(handle_server_donation_address, _1, _2);

0 commit comments

Comments
 (0)