Crate stratus

Source

Modules§

alias
Type aliases for external crates types that conflict with our own types or are too verbose.
config
Application configuration.
eth
ext
Standard library extensions.
infra
Shared infrastructure.
ledger
utils

Macros§

event_with
Dynamic event logging based on the provided level.
gen_newtype_from
Generates From implementation for a newtype that delegates to the inner type From.
gen_newtype_try_from
Generates TryFrom implementation for a newtype that delegates to the inner type TryFrom.
gen_test_bincode
Generates unit test that checks that bincode’s serialization and deserialization are compatible
gen_test_json
Generates a unit test that verifies JSON serialization/deserialization compatibility using snapshots.
gen_test_serde
Generates unit test that checks implementation of Serialize and Deserialize are compatible.
if_else
Ternary operator from ternop, but renamed.
log_and_err
Logs an error and also wrap the existing error with the provided message.

Structs§

GlobalServices
GlobalState

Enums§

NodeMode