Bitcoin ABC  0.26.3
P2P Digital Currency
Classes | Namespaces | Functions | Variables
processor.cpp File Reference
#include <avalanche/processor.h>
#include <avalanche/avalanche.h>
#include <avalanche/delegationbuilder.h>
#include <avalanche/peermanager.h>
#include <avalanche/proofcomparator.h>
#include <avalanche/validation.h>
#include <avalanche/voterecord.h>
#include <chain.h>
#include <key_io.h>
#include <net.h>
#include <netmessagemaker.h>
#include <policy/block/stakingrewards.h>
#include <scheduler.h>
#include <util/bitmanip.h>
#include <util/moneystr.h>
#include <util/time.h>
#include <util/translation.h>
#include <chrono>
#include <limits>
#include <tuple>
Include dependency graph for processor.cpp:

Go to the source code of this file.

Classes

struct  avalanche::Processor::PeerData
 
class  avalanche::Processor::NotificationsHandler
 

Namespaces

 avalanche
 

Functions

static const uint256 avalanche::GetVoteItemId (const AnyVoteItem &item)
 
static bool avalanche::VerifyProof (const Amount &stakeUtxoDustThreshold, const Proof &proof, bilingual_str &error)
 
static bool avalanche::VerifyDelegation (const Delegation &dg, const CPubKey &expectedPubKey, bilingual_str &error)
 
static bool avalanche::isNull (const AnyVoteItem &item)
 

Variables

static constexpr std::chrono::milliseconds AVALANCHE_TIME_STEP {10}
 Run the avalanche event loop every 10ms. More...
 
static const std::string AVAPEERS_FILE_NAME {"avapeers.dat"}
 
std::unique_ptr< avalanche::Processorg_avalanche
 Global avalanche instance. More...
 

Variable Documentation

◆ AVALANCHE_TIME_STEP

constexpr std::chrono::milliseconds AVALANCHE_TIME_STEP {10}
staticconstexpr

Run the avalanche event loop every 10ms.

Definition at line 32 of file processor.cpp.

◆ AVAPEERS_FILE_NAME

const std::string AVAPEERS_FILE_NAME {"avapeers.dat"}
static

Definition at line 34 of file processor.cpp.

◆ g_avalanche

std::unique_ptr<avalanche::Processor> g_avalanche

Global avalanche instance.

Definition at line 38 of file processor.cpp.

◆ response

Response response
private

Definition at line 490 of file processor.cpp.

◆ sig

SchnorrSig sig
private

Definition at line 491 of file processor.cpp.