Expand description
sync constant
Constantsยง
- BAD_
MESSAGE_ BAN_ TIME - Default ban time for message
- BLOCK_
DOWNLOAD_ TIMEOUT - Block download timeout
- BLOCK_
DOWNLOAD_ WINDOW - Block download window size
- CHAIN_
SYNC_ TIMEOUT - Chain sync timeout
- CHECK_
POINT_ WINDOW - The point at which the scheduler adjusts the number of tasks, by default one adjustment per 512 blocks.
- EVICTION_
HEADERS_ RESPONSE_ TIME - Eviction response time
- HEADERS_
DOWNLOAD_ HEADERS_ PER_ SECOND - Global Average Speed
- HEADERS_
DOWNLOAD_ INSPECT_ WINDOW - Inspect the headers downloading every 2 minutes
- HEADERS_
DOWNLOAD_ TOLERABLE_ BIAS_ FOR_ SINGLE_ SAMPLE - Acceptable Lowest Instantaneous Speed: 75.0 KiB/second (300/4)
- INIT_
BLOCKS_ IN_ TRANSIT_ PER_ PEER - The default number of download blocks that can be requested at one time ckb2021 edition new limit
- MAX_
BLOCKS_ IN_ TRANSIT_ PER_ PEER - Maximum number of download blocks that can be requested at one time
- MAX_
HEADERS_ LEN - Default max get header response length, if it is greater than this value, the message will be ignored
- MAX_
LOCATOR_ SIZE - The maximum number of entries in a locator
- MAX_
OUTBOUND_ PEERS_ TO_ PROTECT_ FROM_ DISCONNECT - Protect at least this many outbound peers from disconnection due to slow behind headers chain.
- MAX_
RELAY_ TXS_ NUM_ PER_ BATCH - The maximum number transaction hashes inside a
RelayTransactionHashes
message - MAX_
TIP_ AGE - The default init download block interval is 24 hours If the time of the local highest block is within this range, exit the ibd state
- MAX_
UNKNOWN_ TX_ HASHES_ SIZE - The soft limit to the number of unknown transactions
- MAX_
UNKNOWN_ TX_ HASHES_ SIZE_ PER_ PEER - The soft limit to the number of unknown transactions per peer
- POW_
INTERVAL - Pow interval
- RETRY_
ASK_ TX_ TIMEOUT_ INCREASE - Interval between repeated inquiry transactions
- SUSPEND_
SYNC_ TIME - Suspend sync time
- SYNC_
USELESS_ BAN_ TIME - Default ban time for sync useless