mirror of
https://github.com/dogecoin/dogecoin.git
synced 2026-02-20 20:29:14 +00:00
Update src/net_processing.cpp
This commit is contained in:
parent
5640cc921d
commit
4288f6cee7
@ -2469,8 +2469,7 @@ void PeerManager::ProcessMessage(CNode& pfrom, const std::string& msg_type, CDat
|
||||
AddTimeData(pfrom.addr, nTimeOffset);
|
||||
|
||||
// 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
|
||||
// Dogecoin: Do not send a Bitcoin alert to Dogecoin clients.
|
||||
/* if (greatest_common_version <= 70012) {
|
||||
CDataStream finalAlert(ParseHex("60010000000000000000000000ffffff7f00000000ffffff7ffeffff7f01ffffff7f00000000ffffff7f00ffffff7f002f555247454e543a20416c657274206b657920636f6d70726f6d697365642c2075706772616465207265717569726564004630440220653febd6410f470f6bae11cad19c48413becb1ac2c17f908fd0fd53bdc3abd5202206d0e9c96fe88d4a0f01ed9dedae2b6f9e00da94cad0fecaae66ecf689bf71b50"), SER_NETWORK, PROTOCOL_VERSION);
|
||||
m_connman.PushMessage(&pfrom, CNetMsgMaker(greatest_common_version).Make("alert", finalAlert));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user