跳至主要内容
此页面是从英文翻译而来的。请注意,与原始页面相比,可能会出现错误或差异。真实的文档来源应始终是英文版本。

txn test gen plugin

Description

The txn_test_gen_plugin is used for transaction test purposes.

[[info | For More Information]] For more information, check the txn_test_gen_plugin/README.md on the AntelopeIO/leap repository.

Usage

# config.ini
plugin = eosio::txn_test_gen_plugin
[options]
# command-line
nodeos ... --plugin eosio::txn_test_gen_plugin [options]

Options

These can be specified from both the nodeos command-line or the config.ini file:

Config Options for eosio::txn_test_gen_plugin:
--txn-reference-block-lag arg (=0) Lag in number of blocks from the head
block when selecting the reference
block for transactions (-1 means Last
Irreversible Block)
--txn-test-gen-threads arg (=2) Number of worker threads in
txn_test_gen thread pool
--txn-test-gen-account-prefix arg (=txn.test.)
Prefix to use for accounts generated
and used by this plugin

Dependencies

None