Changeset View
Changeset View
Standalone View
Standalone View
src/seeder/protocol.cpp
| // Copyright (c) 2009-2010 Satoshi Nakamoto | // Copyright (c) 2009-2010 Satoshi Nakamoto | ||||
| // Copyright (c) 2011 The Bitcoin developers | // Copyright (c) 2011 The Bitcoin developers | ||||
| // Distributed under the MIT/X11 software license, see the accompanying | // Distributed under the MIT/X11 software license, see the accompanying | ||||
| // file license.txt or http://www.opensource.org/licenses/mit-license.php. | // file license.txt or http://www.opensource.org/licenses/mit-license.php. | ||||
| #include <stdexcept> | |||||
| #include <vector> | |||||
| #include "netbase.h" | |||||
| #include "protocol.h" | #include "protocol.h" | ||||
| #include "netbase.h" | |||||
| #include "util.h" | #include "util.h" | ||||
| #include <stdexcept> | |||||
| #include <vector> | |||||
| #ifndef WIN32 | #ifndef WIN32 | ||||
| #include <arpa/inet.h> | #include <arpa/inet.h> | ||||
| #endif | #endif | ||||
| static const char *ppszTypeName[] = { | static const char *ppszTypeName[] = { | ||||
| "ERROR", "tx", "block", | "ERROR", "tx", "block", | ||||
| }; | }; | ||||
| ▲ Show 20 Lines • Show All 114 Lines • Show Last 20 Lines | |||||