fedimint_client_module

Module db

Source

Functions§

migrate_state
Migrates a particular state by looping over all active and inactive states. If the migrate closure returns None, this state was not migrated and should be added to the new state machine vectors.

Type Aliases§

ClientMigrationFn
ClientMigrationFn is a function that modules can implement to “migrate” the database to the next database version.
MigrateStateFn 🔒
Helper function definition for migrating a single state.