Modes of Operation#
The Ergo node has supported multiple security models since the very first testing network (Testnet0
)
In addition to running in the standard full node mode, like a full Bitcoin node, The Ergo reference implementation supports Light-SPV, Light-Fullnode, and Pruned-Fullnode modes which are described below.
Mode-Related Settings#
Ergo has the following settings which determine a mode:
ADState: Boolean
- keeps state roothash only.VerifyTransactions: Boolean
- download block transactions and verify them (requires BlocksToKeep == 0 if disabled).PoPoWBootstrap: Boolean
- download PoPoW proof onlyBlocksToKeep: Int
- number of last blocks to keep with transactions; for all other blocks, it keeps Header only. Keep all blocks from genesis if negativeMinimalSuffix: Int
- minimal suffix size for PoPoW proof (maybe pre-defined constant).
if(VerifyTransactions == false) require(BlocksToKeep == 0)
Mode from "multimode.md" can be determined as follows: