Bitcoin ABC  0.24.7
P2P Digital Currency
Classes | Namespaces | Typedefs | Enumerations | Variables
processor.h File Reference
#include <avalanche/node.h>
#include <avalanche/proofcomparator.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>
Include dependency graph for processor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  avalanche::VoteItemUpdate< VoteItem >
 
struct  avalanche::query_timeout
 
class  avalanche::Processor
 
struct  avalanche::Processor::Query
 

Namespaces

 avalanche
 

Typedefs

using avalanche::BlockUpdate = VoteItemUpdate< CBlockIndex * >
 
using avalanche::ProofUpdate = VoteItemUpdate< ProofRef >
 
using avalanche::BlockVoteMap = std::map< const CBlockIndex *, VoteRecord, CBlockIndexWorkComparator >
 
using avalanche::ProofVoteMap = std::map< const ProofRef, VoteRecord, ProofComparator >
 

Enumerations

enum  avalanche::VoteStatus : uint8_t { avalanche::VoteStatus::Invalid, avalanche::VoteStatus::Rejected, avalanche::VoteStatus::Accepted, avalanche::VoteStatus::Finalized }
 

Variables

static constexpr size_t AVALANCHE_MAX_ELEMENT_POLL = 16
 Maximum item that can be polled at once. More...
 
static constexpr std::chrono::milliseconds AVALANCHE_DEFAULT_QUERY_TIMEOUT
 How long before we consider that a query timed out. More...
 

Variable Documentation

◆ AVALANCHE_DEFAULT_QUERY_TIMEOUT

constexpr std::chrono::milliseconds AVALANCHE_DEFAULT_QUERY_TIMEOUT
staticconstexpr
Initial value:
{
10000}

How long before we consider that a query timed out.

Definition at line 47 of file processor.h.

◆ AVALANCHE_MAX_ELEMENT_POLL

constexpr size_t AVALANCHE_MAX_ELEMENT_POLL = 16
staticconstexpr

Maximum item that can be polled at once.

Definition at line 42 of file processor.h.