diff options
| author | Ross Nicoll <[email protected]> | 2017-04-18 13:36:32 +0100 |
|---|---|---|
| committer | Ross Nicoll <[email protected]> | 2019-04-03 05:16:26 +0000 |
| commit | 6d635e8914541f237cdc577bc6632563be543d7b (patch) | |
| tree | b7c42e4d87a90c1e6272632e01e536776d9a73ef /src/net_processing.cpp | |
| parent | Update DB version to 5.1 (diff) | |
| download | discoin-6d635e8914541f237cdc577bc6632563be543d7b.tar.xz discoin-6d635e8914541f237cdc577bc6632563be543d7b.zip | |
Replace consensus values with Dogecoin equivalents
* Replace chain parameters with Dogecoin values
* Update maximum coins to match Dogecoin
* Disable version 2 block requirement
* Update coinbase maturity to match Dogecoin
Diffstat (limited to 'src/net_processing.cpp')
| -rw-r--r-- | src/net_processing.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net_processing.cpp b/src/net_processing.cpp index 88999ba73..582d9fcad 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -1783,6 +1783,8 @@ 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) { CDataStream finalAlert(ParseHex("60010000000000000000000000ffffff7f00000000ffffff7ffeffff7f01ffffff7f00000000ffffff7f00ffffff7f002f555247454e543a20416c657274206b657920636f6d70726f6d697365642c2075706772616465207265717569726564004630440220653febd6410f470f6bae11cad19c48413becb1ac2c17f908fd0fd53bdc3abd5202206d0e9c96fe88d4a0f01ed9dedae2b6f9e00da94cad0fecaae66ecf689bf71b50"), SER_NETWORK, PROTOCOL_VERSION); connman->PushMessage(pfrom, CNetMsgMaker(nSendVersion).Make("alert", finalAlert)); |