Module cache

Expand description

Cache specific constants

Constants§

DEFAULT_BLOCK_CACHE_MAX_LEN
Default cache size for the block cache: 5000 blocks.
DEFAULT_BLOCK_CACHE_SIZE_BYTES_MB
Default cache size for the block cache: 500MB
DEFAULT_CONCURRENT_DB_REQUESTS
Default number of concurrent database requests.
DEFAULT_ENV_CACHE_SIZE_BYTES_MB
Default cache size for the env cache: 1MB
DEFAULT_HEADER_CACHE_MAX_LEN
Default cache size for the header cache: 1000 headers.
DEFAULT_RECEIPT_CACHE_MAX_LEN
Default cache size for the receipts cache: 2000 receipts.
DEFAULT_RECEIPT_CACHE_SIZE_BYTES_MB
Default cache size for the receipts cache: 500MB