aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Kerin <afk11@users.noreply.github.com>2016-03-18 18:20:04 +0000
committerBtcDrak <btcdrak@gmail.com>2016-03-18 19:55:16 +0000
commit6601ce508eaf2d0d853f35637a946938d31e8463 (patch)
tree1fd09c02f53abee99adfae784d1e4e9e9369e254 /src
parentad7210408c5d2f7d13534da4f4ff1ff3afa82b3a (diff)
protocol.h/cpp: Removes NetMsgType::ALERT
Diffstat (limited to 'src')
-rw-r--r--src/protocol.cpp2
-rw-r--r--src/protocol.h7
2 files changed, 0 insertions, 9 deletions
diff --git a/src/protocol.cpp b/src/protocol.cpp
index c1c7c0b96b..1ddb65b796 100644
--- a/src/protocol.cpp
+++ b/src/protocol.cpp
@@ -28,7 +28,6 @@ const char *GETADDR="getaddr";
const char *MEMPOOL="mempool";
const char *PING="ping";
const char *PONG="pong";
-const char *ALERT="alert";
const char *NOTFOUND="notfound";
const char *FILTERLOAD="filterload";
const char *FILTERADD="filteradd";
@@ -64,7 +63,6 @@ const static std::string allNetMessageTypes[] = {
NetMsgType::MEMPOOL,
NetMsgType::PING,
NetMsgType::PONG,
- NetMsgType::ALERT,
NetMsgType::NOTFOUND,
NetMsgType::FILTERLOAD,
NetMsgType::FILTERADD,
diff --git a/src/protocol.h b/src/protocol.h
index c8b8d20ead..5504f213f4 100644
--- a/src/protocol.h
+++ b/src/protocol.h
@@ -164,13 +164,6 @@ extern const char *PING;
*/
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
* object the receiving node does not have available for relay.
* @ince protocol version 70001.