Module chain_follower

Source
Expand description

Command line and environment variable settings for the service

Structsยง

EnvVars ๐Ÿ”’
Configuration for the chain follower.

Constantsยง

DEFAULT_NETWORK ๐Ÿ”’
Default chain to follow.
DEFAULT_SYNC_MAX_SLOTS ๐Ÿ”’
Default number of slots each sync task will process at one time. This default is just over one week worth of data where 1 slot == 1 second.
DEFAULT_SYNC_TASKS ๐Ÿ”’
Default number of sync tasks (must be in the range 1 to 256 inclusive.)
MAX_DL_CHUNK_QUEUE_AHEAD ๐Ÿ”’
Maximum DL Chunk Queue Ahead (must be in the range 1 to 256 inclusive.)
MAX_DL_CHUNK_SIZE ๐Ÿ”’
Maximum DL Chunk Size in MB (must be in the range 1 to 256 inclusive.)
MAX_DL_CONNECTIONS ๐Ÿ”’
Maximum number of DL Connections (must be in the range 1 to 256 inclusive.)
MAX_DL_TIMEOUT ๐Ÿ”’
Maximum DL Chunk Connect/Data Timeout in seconds (0 = Disabled).
MAX_SYNC_MAX_SLOTS ๐Ÿ”’
Maximum the number of slots each sync task will process at one time can be set to.
MAX_SYNC_TASKS ๐Ÿ”’
Maximum number of sync tasks (must be in the range 1 to 256 inclusive.)
MIN_SYNC_MAX_SLOTS ๐Ÿ”’
Minimum the number of slots each sync task will process at one time can be set to. Note: This is just the setting minimum, a sync task may sync as few as a 1 slot.
ONE_MEGABYTE ๐Ÿ”’
Number of bytes in a Megabyte