Crate openmina_core

Source

Re-exports§

pub use network::NetworkConfig;
pub use log::ActionEvent;
pub use encrypted_key::*;

Modules§

block
chain_id 🔒
channels
consensus
constants
distributed_pool
dummy
encrypted_key
invariants
log
network
p2p
requests
snark
substate 🔒
thread
transaction
work_dir 🔒

Macros§

action_debug
action_error
action_event
action_info
action_trace
action_warn
bug_condition
debug
error
fuzz
fuzz_maybe
fuzzed
fuzzed_maybe
impl_substate_access
Helper macro for the trivial substate access pattern.
info
log_entry
trace
warn

Structs§

ChainId
FUZZER
FuzzerConf
FuzzerState
Substate
Substate context which provides mutable access to a substate of type S, and can be consumed to obtain a [redux::Dispatcher] and a parent state of type T.

Enums§

MutationStrategy

Constants§

DEVNET_CHAIN_ID
MAINNET_CHAIN_ID

Traits§

SubstateAccess
A trait for obtaining immutable and mutable references to a substate of type T.

Functions§

get_debug_dir
get_work_dir
preshared_key
pseudo_rng
set_work_dir

Type Aliases§

SubstateResult

Derive Macros§

ActionEvent
Derives [openmina_core::ActionEvent] trait implementation for action.
SerdeYojsonEnum
SerdeYojsonEnum Derive Macro