Changeset View
Changeset View
Standalone View
Standalone View
src/avalanche.cpp
// Copyright (c) 2018 The Bitcoin developers | // Copyright (c) 2018 The Bitcoin developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#include "avalanche.h" | #include <avalanche.h> | ||||
#include "chain.h" | #include <chain.h> | ||||
#include "config/bitcoin-config.h" | #include <config/bitcoin-config.h> | ||||
#include "netmessagemaker.h" | #include <netmessagemaker.h> | ||||
#include "reverse_iterator.h" | #include <reverse_iterator.h> | ||||
#include "scheduler.h" | #include <scheduler.h> | ||||
#include "validation.h" | #include <validation.h> | ||||
#include <tuple> | #include <tuple> | ||||
/** | /** | ||||
* Run the avalanche event loop every 10ms. | * Run the avalanche event loop every 10ms. | ||||
*/ | */ | ||||
static const int64_t AVALANCHE_TIME_STEP_MILLISECONDS = 10; | static const int64_t AVALANCHE_TIME_STEP_MILLISECONDS = 10; | ||||
▲ Show 20 Lines • Show All 490 Lines • Show Last 20 Lines |