Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

version.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Variables

static const int PROTOCOL_VERSION = 70218
 network protocol versioning More...
 
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 = 70213
 disconnect from peers older than this proto version More...
 
static const int MIN_MASTERNODE_PROTO_VERSION = 70218
 minimum proto version of masternode to accept in DKGs More...
 
static const int CADDR_TIME_VERSION = 31402
 nTime field added to CAddress, starting with this version; if possible, avoid requesting addresses nodes older than this More...
 
static const int BIP0031_VERSION = 60000
 BIP 0031, pong message, is enabled for all versions AFTER this one. 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...
 
static const int DIP0001_PROTOCOL_VERSION = 70208
 DIP0001 was activated in this version. More...
 
static const int SHORT_IDS_BLOCKS_VERSION = 70209
 short-id-based block download starts with this version More...
 
static const int DMN_PROTO_VERSION = 70213
 introduction of DIP3/deterministic masternodes More...
 
static const int LLMQS_PROTO_VERSION = 70214
 introduction of LLMQs More...
 
static const int SENDDSQUEUE_PROTO_VERSION = 70214
 introduction of SENDDSQUEUE TODO we can remove this in 0.15.0.0 More...
 
static const int MNAUTH_NODE_VER_VERSION = 70218
 protocol version is included in MNAUTH starting 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 CConnman::InactivityCheck(), ProcessMessage(), and PeerLogicValidation::SendMessages().

◆ 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 30 of file version.h.

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

◆ DIP0001_PROTOCOL_VERSION

const int DIP0001_PROTOCOL_VERSION = 70208
static

DIP0001 was activated in this version.

Definition at line 42 of file version.h.

◆ DMN_PROTO_VERSION

const int DMN_PROTO_VERSION = 70213
static

introduction of DIP3/deterministic masternodes

Definition at line 48 of file version.h.

Referenced by llmq::CQuorumBlockProcessor::AddMinableCommitment().

◆ GETHEADERS_VERSION

const int GETHEADERS_VERSION = 70077
static

In this version, 'getheaders' was introduced.

Definition at line 20 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 17 of file version.h.

Referenced by CNode::CNode(), CNode::GetSendVersion(), ProcessMessage(), PeerLogicValidation::ProcessMessages(), CConnman::PushMessage(), CNode::ReceiveMsgBytes(), and SendRejectsAndCheckIfBanned().

◆ LLMQS_PROTO_VERSION

◆ MIN_MASTERNODE_PROTO_VERSION

const int MIN_MASTERNODE_PROTO_VERSION = 70218
static

minimum proto version of masternode to accept in DKGs

Definition at line 26 of file version.h.

Referenced by llmq::CDKGSession::VerifyConnectionAndMinProtoVersions().

◆ MIN_PEER_PROTO_VERSION

const int MIN_PEER_PROTO_VERSION = 70213
static

disconnect from peers older than this proto version

Definition at line 23 of file version.h.

Referenced by ProcessMessage().

◆ MNAUTH_NODE_VER_VERSION

const int MNAUTH_NODE_VER_VERSION = 70218
static

protocol version is included in MNAUTH starting with this version

Definition at line 58 of file version.h.

Referenced by CMNAuth::ProcessMessage(), and CMNAuth::PushMNAUTH().

◆ 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 36 of file version.h.

Referenced by ProcessMessage().

◆ PROTOCOL_VERSION

const int PROTOCOL_VERSION = 70218
static

network protocol versioning

Definition at line 14 of file version.h.

Referenced by blockToJSON(), CheckBlock(), CheckTransaction(), CBloomFilter::contains(), ContextualCheckBlock(), ContextualCheckTransaction(), CWallet::CreateTransaction(), CTransactionBuilder::CTransactionBuilder(), CTxMemPoolEntry::CTxMemPoolEntry(), dashconsensus_verify_script(), DecodeHexBlk(), DecodeHexTx(), DeserializeAndCheckBlockTest(), DeserializeBlockTest(), EncodeHexTx(), CBlockHeaderAndShortTxIDs::FillShortTxIDSelector(), getblock(), getblockheader(), getblockheaders(), getblockstats(), CBlockHeader::GetHash(), CGovernanceObject::GetHash(), getmerkleblocks(), getnetworkinfo(), CTransaction::GetTotalSize(), WalletModelTransaction::getTransactionSize(), gettxoutproof(), GetTxPayload(), GetUTXOStats(), importprunedfunds(), PartiallyDownloadedBlock::InitData(), CBloomFilter::insert(), CWallet::IsFullyMixed(), MempoolEviction(), PeerLogicValidation::NewPoWValidBlock(), CZMQPublishRawBlockNotifier::NotifyBlock(), CZMQPublishRawChainLockNotifier::NotifyChainLock(), CZMQPublishRawChainLockSigNotifier::NotifyChainLock(), CZMQPublishRawGovernanceObjectNotifier::NotifyGovernanceObject(), CZMQPublishRawGovernanceVoteNotifier::NotifyGovernanceVote(), CZMQPublishRawInstantSendDoubleSpendNotifier::NotifyInstantSendDoubleSpendAttempt(), CZMQPublishRawTransactionNotifier::NotifyTransaction(), CZMQPublishRawTransactionLockNotifier::NotifyTransactionLock(), CZMQPublishRawTransactionLockSigNotifier::NotifyTransactionLock(), CMNAuth::ProcessMessage(), ProcessMessage(), CMNAuth::PushMNAUTH(), llmq::CDKGPendingMessages::PushPendingMessage(), llmq::CDKGSession::ReceiveMessage(), rest_block(), rest_getutxos(), rest_headers(), rest_tx(), WalletModel::sendCoins(), llmq::CDKGSession::SendContributions(), SetTxPayload(), CSimplifiedMNListDiff::ToJson(), TxToUniv(), CGovernanceVote::UpdateHash(), CBLSLazyWrapper< CBLSSignature >::UpdateHash(), and verifytxoutproof().

◆ SENDDSQUEUE_PROTO_VERSION

const int SENDDSQUEUE_PROTO_VERSION = 70214
static

introduction of SENDDSQUEUE TODO we can remove this in 0.15.0.0

Definition at line 55 of file version.h.

Referenced by ProcessMessage().

◆ SENDHEADERS_VERSION

const int SENDHEADERS_VERSION = 70201
static

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

Definition at line 39 of file version.h.

Referenced by ProcessMessage().

◆ SHORT_IDS_BLOCKS_VERSION

const int SHORT_IDS_BLOCKS_VERSION = 70209
static

short-id-based block download starts with this version

Definition at line 45 of file version.h.

Referenced by ProcessMessage().

Released under the MIT license