@@ -72,7 +72,7 @@ parser::parser(system::chain::selection context) NOEXCEPT
7272
7373 // database (archive)
7474
75- configured.database .header_buckets = power2 ( 20u ) ;
75+ configured.database .header_buckets = 566'667 ;
7676 configured.database .header_size = 21'000'000 ;
7777 configured.database .header_rate = 5 ;
7878
@@ -82,7 +82,7 @@ parser::parser(system::chain::selection context) NOEXCEPT
8282 configured.database .output_size = 25'300'000'000 ;
8383 configured.database .output_rate = 5 ;
8484
85- configured.database .point_buckets = power2 ( 31u ) ;
85+ configured.database .point_buckets = 1'751'471'741 ;
8686 configured.database .point_size = 25'700'000'000 ;
8787 configured.database .point_rate = 5 ;
8888
@@ -92,11 +92,11 @@ parser::parser(system::chain::selection context) NOEXCEPT
9292 configured.database .outs_size = 3'700'000'000 ;
9393 configured.database .outs_rate = 5 ;
9494
95- configured.database .tx_buckets = power2 ( 30u ) ;
95+ configured.database .tx_buckets = 688'193'037 ;
9696 configured.database .tx_size = 17'000'000'000 ;
9797 configured.database .tx_rate = 5 ;
9898
99- configured.database .txs_buckets = power2 ( 20u ) ;
99+ configured.database .txs_buckets = 566'667 ;
100100 configured.database .txs_size = 1'050'000'000 ;
101101 configured.database .txs_rate = 5 ;
102102
@@ -108,7 +108,7 @@ parser::parser(system::chain::selection context) NOEXCEPT
108108 configured.database .confirmed_size = 2'575'500 ;
109109 configured.database .confirmed_rate = 5 ;
110110
111- configured.database .strong_tx_buckets = power2 ( 30u ) ;
111+ configured.database .strong_tx_buckets = 688'193'037 ;
112112 configured.database .strong_tx_size = 3'150'000'000 ;
113113 configured.database .strong_tx_rate = 5 ;
114114
@@ -118,21 +118,21 @@ parser::parser(system::chain::selection context) NOEXCEPT
118118 configured.database .prevout_size = 5'250'000'000 ;
119119 configured.database .prevout_rate = 5 ;
120120
121- configured.database .validated_tx_buckets = power2 ( 0u ) ;
121+ configured.database .validated_tx_buckets = 1 ;
122122 configured.database .validated_tx_size = 1 ;
123123 configured.database .validated_tx_rate = 5 ;
124124
125- configured.database .validated_bk_buckets = power2 ( 21u ) ;
125+ configured.database .validated_bk_buckets = 740'001 ;
126126 configured.database .validated_bk_size = 3'400'000 ;
127127 configured.database .validated_bk_rate = 5 ;
128128
129129 // database (optionals)
130130
131- configured.database .address_buckets = power2 ( 0u ) ;
131+ configured.database .address_buckets = 1 ;
132132 configured.database .address_size = 1 ;
133133 configured.database .address_rate = 5 ;
134134
135- configured.database .neutrino_buckets = power2 ( 0u ) ;
135+ configured.database .neutrino_buckets = 1 ;
136136 configured.database .neutrino_size = 1 ;
137137 configured.database .neutrino_rate = 5 ;
138138}
@@ -655,7 +655,7 @@ options_metadata parser::load_settings() THROWS
655655 (
656656 " database.header_buckets" ,
657657 value<uint32_t >(&configured.database .header_buckets ),
658- " The log2 number of buckets in the header table head, defaults to '2^20 '."
658+ " The log2 number of buckets in the header table head, defaults to '566667 '."
659659 )
660660 (
661661 " database.header_size" ,
@@ -696,7 +696,7 @@ options_metadata parser::load_settings() THROWS
696696 (
697697 " database.point_buckets" ,
698698 value<uint32_t >(&configured.database .point_buckets ),
699- " The log2 number of buckets in the spend table head, defaults to '2^31 '."
699+ " The log2 number of buckets in the spend table head, defaults to '1751471741 '."
700700 )
701701 (
702702 " database.point_size" ,
@@ -737,7 +737,7 @@ options_metadata parser::load_settings() THROWS
737737 (
738738 " database.tx_buckets" ,
739739 value<uint32_t >(&configured.database .tx_buckets ),
740- " The log2 number of buckets in the tx table head, defaults to '2^30 '."
740+ " The log2 number of buckets in the tx table head, defaults to '688193037 '."
741741 )
742742 (
743743 " database.tx_size" ,
@@ -754,7 +754,7 @@ options_metadata parser::load_settings() THROWS
754754 (
755755 " database.txs_buckets" ,
756756 value<uint32_t >(&configured.database .txs_buckets ),
757- " The log2 number of buckets in the txs table head, defaults to '2^20 '."
757+ " The log2 number of buckets in the txs table head, defaults to '566667 '."
758758 )
759759 (
760760 " database.txs_size" ,
@@ -795,7 +795,7 @@ options_metadata parser::load_settings() THROWS
795795 (
796796 " database.strong_tx_buckets" ,
797797 value<uint32_t >(&configured.database .strong_tx_buckets ),
798- " The log2 number of buckets in the strong_tx table head, defaults to '2^30 '."
798+ " The log2 number of buckets in the strong_tx table head, defaults to '688193037 '."
799799 )
800800 (
801801 " database.strong_tx_size" ,
@@ -846,7 +846,7 @@ options_metadata parser::load_settings() THROWS
846846 (
847847 " database.validated_bk_buckets" ,
848848 value<uint32_t >(&configured.database .validated_bk_buckets ),
849- " The log2 number of buckets in the validated_bk table head, defaults to '2^21 '."
849+ " The log2 number of buckets in the validated_bk table head, defaults to '740001 '."
850850 )
851851 (
852852 " database.validated_bk_size" ,
0 commit comments