Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1328,7 +1328,7 @@ options_metadata parser::load_settings() THROWS
(
"node.currency_window_minutes",
value<uint32_t>(&configured.node.currency_window_minutes),
"Time from present that blocks are considered current, defaults to '60' (0 disables)."
"Time from present that blocks are considered current, defaults to '1440' (0 disables)."
)
// #######################
////(
Expand Down
1 change: 1 addition & 0 deletions src/protocols/protocol_electrum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ void protocol_electrum::handle_blockchain_transaction_get(const code& ec,
const auto size = tx->serialized_size(true);
if (verbose)
{
// TODO: inject contextual tx properties.
// Verbose means whatever bitcoind returns for getrawtransaction, lolz.
send_result(value_from(bitcoind(*tx)), two * size, BIND(complete, _1));
}
Expand Down
1 change: 1 addition & 0 deletions test/protocols/electrum/electrum_transactions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ BOOST_AUTO_TEST_CASE(electrum__blockchain_transaction_get__genesis_coinbase_verb
BOOST_CHECK_EQUAL(response.at("result").as_string(), encode_base16(coinbase.to_data(true)));
}

// TODO: the expectation doesn't acocunt for contextual tx properties.
BOOST_AUTO_TEST_CASE(electrum__blockchain_transaction_get__genesis_coinbase_verbose_true__expected)
{
BOOST_CHECK(handshake());
Expand Down
Loading