Changeset View
Changeset View
Standalone View
Standalone View
src/avalanche/node.h
// Copyright (c) 2018-2019 The Bitcoin developers | // Copyright (c) 2018-2019 The Bitcoin developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#ifndef BITCOIN_AVALANCHE_NODE_H | #ifndef BITCOIN_AVALANCHE_NODE_H | ||||
#define BITCOIN_AVALANCHE_NODE_H | #define BITCOIN_AVALANCHE_NODE_H | ||||
#include <net.h> // For NodeId | #include <nodeid.h> | ||||
#include <pubkey.h> | #include <pubkey.h> | ||||
#include <chrono> | #include <chrono> | ||||
#include <cstdint> | #include <cstdint> | ||||
using PeerId = uint32_t; | using PeerId = uint32_t; | ||||
static constexpr PeerId NO_PEER = -1; | static constexpr PeerId NO_PEER = -1; | ||||
Show All 17 Lines |