Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions console/executor_dumps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ void executor::dump_body_sizes() const
query_.confirmed_body_size() %
query_.ecdsa_body_size() %
query_.schnorr_body_size() %
query_.silent_body_size() %
query_.duplicate_body_size() %
query_.prevout_body_size() %
query_.strong_tx_body_size() %
Expand All @@ -125,6 +126,7 @@ void executor::dump_records() const
query_.confirmed_records() %
query_.ecdsa_records() %
query_.schnorr_records() %
query_.silent_records() %
query_.duplicate_records() %
query_.strong_tx_records() %
query_.filter_bk_records() %
Expand Down
1 change: 1 addition & 0 deletions console/executor_events.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ const std::unordered_map<uint8_t, std::string> executor::fired_
{ events::filterchecks_msecs, "filterchecks_msecs.." },
{ events::ecdsa_secs, "ecdsa_secs.........." },
{ events::schnorr_secs, "schnorr_secs........" },
{ events::silent_secs, "silent_secs........." },

{ events::unknown, "unknown............." }
};
Expand Down
26 changes: 14 additions & 12 deletions console/localize.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,15 @@
" confirmed :%10%\n" \
" ecdsa :%11%\n" \
" schnorr :%12%\n" \
" duplicate :%13%\n" \
" prevout :%14%\n" \
" strong_tx :%15%\n" \
" valid_bk :%16%\n" \
" valid_tx :%17%\n" \
" filter_bk :%18%\n" \
" filter_tx :%19%\n" \
" address :%20%"
" silent :%13%\n" \
" duplicate :%14%\n" \
" prevout :%15%\n" \
" strong_tx :%16%\n" \
" valid_bk :%17%\n" \
" valid_tx :%18%\n" \
" filter_bk :%19%\n" \
" filter_tx :%20%\n" \
" address :%21%"
#define BS_INFORMATION_RECORDS \
"Table records...\n" \
" header :%1%\n" \
Expand All @@ -106,10 +107,11 @@
" confirmed :%7%\n" \
" ecdsa :%8%\n" \
" schnorr :%9%\n" \
" duplicate :%10%\n" \
" strong_tx :%11%\n" \
" filter_bk :%12%\n" \
" address :%13%"
" silent :%10%\n" \
" duplicate :%11%\n" \
" strong_tx :%12%\n" \
" filter_bk :%13%\n" \
" address :%14%"
#define BS_INFORMATION_SLABS \
"Table slabs..."
#define BS_INFORMATION_SLABS_ROW \
Expand Down
27 changes: 21 additions & 6 deletions src/parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ parser::parser(system::chain::selection context,
configured.database.schnorr_size = 1;
configured.database.schnorr_rate = 5;

configured.database.silent_size = 1;
configured.database.silent_rate = 5;

configured.database.duplicate_buckets = 1024;
configured.database.duplicate_size = 44;
configured.database.duplicate_rate = 5;
Expand Down Expand Up @@ -1329,11 +1332,6 @@ options_metadata parser::load_settings() THROWS
value<bool>(&configured.node.allow_overlapped),
"Allow overlapped block requests, defaults to 'true'."
)
(
"node.allow_batch_race",
value<bool>(&configured.node.allow_batch_race),
"Allow downloads to when all window signatures are batched, defaults to 'true'."
)
(
"node.delay_inbound",
value<bool>(&configured.node.delay_inbound),
Expand Down Expand Up @@ -1372,13 +1370,18 @@ options_metadata parser::load_settings() THROWS
(
"node.announcement_cache",
value<uint16_t>(&configured.node.announcement_cache),
"Limit of per channel cached peer block and tx announcements, to avoid replaying, defaults to '42'."
"Limit of per channel cached peer block and tx announcements, to avoid replay, defaults to '42'."
)
(
"node.maximum_height",
value<uint32_t>(&configured.node.maximum_height),
"Maximum block height to populate, defaults to 0 (unlimited)."
)
(
"node.silent_start_height",
value<uint32_t>(&configured.node.silent_start_height),
"Minimum height of silent payment indexation, defaults to '4294967295'."
)
(
"node.maximum_concurrency",
value<uint32_t>(&configured.node.maximum_concurrency),
Expand Down Expand Up @@ -1623,6 +1626,18 @@ options_metadata parser::load_settings() THROWS
"The percentage expansion of the batch_schnorr table body, defaults to '5'."
)

/* silent */
(
"database.silent_size",
value<uint64_t>(&configured.database.silent_size),
"The minimum allocation of the batch_silent table body, defaults to '1'."
)
(
"database.silent_rate",
value<uint16_t>(&configured.database.schnorr_rate),
"The percentage expansion of the batch_schnorr table body, defaults to '5'."
)

/* duplicate */
(
"database.duplicate_buckets",
Expand Down
Loading