Changeset View
Changeset View
Standalone View
Standalone View
src/avalanche/processor.h
Show First 20 Lines • Show All 243 Lines • ▼ Show 20 Lines | using QuerySet = boost::multi_index_container< | ||||
&Query::timeout>>>>; | &Query::timeout>>>>; | ||||
RWCollection<QuerySet> queries; | RWCollection<QuerySet> queries; | ||||
/** Data required to participate. */ | /** Data required to participate. */ | ||||
struct PeerData { | struct PeerData { | ||||
std::optional<Proof> proof; | std::optional<Proof> proof; | ||||
std::optional<Delegation> delegation; | std::optional<Delegation> delegation; | ||||
CKey sessionKey; | |||||
}; | }; | ||||
PeerData peerData; | PeerData peerData; | ||||
CKey sessionKey; | |||||
/** 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; | ||||
▲ Show 20 Lines • Show All 74 Lines • Show Last 20 Lines |