diff --git a/src/protocols/protocol_block_out_106.cpp b/src/protocols/protocol_block_out_106.cpp index 83d35c61..eec8fb5b 100644 --- a/src/protocols/protocol_block_out_106.cpp +++ b/src/protocols/protocol_block_out_106.cpp @@ -130,7 +130,7 @@ bool protocol_block_out_106::handle_receive_get_blocks(const code& ec, if (stopped(ec)) return false; - LOGP("Get headers above " << encode_hash(message->start_hash()) + LOGP("Get blocks above " << encode_hash(message->start_hash()) << " from [" << opposite() << "]."); SEND(create_inventory(*message), handle_send, _1); diff --git a/src/settings.cpp b/src/settings.cpp index 81f20dd5..12a8c5bc 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -46,7 +46,7 @@ settings::settings() NOEXCEPT maximum_height{ 0 }, maximum_concurrency{ 50'000 }, sample_period_seconds{ 10 }, - currency_window_minutes{ 60 }, + currency_window_minutes{ 1440 }, threads{ 1 } { } diff --git a/test/settings.cpp b/test/settings.cpp index 5be2a520..519041e6 100644 --- a/test/settings.cpp +++ b/test/settings.cpp @@ -48,14 +48,14 @@ BOOST_AUTO_TEST_CASE(settings__node__default_context__expected) BOOST_REQUIRE_EQUAL(node.maximum_concurrency, 50000_u32); BOOST_REQUIRE_EQUAL(node.maximum_concurrency_(), 50000_size); BOOST_REQUIRE_EQUAL(node.sample_period_seconds, 10_u16); - BOOST_REQUIRE_EQUAL(node.currency_window_minutes, 60_u32); + BOOST_REQUIRE_EQUAL(node.currency_window_minutes, 1440_u32); BOOST_REQUIRE_EQUAL(node.threads, 1_u32); BOOST_REQUIRE_EQUAL(node.threads_(), one); BOOST_REQUIRE_EQUAL(node.maximum_height_(), max_size_t); BOOST_REQUIRE_EQUAL(node.maximum_concurrency_(), 50'000_size); BOOST_REQUIRE(node.sample_period() == steady_clock::duration(seconds(10))); - BOOST_REQUIRE(node.currency_window() == steady_clock::duration(minutes(60))); + BOOST_REQUIRE(node.currency_window() == steady_clock::duration(minutes(1440))); BOOST_REQUIRE(node.thread_priority_() == network::processing_priority::high); BOOST_REQUIRE(node.memory_priority_() == network::memory_priority::highest); }