Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 129 Lines • ▼ Show 20 Lines | |||||
static const unsigned int BLOCK_DOWNLOAD_WINDOW = 1024; | static const unsigned int BLOCK_DOWNLOAD_WINDOW = 1024; | ||||
/** Time to wait (in seconds) between writing blocks/block index to disk. */ | /** Time to wait (in seconds) between writing blocks/block index to disk. */ | ||||
static const unsigned int DATABASE_WRITE_INTERVAL = 60 * 60; | static const unsigned int DATABASE_WRITE_INTERVAL = 60 * 60; | ||||
/** Time to wait (in seconds) between flushing chainstate to disk. */ | /** Time to wait (in seconds) between flushing chainstate to disk. */ | ||||
static const unsigned int DATABASE_FLUSH_INTERVAL = 24 * 60 * 60; | static const unsigned int DATABASE_FLUSH_INTERVAL = 24 * 60 * 60; | ||||
/** Maximum length of reject messages. */ | /** Maximum length of reject messages. */ | ||||
static const unsigned int MAX_REJECT_MESSAGE_LENGTH = 111; | static const unsigned int MAX_REJECT_MESSAGE_LENGTH = 111; | ||||
/** Average delay between local address broadcasts in seconds. */ | /** Average delay between local address broadcasts in seconds. */ | ||||
static const unsigned int AVG_LOCAL_ADDRESS_BROADCAST_INTERVAL = 24 * 24 * 60; | static const unsigned int AVG_LOCAL_ADDRESS_BROADCAST_INTERVAL = 24 * 60 * 60; | ||||
/** Average delay between peer address broadcasts in seconds. */ | /** Average delay between peer address broadcasts in seconds. */ | ||||
static const unsigned int AVG_ADDRESS_BROADCAST_INTERVAL = 30; | static const unsigned int AVG_ADDRESS_BROADCAST_INTERVAL = 30; | ||||
/** | /** | ||||
* Average delay between trickled inventory transmissions in seconds. | * Average delay between trickled inventory transmissions in seconds. | ||||
* Blocks and whitelisted receivers bypass this, outbound peers get half this | * Blocks and whitelisted receivers bypass this, outbound peers get half this | ||||
* delay. | * delay. | ||||
*/ | */ | ||||
static const unsigned int INVENTORY_BROADCAST_INTERVAL = 5; | static const unsigned int INVENTORY_BROADCAST_INTERVAL = 5; | ||||
▲ Show 20 Lines • Show All 576 Lines • Show Last 20 Lines |