Skip to content

Commit d4a34d5

Browse files
committed
Change default interval depth to 11.
1 parent 7fa8050 commit d4a34d5

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/parser.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ parser::parser(system::chain::selection context,
9494

9595
// SCALE: LF2.2 @ 850K.
9696

97+
// Only used for electrum queries (255 is optimal otherwise).
98+
configured.database.interval_depth = 11;
99+
97100
// database (archive)
98101

99102
configured.database.header_buckets = 386'364;
@@ -1391,7 +1394,7 @@ options_metadata parser::load_settings() THROWS
13911394
(
13921395
"database.interval_depth",
13931396
value<uint16_t>(&configured.database.interval_depth),
1394-
"The interval depth for merkle proof optimization, defaults to '255' (disabled)."
1397+
"The interval depth for merkle proof optimization, defaults to '11'."
13951398
)
13961399

13971400
/* header */

0 commit comments

Comments
 (0)