Changeset View
Changeset View
Standalone View
Standalone View
src/netaddress.h
// Copyright (c) 2009-2016 The Bitcoin Core developers | // Copyright (c) 2009-2016 The Bitcoin Core 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_NETADDRESS_H | #ifndef BITCOIN_NETADDRESS_H | ||||
#define BITCOIN_NETADDRESS_H | #define BITCOIN_NETADDRESS_H | ||||
#if defined(HAVE_CONFIG_H) | #if defined(HAVE_CONFIG_H) | ||||
#include "config/bitcoin-config.h" | #include <config/bitcoin-config.h> | ||||
#endif | #endif | ||||
#include "compat.h" | #include <compat.h> | ||||
#include "serialize.h" | #include <serialize.h> | ||||
#include <cstdint> | #include <cstdint> | ||||
#include <string> | #include <string> | ||||
#include <vector> | #include <vector> | ||||
enum Network { | enum Network { | ||||
NET_UNROUTABLE = 0, | NET_UNROUTABLE = 0, | ||||
NET_IPV4, | NET_IPV4, | ||||
▲ Show 20 Lines • Show All 180 Lines • Show Last 20 Lines |