Bitcoin ABC 0.30.5
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 <common/args.h>
#include <key_io.h>
#include <net.h>
#include <netbase.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

namespace  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"}
 

Variable Documentation

◆ AVALANCHE_TIME_STEP

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

Run the avalanche event loop every 10ms.

Definition at line 34 of file processor.cpp.

◆ AVAPEERS_FILE_NAME

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

Definition at line 36 of file processor.cpp.

◆ response

Response response
private

Definition at line 497 of file processor.cpp.

◆ sig

SchnorrSig sig
private

Definition at line 498 of file processor.cpp.