Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #5227 from EOSIO/read-only-doc
Browse files Browse the repository at this point in the history
Add missing read-only command line doc
  • Loading branch information
heifner authored Aug 14, 2018
2 parents 8b40491 + 3c0a4fd commit bfed3b8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions plugins/chain_plugin/chain_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,11 @@ void chain_plugin::set_program_options(options_description& cli, options_descrip
("key-blacklist", boost::program_options::value<vector<string>>()->composing()->multitoken(),
"Public key added to blacklist of keys that should not be included in authorities (may specify multiple times)")
("read-mode", boost::program_options::value<eosio::chain::db_read_mode>()->default_value(eosio::chain::db_read_mode::SPECULATIVE),
"Database read mode (\"speculative\" or \"head\").\n"// or \"irreversible\").\n"
"Database read mode (\"speculative\", \"head\", or \"read-only\").\n"// or \"irreversible\").\n"
"In \"speculative\" mode database contains changes done up to the head block plus changes made by transactions not yet included to the blockchain.\n"
"In \"head\" mode database contains changes done up to the current head block.\n")
"In \"head\" mode database contains changes done up to the current head block.\n"
"In \"read-only\" mode database contains incoming block changes but no speculative transaction processing.\n"
)
//"In \"irreversible\" mode database contains changes done up the current irreversible block.\n")
("validation-mode", boost::program_options::value<eosio::chain::validation_mode>()->default_value(eosio::chain::validation_mode::FULL),
"Chain validation mode (\"full\" or \"light\").\n"
Expand Down

0 comments on commit bfed3b8

Please sign in to comment.