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
27 changes: 13 additions & 14 deletions src/parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -1638,21 +1637,21 @@ options_metadata parser::load_settings() THROWS
)
(
"database.silent_rate",
value<uint16_t>(&configured.database.schnorr_rate),
"The percentage expansion of the batch_schnorr table body, defaults to '5'."
value<uint16_t>(&configured.database.silent_rate),
"The percentage expansion of the batch_silent table body, defaults to '5'."
)

/////* prevalid */
////(
//// "database.prevalid_size",
//// value<uint64_t>(&configured.database.prevalid_size),
//// "The minimum allocation of the batch_prevalid table body, defaults to '1'."
////)
////(
//// "database.prevalid_rate",
//// value<uint16_t>(&configured.database.prevalid_rate),
//// "The percentage expansion of the batch_prevalid table, defaults to '5'."
////)
/* prevalid */
(
"database.prevalid_size",
value<uint64_t>(&configured.database.prevalid_size),
"The minimum allocation of the batch_prevalid table body, defaults to '1'."
)
(
"database.prevalid_rate",
value<uint16_t>(&configured.database.prevalid_rate),
"The percentage expansion of the batch_prevalid table, defaults to '5'."
)

/* prevout */
(
Expand Down
2 changes: 1 addition & 1 deletion src/parsers/native_query.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
Loading