diff --git a/console/executor_dumps.cpp b/console/executor_dumps.cpp index e2d16109..4d0db7fd 100644 --- a/console/executor_dumps.cpp +++ b/console/executor_dumps.cpp @@ -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() % @@ -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() % diff --git a/console/executor_events.cpp b/console/executor_events.cpp index 5f5c7146..dddf3013 100644 --- a/console/executor_events.cpp +++ b/console/executor_events.cpp @@ -59,6 +59,7 @@ const std::unordered_map 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............." } }; diff --git a/console/localize.hpp b/console/localize.hpp index 7b8f81e5..947dc199 100644 --- a/console/localize.hpp +++ b/console/localize.hpp @@ -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" \ @@ -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 \ diff --git a/src/parser.cpp b/src/parser.cpp index 7cf3a427..81d369c8 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -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; @@ -1329,11 +1332,6 @@ options_metadata parser::load_settings() THROWS value(&configured.node.allow_overlapped), "Allow overlapped block requests, defaults to 'true'." ) - ( - "node.allow_batch_race", - value(&configured.node.allow_batch_race), - "Allow downloads to when all window signatures are batched, defaults to 'true'." - ) ( "node.delay_inbound", value(&configured.node.delay_inbound), @@ -1372,13 +1370,18 @@ options_metadata parser::load_settings() THROWS ( "node.announcement_cache", value(&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(&configured.node.maximum_height), "Maximum block height to populate, defaults to 0 (unlimited)." ) + ( + "node.silent_start_height", + value(&configured.node.silent_start_height), + "Minimum height of silent payment indexation, defaults to '4294967295'." + ) ( "node.maximum_concurrency", value(&configured.node.maximum_concurrency), @@ -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(&configured.database.silent_size), + "The minimum allocation of the batch_silent table body, defaults to '1'." + ) + ( + "database.silent_rate", + value(&configured.database.schnorr_rate), + "The percentage expansion of the batch_schnorr table body, defaults to '5'." + ) + /* duplicate */ ( "database.duplicate_buckets",