Modules§

Structs§

  • ClientConfig where some fields can be updated at runtime.
  • Configures how to dump state to external storage.
  • Configuration for garbage collection.
  • 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.
  • Config for changes applied to state dump.
  • Records in storage at genesis (get split into shards at genesis creation).
  • 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.
  • Configuration for resharding.
  • Options for dumping state to S3.
  • A subset of Config that can be updated white the node is running.

Enums§

Constants§

Functions§