aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoss Nicoll <[email protected]>2017-12-26 00:22:51 +0000
committerRoss Nicoll <[email protected]>2021-06-03 10:06:21 +0100
commit5640cc921d35a95484150209f248e1295a323a39 (patch)
tree2a8ea02790c620ad4490093cae3c557c5754b478 /src
parentMerge pull request #2224 from mmicael1/1.21-reduce-tests-latency (diff)
downloaddiscoin-5640cc921d35a95484150209f248e1295a323a39.tar.xz
discoin-5640cc921d35a95484150209f248e1295a323a39.zip
Stop sending a Bitcoin alert to Dogecoin clients
Diffstat (limited to 'src')
-rw-r--r--src/net_processing.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net_processing.cpp b/src/net_processing.cpp
index d2a0e6d91..80f480d65 100644
--- a/src/net_processing.cpp
+++ b/src/net_processing.cpp
@@ -2471,10 +2471,10 @@ void PeerManager::ProcessMessage(CNode& pfrom, const std::string& msg_type, CDat
// If the peer is old enough to have the old alert system, send it the final alert.
// TODO: Decide if we need to reintroduce alerts to Dogecoin
// https://github.com/dogecoin/dogecoin/issues/2231
- if (greatest_common_version <= 70012) {
+ /* if (greatest_common_version <= 70012) {
CDataStream finalAlert(ParseHex("60010000000000000000000000ffffff7f00000000ffffff7ffeffff7f01ffffff7f00000000ffffff7f00ffffff7f002f555247454e543a20416c657274206b657920636f6d70726f6d697365642c2075706772616465207265717569726564004630440220653febd6410f470f6bae11cad19c48413becb1ac2c17f908fd0fd53bdc3abd5202206d0e9c96fe88d4a0f01ed9dedae2b6f9e00da94cad0fecaae66ecf689bf71b50"), SER_NETWORK, PROTOCOL_VERSION);
m_connman.PushMessage(&pfrom, CNetMsgMaker(greatest_common_version).Make("alert", finalAlert));
- }
+ } */
// Feeler connections exist only to verify if address is online.
if (pfrom.IsFeelerConn()) {