[][src]Module beacon_chain::test_utils

Structs

BeaconChainHarness

A testing harness which can instantiate a BeaconChain and populate it with blocks and attestations.

PersistedBeaconChain

Enums

AttestationStrategy

Indicates how the BeaconChainHarness should produce attestations.

BlockStrategy

Indicates how the BeaconChainHarness should produce blocks.

Constants

BEACON_CHAIN_DB_KEY

32-byte key for accessing the PersistedBeaconChain.

HARNESS_GENESIS_TIME

Functions

generate_deterministic_keypairs

Generates validator_count keypairs where the secret key is derived solely from the index of the validator.

Type Definitions

HarnessType