Module persistence

Module persistence 

Source
Expand description

Sequencer node persistence.

This module implements the persistence required for a sequencer node to rejoin the network and resume participating in consensus, in the event that its process crashes or is killed and loses all in-memory state.

This is distinct from the query service persistent storage found in the api module, which is an extension that node operators can opt into. This module defines the minimum level of persistence which is required to run a node.

Modulesยง

fs
no_storage
Mock implementation of persistence, for testing.
persistence_metrics ๐Ÿ”’
sql

Structsยง

RegisteredValidatorNoX25519 ๐Ÿ”’
RegisteredValidator without x25519_key/p2p_addr fields. Used for migrating data written before x25519 support was added.

Traitsยง

ChainConfigPersistence

Functionsยง

migrate_network_config ๐Ÿ”’
Update a NetworkConfig that may have originally been persisted with an old version.