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 */ ( 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))