Crate ovr_btm

Crate ovr_btm 

Source
Expand description

§A Recover Mechanism for Blockchain Scene

automatic operations:

  • create a light-weight(COW) snapshot for each block
  • clean up expired snapshots

Structs§

BtmCfg
Config structure of snapshot

Enums§

SnapAlgo
Snapshot management algorithm
SnapMode
Inner Operations

Constants§

CAP_MAX
Maximum number of snapshots that can be kept
ENV_VAR_BTM_VOLUME
The co-responding VAR-name of --snapshot-volume
STEP_CNT
itv.pow(i), only useful in SnapAlgo::Fade alfo

Functions§

run_daemon
Run btm daemon ... server