From c55e014711390c7587d009af908b17d491cc6ded Mon Sep 17 00:00:00 2001 From: evoskuil Date: Fri, 10 Jul 2026 22:13:13 -0400 Subject: [PATCH 1/2] Comment typo. --- src/parsers/native_query.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parsers/native_query.cpp b/src/parsers/native_query.cpp index 15d71b7c..c6717987 100644 --- a/src/parsers/native_query.cpp +++ b/src/parsers/native_query.cpp @@ -112,7 +112,7 @@ bool native_query(rpc::request_t& out, const std::string& target, else if (!format.empty()) return false; - // Priotize: json, html, text, data (ignores accept priorities). + // Prioritize: json, html, text, data (ignores accept priorities). else if (contains(accepts, json)) set_media(params, json); else if (contains(accepts, html)) From 473f719938d7926176cc38b68607c5da1d7cfc84 Mon Sep 17 00:00:00 2001 From: evoskuil Date: Sun, 12 Jul 2026 00:27:22 -0400 Subject: [PATCH 2/2] Parse database.prevalid, fix silent_rate parse/text. --- src/parser.cpp | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/src/parser.cpp b/src/parser.cpp index d8f232ec..1216e7c2 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -151,7 +151,6 @@ parser::parser(system::chain::selection context, configured.database.silent_size = 1; configured.database.silent_rate = 5; - // No need for size or rate, expands all in one shot (config disabled). configured.database.prevalid_size = 1; configured.database.prevalid_rate = 0; @@ -1638,21 +1637,21 @@ options_metadata parser::load_settings() THROWS ) ( "database.silent_rate", - value(&configured.database.schnorr_rate), - "The percentage expansion of the batch_schnorr table body, defaults to '5'." + value(&configured.database.silent_rate), + "The percentage expansion of the batch_silent table body, defaults to '5'." ) - /////* prevalid */ - ////( - //// "database.prevalid_size", - //// value(&configured.database.prevalid_size), - //// "The minimum allocation of the batch_prevalid table body, defaults to '1'." - ////) - ////( - //// "database.prevalid_rate", - //// value(&configured.database.prevalid_rate), - //// "The percentage expansion of the batch_prevalid table, defaults to '5'." - ////) + /* prevalid */ + ( + "database.prevalid_size", + value(&configured.database.prevalid_size), + "The minimum allocation of the batch_prevalid table body, defaults to '1'." + ) + ( + "database.prevalid_rate", + value(&configured.database.prevalid_rate), + "The percentage expansion of the batch_prevalid table, defaults to '5'." + ) /* prevout */ (