Skip to content

Commit 6bc14b4

Browse files
authored
Merge pull request #664 from evoskuil/master
Change currency_window_minutes default text to 1440.
2 parents 3a2c755 + b19e9ba commit 6bc14b4

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

src/parser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1328,7 +1328,7 @@ options_metadata parser::load_settings() THROWS
13281328
(
13291329
"node.currency_window_minutes",
13301330
value<uint32_t>(&configured.node.currency_window_minutes),
1331-
"Time from present that blocks are considered current, defaults to '60' (0 disables)."
1331+
"Time from present that blocks are considered current, defaults to '1440' (0 disables)."
13321332
)
13331333
// #######################
13341334
////(

src/protocols/protocol_electrum.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,7 @@ void protocol_electrum::handle_blockchain_transaction_get(const code& ec,
474474
const auto size = tx->serialized_size(true);
475475
if (verbose)
476476
{
477+
// TODO: inject contextual tx properties.
477478
// Verbose means whatever bitcoind returns for getrawtransaction, lolz.
478479
send_result(value_from(bitcoind(*tx)), two * size, BIND(complete, _1));
479480
}

test/protocols/electrum/electrum_transactions.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ BOOST_AUTO_TEST_CASE(electrum__blockchain_transaction_get__genesis_coinbase_verb
126126
BOOST_CHECK_EQUAL(response.at("result").as_string(), encode_base16(coinbase.to_data(true)));
127127
}
128128

129+
// TODO: the expectation doesn't acocunt for contextual tx properties.
129130
BOOST_AUTO_TEST_CASE(electrum__blockchain_transaction_get__genesis_coinbase_verbose_true__expected)
130131
{
131132
BOOST_CHECK(handshake());

0 commit comments

Comments
 (0)