Changeset View
Changeset View
Standalone View
Standalone View
src/avalanche/processor.h
Show First 20 Lines • Show All 243 Lines • ▼ Show 20 Lines | class Processor { | ||||
/** Event loop machinery. */ | /** Event loop machinery. */ | ||||
EventLoop eventLoop; | EventLoop eventLoop; | ||||
/** Registered interfaces::Chain::Notifications handler. */ | /** Registered interfaces::Chain::Notifications handler. */ | ||||
class NotificationsHandler; | class NotificationsHandler; | ||||
std::unique_ptr<interfaces::Handler> chainNotificationsHandler; | std::unique_ptr<interfaces::Handler> chainNotificationsHandler; | ||||
/** | |||||
* Flag indicating that the proof must be registered at first new block | |||||
* after IBD | |||||
*/ | |||||
bool mustRegisterProof = false; | |||||
Processor(interfaces::Chain &chain, CConnman *connmanIn, | Processor(interfaces::Chain &chain, CConnman *connmanIn, | ||||
NodePeerManager *nodePeerManagerIn, | NodePeerManager *nodePeerManagerIn, | ||||
std::unique_ptr<PeerData> peerDataIn, CKey sessionKeyIn); | std::unique_ptr<PeerData> peerDataIn, CKey sessionKeyIn); | ||||
public: | public: | ||||
~Processor(); | ~Processor(); | ||||
static std::unique_ptr<Processor> | static std::unique_ptr<Processor> | ||||
▲ Show 20 Lines • Show All 53 Lines • Show Last 20 Lines |