Crate unc_chain_configs

Source

Modules§

genesis_validate

Structs§

ClientConfig
ClientConfig where some fields can be updated at runtime.
DumpConfig
Configures how to dump state to external storage.
ExternalStorageConfig
GCConfig
Configuration for garbage collection.
Genesis
Genesis has an invariant that total_supply is equal to the supply seen in the records. However, we can’t enforce that invariant. All fields are public, but the clients are expected to use the provided methods for instantiation, serialization and deserialization. Refer to test_loading_localnet_genesis to see an example of serialized Genesis JSON.
GenesisChangeConfig
Config for changes applied to state dump.
GenesisConfig
GenesisRecords
Records in storage at genesis (get split into shards at genesis creation).
MutableConfigValue
A wrapper for a config value that can be updated while the node is running. When initializing sub-objects (e.g. ShardsManager), please make sure to pass this wrapper instead of passing a value from a single moment in time. See expected_shutdown for an example how to use it.
ProtocolConfig
ProtocolConfigView
ReshardingConfig
Configuration for resharding.
ReshardingHandle
StateSyncConfig
Options for dumping state to S3.
UpdateableClientConfig
A subset of Config that can be updated white the node is running.

Enums§

ExternalStorageLocation
GenesisContents
GenesisValidationMode
LogSummaryStyle
SyncConfig
Configures how to fetch state parts during state sync.

Constants§

DEFAULT_GC_NUM_EPOCHS_TO_KEEP
Default number of epochs for which we keep store data
DEFAULT_STATE_SYNC_NUM_CONCURRENT_REQUESTS_EXTERNAL
Default number of concurrent requests to external storage to fetch state parts.
DEFAULT_STATE_SYNC_NUM_CONCURRENT_REQUESTS_ON_CATCHUP_EXTERNAL
MIN_GC_NUM_EPOCHS_TO_KEEP
Minimum number of epochs for which we keep store data
TEST_STATE_SYNC_TIMEOUT

Functions§

default_enable_multiline_logging
default_header_sync_expected_height_per_second
default_header_sync_initial_timeout
default_header_sync_progress_timeout
default_header_sync_stall_ban_timeout
default_log_summary_period
default_produce_chunk_add_transactions_time_limit
default_state_sync
default_state_sync_enabled
default_state_sync_timeout
default_sync_check_period
default_sync_height_threshold
default_sync_step_period
default_transaction_pool_size_limit
default_trie_viewer_state_size_limit
default_tx_routing_height_horizon
default_view_client_threads
default_view_client_throttle_period
get_initial_supply
stream_records_from_file
The file can be a JSON with comments