Skip to content

Commit

Permalink
Merge pull request #1350 from AntelopeIO/GH-1302-docs-4.0
Browse files Browse the repository at this point in the history
[4.0] Docs: Additional nodeos --help info
  • Loading branch information
heifner authored Jun 29, 2023
2 parents ef910f7 + 1d0aef6 commit 58deb5b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
12 changes: 8 additions & 4 deletions docs/01_nodeos/03_plugins/chain_plugin/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,13 +192,17 @@ Config Options for eosio::chain_plugin:
feature. Setting above 0 enables this
feature.
--transaction-retry-interval-sec arg (=20)
How often, in seconds, to resend an
incoming transaction to network if not
How often, in seconds, to resend an
incoming transaction to network if not
seen in a block.
Needs to be at least twice as large as
p2p-dedup-cache-expire-time-sec.
--transaction-retry-max-expiration-sec arg (=120)
Maximum allowed transaction expiration
for retry transactions, will retry
Maximum allowed transaction expiration
for retry transactions, will retry
transactions up to this value.
Should be larger than
transaction-retry-interval-sec.
--transaction-finality-status-max-storage-size-gb arg
Maximum size (in GiB) allowed to be
allocated for the Transaction Finality
Expand Down
6 changes: 4 additions & 2 deletions plugins/chain_plugin/chain_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -335,9 +335,11 @@ void chain_plugin::set_program_options(options_description& cli, options_descrip
("transaction-retry-max-storage-size-gb", bpo::value<uint64_t>(),
"Maximum size (in GiB) allowed to be allocated for the Transaction Retry feature. Setting above 0 enables this feature.")
("transaction-retry-interval-sec", bpo::value<uint32_t>()->default_value(20),
"How often, in seconds, to resend an incoming transaction to network if not seen in a block.")
"How often, in seconds, to resend an incoming transaction to network if not seen in a block.\n"
"Needs to be at least twice as large as p2p-dedup-cache-expire-time-sec.")
("transaction-retry-max-expiration-sec", bpo::value<uint32_t>()->default_value(120),
"Maximum allowed transaction expiration for retry transactions, will retry transactions up to this value.")
"Maximum allowed transaction expiration for retry transactions, will retry transactions up to this value.\n"
"Should be larger than transaction-retry-interval-sec.")
("transaction-finality-status-max-storage-size-gb", bpo::value<uint64_t>(),
"Maximum size (in GiB) allowed to be allocated for the Transaction Finality Status feature. Setting above 0 enables this feature.")
("transaction-finality-status-success-duration-sec", bpo::value<uint64_t>()->default_value(config::default_max_transaction_finality_status_success_duration_sec),
Expand Down

0 comments on commit 58deb5b

Please sign in to comment.