Skip to content

Commit 341aa2f

Browse files
authored
Merge pull request #743 from evoskuil/master
Add missing info to console data dumps, update parser.
2 parents 3829514 + bc798c7 commit 341aa2f

File tree

3 files changed

+28
-22
lines changed

3 files changed

+28
-22
lines changed

console/executor_dumps.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ void executor::dump_body_sizes() const
9595
query_.point_body_size() %
9696
query_.input_body_size() %
9797
query_.output_body_size() %
98+
query_.ins_body_size() %
9899
query_.puts_body_size() %
99100
query_.candidate_body_size() %
100101
query_.confirmed_body_size() %
@@ -112,6 +113,8 @@ void executor::dump_records() const
112113
query_.header_records() %
113114
query_.tx_records() %
114115
query_.point_records() %
116+
query_.ins_records() %
117+
query_.puts_records() %
115118
query_.candidate_records() %
116119
query_.confirmed_records() %
117120
query_.prevout_records() %

console/localize.hpp

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -76,25 +76,28 @@ namespace node {
7676
" point :%4%\n" \
7777
" input :%5%\n" \
7878
" output :%6%\n" \
79-
" puts :%7%\n" \
80-
" candidate :%8%\n" \
81-
" confirmed :%9%\n" \
82-
" prevout :%10%\n" \
83-
" strong_tx :%11%\n" \
84-
" valid_tx :%12%\n" \
85-
" valid_bk :%13%\n" \
86-
" address :%14%\n" \
87-
" neutrino :%15%"
79+
" ins :%7%\n" \
80+
" puts :%8%\n" \
81+
" candidate :%9%\n" \
82+
" confirmed :%10%\n" \
83+
" prevout :%11%\n" \
84+
" strong_tx :%12%\n" \
85+
" valid_tx :%13%\n" \
86+
" valid_bk :%14%\n" \
87+
" address :%15%\n" \
88+
" neutrino :%16%"
8889
#define BN_MEASURE_RECORDS \
8990
"Table records...\n" \
9091
" header :%1%\n" \
9192
" tx :%2%\n" \
9293
" point :%3%\n" \
93-
" candidate :%4%\n" \
94-
" confirmed :%5%\n" \
95-
" prevout :%6%\n" \
96-
" strong_tx :%7%\n" \
97-
" address :%8%"
94+
" ins :%4%\n" \
95+
" puts :%5%\n" \
96+
" candidate :%6%\n" \
97+
" confirmed :%7%\n" \
98+
" prevout :%8%\n" \
99+
" strong_tx :%9%\n" \
100+
" address :%10%"
98101
#define BN_MEASURE_SLABS \
99102
"Table slabs..."
100103
#define BN_MEASURE_SLABS_ROW \

src/parser.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -76,24 +76,24 @@ parser::parser(system::chain::selection context) NOEXCEPT
7676
configured.database.header_size = 21'000'000;
7777
configured.database.header_rate = 5;
7878

79-
configured.database.input_size = 93'050'000'000;
79+
configured.database.input_size = 92'500'000'000;
8080
configured.database.input_rate = 5;
8181

8282
configured.database.output_size = 25'300'000'000;
8383
configured.database.output_rate = 5;
8484

8585
configured.database.point_bits = 31;
86-
configured.database.point_size = 21'100'000'000;
86+
configured.database.point_size = 25'700'000'000;
8787
configured.database.point_rate = 5;
8888

89-
configured.database.ins_size = 10'500'000'000;
89+
configured.database.ins_size = 8'550'000'000;
9090
configured.database.ins_rate = 5;
9191

9292
configured.database.puts_size = 3'700'000'000;
9393
configured.database.puts_rate = 5;
9494

9595
configured.database.tx_bits = 30;
96-
configured.database.tx_size = 17'050'000'000;
96+
configured.database.tx_size = 17'000'000'000;
9797
configured.database.tx_rate = 5;
9898

9999
configured.database.txs_bits = 20;
@@ -672,7 +672,7 @@ options_metadata parser::load_settings() THROWS
672672
(
673673
"database.input_size",
674674
value<uint64_t>(&configured.database.input_size),
675-
"The minimum allocation of the input table body, defaults to '93050000000'."
675+
"The minimum allocation of the input table body, defaults to '92500000000'."
676676
)
677677
(
678678
"database.input_rate",
@@ -701,7 +701,7 @@ options_metadata parser::load_settings() THROWS
701701
(
702702
"database.point_size",
703703
value<uint64_t>(&configured.database.point_size),
704-
"The minimum allocation of the point table body, defaults to '21100000000'."
704+
"The minimum allocation of the point table body, defaults to '25700000000'."
705705
)
706706
(
707707
"database.point_rate",
@@ -713,7 +713,7 @@ options_metadata parser::load_settings() THROWS
713713
(
714714
"database.ins_size",
715715
value<uint64_t>(&configured.database.ins_size),
716-
"The minimum allocation of the point table body, defaults to '10500000000'."
716+
"The minimum allocation of the point table body, defaults to '8550000000'."
717717
)
718718
(
719719
"database.ins_rate",
@@ -742,7 +742,7 @@ options_metadata parser::load_settings() THROWS
742742
(
743743
"database.tx_size",
744744
value<uint64_t>(&configured.database.tx_size),
745-
"The minimum allocation of the tx table body, defaults to '17050000000'."
745+
"The minimum allocation of the tx table body, defaults to '17000000000'."
746746
)
747747
(
748748
"database.tx_rate",

0 commit comments

Comments
 (0)