Skip to content

Commit 0fb9250

Browse files
authored
reduce default block index size to 100k (#1454)
1 parent c4da54c commit 0fb9250

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/constants.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1963,6 +1963,6 @@ const BlockIndexMigrationFileName = "block_index_migration.txt"
19631963
// BtcecPubKeyBytesLenUncompressed is a constant that was removed from newer version of Btcec
19641964
const BtcecPubKeyBytesLenUncompressed = 65
19651965

1966-
const DefaultBlockIndexSize = MaxBlockIndexNodes
1966+
const DefaultBlockIndexSize = 100000
19671967
const MaxBlockIndexSize = 10000000
19681968
const MinBlockIndexSize = 10000

0 commit comments

Comments
 (0)