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 * Disable SEGWIT bit in protocol announcement.
This commit is contained in:
parent
2254aac1c0
commit
145bdf0ee3
|
@ -136,9 +136,13 @@ bool CMessageHeader::IsCommandValid() const
|
|||
|
||||
ServiceFlags GetDesirableServiceFlags(ServiceFlags services) {
|
||||
if ((services & NODE_NETWORK_LIMITED) && g_initial_block_download_completed) {
|
||||
return ServiceFlags(NODE_NETWORK_LIMITED | NODE_WITNESS);
|
||||
// Dogecoin: Disable segwit
|
||||
// return ServiceFlags(NODE_NETWORK_LIMITED | NODE_WITNESS);
|
||||
return ServiceFlags(NODE_NETWORK_LIMITED);
|
||||
}
|
||||
return ServiceFlags(NODE_NETWORK | NODE_WITNESS);
|
||||
// Dogecoin: Disable segwit
|
||||
// return ServiceFlags(NODE_NETWORK | NODE_WITNESS);
|
||||
return ServiceFlags(NODE_NETWORK);
|
||||
}
|
||||
|
||||
void SetServiceFlagsIBDCache(bool state) {
|
||||
|
|
Loading…
Reference in a new issue