Skip to content

Commit 5ae20fe

Browse files
committed
Whitespace.
1 parent 32b7587 commit 5ae20fe

3 files changed

Lines changed: 12 additions & 0 deletions

File tree

src/protocols/electrum/protocol_electrum.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ bool protocol_electrum::handle_event(const code&, node::chase event_,
194194
void protocol_electrum::do_height(node::header_t link) NOEXCEPT
195195
{
196196
BC_ASSERT(stranded());
197+
197198
const auto& query = archive();
198199
const auto height = query.get_height(link);
199200

@@ -213,6 +214,7 @@ void protocol_electrum::do_height(node::header_t link) NOEXCEPT
213214
void protocol_electrum::do_header(node::header_t link) NOEXCEPT
214215
{
215216
BC_ASSERT(stranded());
217+
216218
const auto& query = archive();
217219
const auto height = query.get_height(link);
218220
const auto header = query.get_wire_header(link);

src/protocols/electrum/protocol_electrum_outputs.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ void protocol_electrum::handle_blockchain_utxo_get_address(const code& ec,
4242
double index) NOEXCEPT
4343
{
4444
BC_ASSERT(stranded());
45+
4546
if (stopped(ec))
4647
return;
4748

@@ -91,6 +92,7 @@ void protocol_electrum::handle_blockchain_outpoint_get_status(const code& ec,
9192
double txout_idx, const std::string& spk_hint) NOEXCEPT
9293
{
9394
BC_ASSERT(stranded());
95+
9496
if (stopped(ec))
9597
return;
9698

@@ -119,6 +121,7 @@ void protocol_electrum::handle_blockchain_outpoint_subscribe(const code& ec,
119121
double txout_idx, const std::string& spk_hint) NOEXCEPT
120122
{
121123
BC_ASSERT(stranded());
124+
122125
if (stopped(ec))
123126
return;
124127

@@ -168,6 +171,7 @@ void protocol_electrum::complete_outpoint_subscribe(const code& ec,
168171
const point& prevout, const std::string& hint) NOEXCEPT
169172
{
170173
BC_ASSERT(stranded());
174+
171175
////monitor(false);
172176
if (stopped())
173177
return;
@@ -189,6 +193,7 @@ void protocol_electrum::handle_blockchain_outpoint_unsubscribe(const code& ec,
189193
double txout_idx) NOEXCEPT
190194
{
191195
BC_ASSERT(stranded());
196+
192197
if (stopped(ec))
193198
return;
194199

src/protocols/electrum/protocol_electrum_scripthash_subscribe.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ void protocol_electrum::handle_blockchain_scripthash_subscribe(const code& ec,
4040
const std::string& scripthash) NOEXCEPT
4141
{
4242
BC_ASSERT(stranded());
43+
4344
if (stopped(ec))
4445
return;
4546

@@ -64,6 +65,7 @@ void protocol_electrum::scripthash_subscribe(const hash_digest& hash,
6465
notify_t type) NOEXCEPT
6566
{
6667
BC_ASSERT(stranded());
68+
6769
if (!archive().address_enabled())
6870
{
6971
send_code(error::not_implemented);
@@ -106,6 +108,7 @@ void protocol_electrum::complete_scripthash_subscribe(const code& ec,
106108
hash_digest& status, const hash_digest& hash) NOEXCEPT
107109
{
108110
BC_ASSERT(stranded());
111+
109112
monitor(false);
110113
if (stopped())
111114
return;
@@ -131,6 +134,7 @@ void protocol_electrum::handle_blockchain_scripthash_unsubscribe(const code& ec,
131134
const std::string& scripthash) NOEXCEPT
132135
{
133136
BC_ASSERT(stranded());
137+
134138
if (stopped(ec))
135139
return;
136140

@@ -155,6 +159,7 @@ void protocol_electrum::scripthash_unsubscribe(
155159
const hash_digest& hash) NOEXCEPT
156160
{
157161
BC_ASSERT(stranded());
162+
158163
if (!archive().address_enabled())
159164
{
160165
send_code(error::not_implemented);

0 commit comments

Comments
 (0)