Skip to main content

Module engine

Module engine 

Source
Expand description

Engine drives the application and is modelled after commonware’s alto toy blockchain.

StructsΒ§

Builder
Settings for Engine.
Engine

ConstantsΒ§

BUFFER_POOL_CAPACITY πŸ”’
BUFFER_POOL_PAGE_SIZE πŸ”’
FREEZER_TABLE_RESIZE_CHUNK_SIZE πŸ”’
FREEZER_TABLE_RESIZE_FREQUENCY πŸ”’
FREEZER_VALUE_COMPRESSION πŸ”’
FREEZER_VALUE_TARGET_SIZE πŸ”’
IMMUTABLE_ITEMS_PER_SECTION πŸ”’
MAX_PENDING_ACKS πŸ”’
MAX_REPAIR πŸ”’
PRUNABLE_ITEMS_PER_SECTION πŸ”’
REPLAY_BUFFER πŸ”’
SYNCER_ACTIVITY_TIMEOUT_MULTIPLIER πŸ”’
To better support peers near tip during network instability, we multiply the consensus activity timeout by this factor.
WRITE_BUFFER πŸ”’