#include <avalanche/node.h>
#include <avalanche/protocol.h>
#include <blockindexworkcomparator.h>
#include <eventloop.h>
#include <interfaces/chain.h>
#include <interfaces/handler.h>
#include <key.h>
#include <rwcollection.h>
#include <boost/multi_index/composite_key.hpp>
#include <boost/multi_index/hashed_index.hpp>
#include <boost/multi_index/member.hpp>
#include <boost/multi_index/ordered_index.hpp>
#include <boost/multi_index_container.hpp>
#include <atomic>
#include <chrono>
#include <cstdint>
#include <memory>
#include <vector>
Go to the source code of this file.
◆ AVALANCHE_DEFAULT_COOLDOWN
constexpr size_t AVALANCHE_DEFAULT_COOLDOWN = 100 |
|
static |
Avalanche default cooldown in milliseconds.
Definition at line 50 of file processor.h.
◆ AVALANCHE_DEFAULT_ENABLED
constexpr bool AVALANCHE_DEFAULT_ENABLED = false |
|
static |
Is avalanche enabled by default.
Definition at line 36 of file processor.h.
◆ AVALANCHE_DEFAULT_QUERY_TIMEOUT
constexpr std::chrono::milliseconds AVALANCHE_DEFAULT_QUERY_TIMEOUT |
|
static |
Initial value:
How long before we consider that a query timed out.
Definition at line 54 of file processor.h.
◆ AVALANCHE_FINALIZATION_SCORE
constexpr int AVALANCHE_FINALIZATION_SCORE = 128 |
|
static |
◆ AVALANCHE_MAX_ELEMENT_POLL
constexpr size_t AVALANCHE_MAX_ELEMENT_POLL = 16 |
|
static |
Maximum item that can be polled at once.
Definition at line 46 of file processor.h.
◆ AVALANCHE_MAX_INFLIGHT_POLL
constexpr int AVALANCHE_MAX_INFLIGHT_POLL = 10 |
|
static |
How many inflight requests can exist for one item.
Definition at line 60 of file processor.h.
◆ g_avalanche