diff options
| author | Ross Nicoll <[email protected]> | 2017-12-26 00:22:51 +0000 |
|---|---|---|
| committer | Ross Nicoll <[email protected]> | 2018-09-19 19:23:29 +0100 |
| commit | 5833455f746995402226a664bcd7b0de945ef39d (patch) | |
| tree | ab0fc7e8cdd22e1f5da5ff63096fb2908798dfa0 /src/net_processing.cpp | |
| parent | Handle legacy v2 block at #66064 (diff) | |
| download | discoin-5833455f746995402226a664bcd7b0de945ef39d.tar.xz discoin-5833455f746995402226a664bcd7b0de945ef39d.zip | |
Stop sending a Bitcoin alert to Dogecoin clients
Diffstat (limited to 'src/net_processing.cpp')
| -rw-r--r-- | src/net_processing.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net_processing.cpp b/src/net_processing.cpp index cf6a82805..7c576afae 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -1367,12 +1367,12 @@ bool static ProcessMessage(CNode* pfrom, const std::string& strCommand, CDataStr AddTimeData(pfrom->addr, nTimeOffset); // If the peer is old enough to have the old alert system, send it the final alert. - // XXX: Decide how to handle alert migration in Dogecoin and either make this a Dogecoin - // alert or re-introduce the system - if (pfrom->nVersion <= 70012) { + /* if (pfrom->nVersion <= 70012) { + // TODO: Replace this with a valid Dogecoin alert + // Disabled meantime as the remote client considers the nonsense alert a hack and drops the connection CDataStream finalAlert(ParseHex("60010000000000000000000000ffffff7f00000000ffffff7ffeffff7f01ffffff7f00000000ffffff7f00ffffff7f002f555247454e543a20416c657274206b657920636f6d70726f6d697365642c2075706772616465207265717569726564004630440220653febd6410f470f6bae11cad19c48413becb1ac2c17f908fd0fd53bdc3abd5202206d0e9c96fe88d4a0f01ed9dedae2b6f9e00da94cad0fecaae66ecf689bf71b50"), SER_NETWORK, PROTOCOL_VERSION); connman.PushMessage(pfrom, CNetMsgMaker(nSendVersion).Make("alert", finalAlert)); - } + } */ // Feeler connections exist only to verify if address is online. if (pfrom->fFeeler) { |