Type Definition pallet_circuit::pallet::LocalXtxStates

source ·
pub type LocalXtxStates<T> = StorageMap<_GeneratedPrefixForStorageLocalXtxStates<T>, Identity, XExecSignalId<T>, LocalState, OptionQuery>;
Expand description

LocalXtxStates stores the map of LocalState - additional state to be used to communicate between SFX that belong to the same Xtx

  • @Circuit::Requested: create LocalXtxStates array without confirmations or bids
  • @Circuit::PendingExecution: entries to LocalState can be updated. If no bids have been received @Circuit::PendingBidding, LocalXtxStates entries are removed since Xtx won’t be executed

Storage type is [StorageMap] with key type XExecSignalId < T > and value type LocalState.