Dash Core  0.12.2.1
P2P Digital Currency
version.h File Reference

Go to the source code of this file.

Variables

static const int PROTOCOL_VERSION = 70208
 
static const int INIT_PROTO_VERSION = 209
 initial proto version, to be increased after version/verack negotiation More...
 
static const int GETHEADERS_VERSION = 70077
 In this version, 'getheaders' was introduced. More...
 
static const int MIN_PEER_PROTO_VERSION = 70206
 disconnect from peers older than this proto version More...
 
static const int CADDR_TIME_VERSION = 31402
 
static const int NOBLKS_VERSION_START = 32000
 only request blocks from nodes outside this range of versions More...
 
static const int NOBLKS_VERSION_END = 32400
 
static const int BIP0031_VERSION = 60000
 BIP 0031, pong message, is enabled for all versions AFTER this one. More...
 
static const int MEMPOOL_GD_VERSION = 60002
 "mempool" command, enhanced "getdata" behavior starts with this version More...
 
static const int NO_BLOOM_VERSION = 70201
 "filter*" commands are disabled without NODE_BLOOM after and including this version More...
 
static const int SENDHEADERS_VERSION = 70201
 "sendheaders" command and announcing blocks with headers starts with this version More...
 

Variable Documentation

◆ BIP0031_VERSION

const int BIP0031_VERSION = 60000
static

BIP 0031, pong message, is enabled for all versions AFTER this one.

Definition at line 33 of file version.h.

Referenced by ProcessMessage(), SendMessages(), and CConnman::ThreadSocketHandler().

◆ CADDR_TIME_VERSION

const int CADDR_TIME_VERSION = 31402
static

nTime field added to CAddress, starting with this version; if possible, avoid requesting addresses nodes older than this

Definition at line 26 of file version.h.

Referenced by ProcessMessage(), RelayAddress(), and CAddress::SerializationOp().

◆ GETHEADERS_VERSION

const int GETHEADERS_VERSION = 70077
static

In this version, 'getheaders' was introduced.

Definition at line 19 of file version.h.

◆ INIT_PROTO_VERSION

const int INIT_PROTO_VERSION = 209
static

initial proto version, to be increased after version/verack negotiation

Definition at line 16 of file version.h.

Referenced by CNode::CNode(), CNode::GetSendVersion(), ProcessMessage(), ProcessMessages(), CMasternodeSync::ProcessTick(), and CNode::ReceiveMsgBytes().

◆ MEMPOOL_GD_VERSION

const int MEMPOOL_GD_VERSION = 60002
static

"mempool" command, enhanced "getdata" behavior starts with this version

Definition at line 36 of file version.h.

◆ MIN_PEER_PROTO_VERSION

const int MIN_PEER_PROTO_VERSION = 70206
static

disconnect from peers older than this proto version

Definition at line 22 of file version.h.

Referenced by ProcessMessage().

◆ NO_BLOOM_VERSION

const int NO_BLOOM_VERSION = 70201
static

"filter*" commands are disabled without NODE_BLOOM after and including this version

Definition at line 39 of file version.h.

Referenced by ProcessMessage().

◆ NOBLKS_VERSION_END

const int NOBLKS_VERSION_END = 32400
static

Definition at line 30 of file version.h.

◆ NOBLKS_VERSION_START

const int NOBLKS_VERSION_START = 32000
static

only request blocks from nodes outside this range of versions

Definition at line 29 of file version.h.

◆ PROTOCOL_VERSION

const int PROTOCOL_VERSION = 70208
static

network protocol versioning

Definition at line 13 of file version.h.

Referenced by CAlert::AppliesToMe(), BitcoinMiner(), blockToJSON(), CTransaction::CalculateModifiedSize(), CMasternode::CalculateScore(), CMasternode::Check(), CheckBlock(), CMasternodeMan::CheckMnbAndUpdateMasternodeList(), CAlert::CheckSignature(), CheckTransaction(), CMasternode::CMasternode(), CBloomFilter::contains(), ContextualCheckBlock(), ContextualCheckTransaction(), CMasternodeBroadcast::Create(), CWallet::CreateTransaction(), CTxMemPoolEntry::CTxMemPoolEntry(), dashconsensus_verify_script(), DecodeHexBlk(), DecodeHexTx(), DecodeHexVecMnb(), EncodeHexTx(), getblock(), getblockheader(), getblockheaders(), CMasternodePing::GetHash(), CSporkMessage::GetHash(), CGovernanceVote::GetHash(), CMasternodePaymentVote::GetHash(), CDashNetwork::GetHash(), CTxLockVote::GetHash(), CGovernanceObject::GetHash(), CMasternodeBroadcast::GetHash(), CMasternodeVerification::GetHash(), getinfo(), getnetworkinfo(), CCoinsViewDB::GetStats(), CTransaction::GetTotalSize(), WalletModelTransaction::getTransactionSize(), gettxoutproof(), CGovernanceVote::GetTypeHash(), CBloomFilter::insert(), CActiveMasternode::ManageStateRemote(), masternodebroadcast(), CZMQPublishRawBlockNotifier::NotifyBlock(), CZMQPublishRawTransactionNotifier::NotifyTransaction(), CZMQPublishRawTransactionLockNotifier::NotifyTransactionLock(), ProcessGetData(), ProcessMessage(), CConnman::RelayTransaction(), rest_block(), rest_getutxos(), rest_headers(), rest_tx(), WalletModel::sendCoins(), signrawtransaction(), TxToJSON(), CMasternode::UpdateFromNewBroadcast(), and verifytxoutproof().

◆ SENDHEADERS_VERSION

const int SENDHEADERS_VERSION = 70201
static

"sendheaders" command and announcing blocks with headers starts with this version

Definition at line 42 of file version.h.

Referenced by ProcessMessage().