Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type BlockAmount ¶
type Distance ¶
type Distance uint64
Distance amount of blocks to keep in DB but manual manipulation with such distance is very unsafe for example:
deleteUntil := currentStageProgress - pruningDistance
may delete whole db - because of uint64 underflow when pruningDistance > currentStageProgress
type Experiments ¶
type Experiments struct { }
type Mode ¶
type Mode struct { Initialised bool // Set when the values are initialised (not default) History BlockAmount Receipts BlockAmount TxIndex BlockAmount CallTraces BlockAmount Experiments Experiments }
func EnsureNotChanged ¶
EnsureNotChanged - prohibit change some configs after node creation. prohibit from human mistakes
Click to show internal directories.
Click to hide internal directories.