Skip to content

Commit d0ea49f

Browse files
committed
Delint, update send json size estimation.
1 parent 17d6f96 commit d0ea49f

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

src/protocols/electrum/protocol_electrum.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ using namespace system;
3333
using namespace network::rpc;
3434
using namespace std::placeholders;
3535

36+
BC_PUSH_WARNING(NO_THROW_IN_NOEXCEPT)
37+
3638
// Electrum could be factored into protocols by version, with version-dependent
3739
// protocol attachment and with protocol derivations (see p2p). Currently all
3840
// methods apart from version are in one protocol class.
@@ -310,5 +312,7 @@ void protocol_electrum::do_scriptpubkey(node::address_t) NOEXCEPT
310312
}, 128, BIND(handle_send, _1));
311313
}
312314

315+
BC_POP_WARNING()
316+
313317
} // namespace server
314318
} // namespace libbitcoin

src/protocols/electrum/protocol_electrum_outputs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ bool protocol_electrum::send_get_status(const std::string& tx_hash,
215215
result["spender_height"] = to_unsigned(spender.height());
216216
}
217217

218-
send_result(std::move(result), 16, BIND(complete, _1));
218+
send_result(std::move(result), 128, BIND(complete, _1));
219219
return true;
220220
}
221221

0 commit comments

Comments
 (0)