Re-exports§
pub use config::Config;pub use context::Context;pub use context::SoftforkStatus;pub use metrics::MetricsSnapshot;pub use metrics::UdpStats;pub use node::peers::PeerInfo;pub use node::peers::PeersSummary;pub use amadeus_utils as utils;
Modules§
- attestation
- SGX Attestation module for Gramine
- config
- consensus
- consensus_
apply - consensus_
kv - consensus_
muts - context
- metrics
- node
- runtime_
bic - socket
Structs§
- Apply
Env - Caller
Env - System
Stats - System metrics for CPU and memory usage
- Ver
- Version struct that represents a semantic version as three bytes [major, minor, patch]
Enums§
Constants§
Traits§
- Database
- Database trait for abstracting storage operations Implementations can use RocksDB, in-memory storage, or other backends
Functions§
- decode_
base58_ array - Decode base58 string to fixed-size byte array Returns None if decoding fails or size doesn’t match
- decode_
base58_ hash - Decode base58 string to 32-byte hash
- decode_
base58_ pk - Decode base58 string to 48-byte public key
- from_
flat - get_
system_ stats - Get current system statistics (CPU, memory usage and available cores) Returns default values when system-metrics feature is disabled