Solizone EVMChapter 06 / 17
The node runtime
The long-running node: its loop, what survives a stop, and how it recovers.
The long-running Solizone EVM node
Solizone EVM now includes a long-running node runtime.
Run it with:
$ cargo run --bin solizone_nodeThe runtime combines:
RevmExecutionEngine
MemoryState
BlockProducer
HybridBlockStore
LogosStorageCheckpointBackendinto one continuously operating process.
Runtime lifecycle
The node currently follows this loop:
execute transaction
↓
produce block
↓
store block
↓
enforce local retention
↓
archive old block if needed
↓
create checkpoint
↓
upload checkpoint
↓
next blockThis happens continuously while the node is running.
What happens when the node stops?
Suppose the node has reached:
block #6The process stops.
At this point we may have:
latest execution checkpoint
→ Logos Storage
recent blocks
→ local
older blocks
→ Logos StorageThe process itself disappears.
The chain state does not.
Node recovery
When Solizone EVM starts again, it checks for a previous checkpoint.
checkpoint exists?
│
┌────┴────┐
│ │
no yes
│ │
fresh recoverRecovery looks like:
checkpoint CID
↓
Logos Storage
↓
download checkpoint
↓
restore MemoryState
↓
restore next_height
↓
restore parent_hashIf the checkpoint says:
next_height = 7
parent_hash = hash(block #6)then Solizone EVM knows exactly where execution should resume.
Chain-head verification
Before continuing, the node verifies that the recovered chain position matches the stored block history.
checkpoint parent hash
↓
compare
↑
hash(block #6)If they match:
Chain-head verification passedNow the node can safely continue.
block #6
↓
restart
↓
block #7Block #7 points back to #6.
This is the same chain continuing across a process restart.