Skip to content

Commit 494f83c

Browse files
committed
Change block_latency_seconds default to 60.
1 parent acf21ed commit 494f83c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

data/bn.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ bip65 = true
150150
bip90 = true
151151

152152
[node]
153-
# The time to wait for a requested block, defaults to 5.
154-
block_latency_seconds = 5
153+
# The time to wait for a requested block, defaults to 60.
154+
block_latency_seconds = 60
155155
# The minimum fee per byte required for transaction acceptance, defaults to 1.
156156
minimum_byte_fee_satoshis = 1
157157
# Request that peers relay transactions, defaults to false.

src/parser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ options_metadata parser::load_settings()
408408
(
409409
"node.block_latency_seconds",
410410
value<uint32_t>(&configured.node.block_latency_seconds),
411-
"The time to wait for a requested block, defaults to 5."
411+
"The time to wait for a requested block, defaults to 60."
412412
)
413413
(
414414
/* Internally this is blockchain, but it is conceptually a node setting. */

src/settings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ using namespace bc::asio;
2828
settings::settings()
2929
: sync_peers(0),
3030
sync_timeout_seconds(5),
31-
block_latency_seconds(5),
31+
block_latency_seconds(60),
3232
refresh_transactions(true)
3333
{
3434
}

0 commit comments

Comments
 (0)