Changeset View
Changeset View
Standalone View
Standalone View
src/avalanche/processor.h
Show First 20 Lines • Show All 219 Lines • ▼ Show 20 Lines | public: | ||||
* Return whether the avalanche service flag should be set. | * Return whether the avalanche service flag should be set. | ||||
*/ | */ | ||||
bool isAvalancheServiceAvailable() { return !!peerData; } | bool isAvalancheServiceAvailable() { return !!peerData; } | ||||
bool startEventLoop(CScheduler &scheduler); | bool startEventLoop(CScheduler &scheduler); | ||||
bool stopEventLoop(); | bool stopEventLoop(); | ||||
void avaproofsSent(NodeId nodeid); | void avaproofsSent(NodeId nodeid); | ||||
int64_t getAvaproofsNodeCounter() const { | |||||
return avaproofsNodeCounter.load(); | |||||
} | |||||
bool isQuorumEstablished(); | bool isQuorumEstablished(); | ||||
// Implement NetEventInterface. Only FinalizeNode is of interest. | // Implement NetEventInterface. Only FinalizeNode is of interest. | ||||
void InitializeNode(const Config &config, CNode *pnode) override {} | void InitializeNode(const Config &config, CNode *pnode) override {} | ||||
bool ProcessMessages(const Config &config, CNode *pnode, | bool ProcessMessages(const Config &config, CNode *pnode, | ||||
std::atomic<bool> &interrupt) override { | std::atomic<bool> &interrupt) override { | ||||
return false; | return false; | ||||
} | } | ||||
Show All 29 Lines |