You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: tests/trx_generator/main.cpp
+2-2
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ int main(int argc, char** argv) {
28
28
et::accounts_config accts_config;
29
29
et::trx_tps_tester_config tester_config;
30
30
31
-
constint64_t trx_expiration_max = 3600;
31
+
constint64_t trx_expiration_max = 3599;
32
32
constuint16_t generator_id_max = 960;
33
33
bpo::variables_map vmap;
34
34
bpo::options_description cli("Transaction Generator command line options.");
@@ -50,7 +50,7 @@ int main(int argc, char** argv) {
50
50
("contract-owner-account", bpo::value<std::string>(&contract_owner_account_in), "Account name of the contract account for the transaction actions")
51
51
("accounts", bpo::value<std::string>(&accts), "comma-separated list of accounts that will be used for transfers. Minimum required accounts: 2.")
52
52
("priv-keys", bpo::value<std::string>(&p_keys), "comma-separated list of private keys in same order of accounts list that will be used to sign transactions. Minimum required: 2.")
53
-
("trx-expiration", bpo::value<int64_t>(&trx_expr)->default_value(3600), "transaction expiration time in seconds. Defaults to 3,600. Maximum allowed: 3,600")
53
+
("trx-expiration", bpo::value<int64_t>(&trx_expr)->default_value(1800), "transaction expiration time in seconds. Defaults to 1,800. Maximum allowed: 3,599")
54
54
("trx-gen-duration", bpo::value<uint32_t>(&tester_config._gen_duration_seconds)->default_value(60), "Transaction generation duration (seconds). Defaults to 60 seconds.")
55
55
("target-tps", bpo::value<uint32_t>(&tester_config._target_tps)->default_value(1), "Target transactions per second to generate/send. Defaults to 1 transaction per second.")
56
56
("last-irreversible-block-id", bpo::value<std::string>(&lib_id_str), "Current last-irreversible-block-id (LIB ID) to use for transactions.")
0 commit comments