fedimint_client/sm/
mod.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod dbtx;
pub(crate) mod executor;
/// State machine state interface
mod state;
pub mod util;

// FIXME: use DB subscriptions? Needs prefix subscriptions :(
/// Helper to notify modules about state transitions
mod notifier;

pub use dbtx::ClientSMDatabaseTransaction;
pub use executor::{
    ActiveStateKeyBytes, ActiveStateKeyPrefix, ActiveStateMeta, Executor, ExecutorBuilder,
    InactiveStateKeyBytes, InactiveStateKeyPrefix, InactiveStateMeta,
};
pub use notifier::{ModuleNotifier, Notifier, NotifierSender};
pub use state::{Context, DynContext, DynState, IState, OperationState, State, StateTransition};