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

test control plugin

Description

The test_control_plugin is designed to cause a graceful shutdown when reaching a particular block in a sequence of blocks produced by a specific block producer. It can be invoked to either shutdown on the head block or the last irreversible block.

This is intended for testing, to determine exactly when a nodeos instance will shutdown.

Usage

# config.ini
plugin = eosio::test_control_plugin
# command-line
nodeos ... --plugin eosio::test_control_plugin

Options

None

Dependencies

Load Dependency Examples

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