Menu

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]