5 #ifndef BITCOIN_AVALANCHE_NODE_H 6 #define BITCOIN_AVALANCHE_NODE_H 17 using TimePoint = std::chrono::time_point<std::chrono::steady_clock>;
28 : nodeid(nodeid_), peerid(peerid_),
29 nextRequestTime(
std::chrono::steady_clock::now()),
30 pubkey(
std::move(pubkey_)) {}
35 #endif // BITCOIN_AVALANCHE_NODE_H
An encapsulated public key.
Node(NodeId nodeid_, PeerId peerid_, CPubKey pubkey_)
TimePoint nextRequestTime
std::chrono::time_point< std::chrono::steady_clock > TimePoint
static constexpr PeerId NO_PEER