Skip to main content

Crate amadeus_node

Crate amadeus_node 

Source

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§

ApplyEnv
CallerEnv
SystemStats
System metrics for CPU and memory usage
Ver
Version struct that represents a semantic version as three bytes [major, minor, patch]

Enums§

DatabaseError
Mutation

Constants§

CF_CONTRACTSTATE
CF_TX
CF_TX_ACCOUNT_NONCE

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