Browse Source

protocol.h/cpp: Removes NetMsgType::ALERT

0.13
Thomas Kerin 9 years ago committed by BtcDrak
parent
commit
6601ce508e
  1. 2
      src/protocol.cpp
  2. 7
      src/protocol.h

2
src/protocol.cpp

@ -28,7 +28,6 @@ const char *GETADDR="getaddr";
const char *MEMPOOL="mempool"; const char *MEMPOOL="mempool";
const char *PING="ping"; const char *PING="ping";
const char *PONG="pong"; const char *PONG="pong";
const char *ALERT="alert";
const char *NOTFOUND="notfound"; const char *NOTFOUND="notfound";
const char *FILTERLOAD="filterload"; const char *FILTERLOAD="filterload";
const char *FILTERADD="filteradd"; const char *FILTERADD="filteradd";
@ -64,7 +63,6 @@ const static std::string allNetMessageTypes[] = {
NetMsgType::MEMPOOL, NetMsgType::MEMPOOL,
NetMsgType::PING, NetMsgType::PING,
NetMsgType::PONG, NetMsgType::PONG,
NetMsgType::ALERT,
NetMsgType::NOTFOUND, NetMsgType::NOTFOUND,
NetMsgType::FILTERLOAD, NetMsgType::FILTERLOAD,
NetMsgType::FILTERADD, NetMsgType::FILTERADD,

7
src/protocol.h

@ -163,13 +163,6 @@ extern const char *PING;
* @see https://bitcoin.org/en/developer-reference#pong * @see https://bitcoin.org/en/developer-reference#pong
*/ */
extern const char *PONG; extern const char *PONG;
/**
* The alert message warns nodes of problems that may affect them or the rest
* of the network.
* @since protocol version 311.
* @see https://bitcoin.org/en/developer-reference#alert
*/
extern const char *ALERT;
/** /**
* The notfound message is a reply to a getdata message which requested an * The notfound message is a reply to a getdata message which requested an
* object the receiving node does not have available for relay. * object the receiving node does not have available for relay.

Loading…
Cancel
Save