Skip to main content

Crate nklave_storage

Crate nklave_storage 

Source
Expand description

Nklave Storage - Persistence layer

This crate provides:

  • Append-only decision log
  • Secure logging with encryption and integrity chain
  • Log rotation
  • State checkpoints
  • Checkpoint scheduling
  • EIP-3076 slashing protection interchange format

Re-exports§

pub use checkpoint::Checkpoint;
pub use checkpoint::CheckpointError;
pub use eip3076::Eip3076Interchange;
pub use eip3076::Eip3076Error;
pub use log::DecisionLog;
pub use log::LogError;
pub use rotation::LogRotator;
pub use rotation::RotationConfig;
pub use rotation::RotationError;
pub use scheduler::CheckpointProvider;
pub use scheduler::CheckpointScheduler;
pub use scheduler::CheckpointSchedulerHandle;
pub use scheduler::SchedulerConfig;
pub use secure_log::SecureDecisionLog;
pub use secure_log::SecureLogConfig;
pub use secure_log::SecureLogError;

Modules§

checkpoint
State checkpoints for fast recovery
eip3076
EIP-3076 Slashing Protection Interchange Format
log
Append-only decision log
rotation
Log rotation for decision logs
scheduler
Checkpoint scheduler for periodic state snapshots
secure_log
Secure decision log with encryption and integrity chain