PIVX Core  5.6.99
P2P Digital Currency
Classes | Namespaces | Enumerations | Functions
protocol.h File Reference
#include "netaddress.h"
#include "serialize.h"
#include "streams.h"
#include "uint256.h"
#include "version.h"
#include <stdint.h>
#include <string>
Include dependency graph for protocol.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CMessageHeader
 Message header. More...
 
class  CAddress
 A CService with information about it as peer. More...
 
class  CInv
 inv message data More...
 

Namespaces

 NetMsgType
 Bitcoin protocol message types.
 

Enumerations

enum  ServiceFlags : uint64_t { NODE_NONE = 0 , NODE_NETWORK = (1 << 0) , NODE_BLOOM = (1 << 2) , NODE_BLOOM_WITHOUT_MN = (1 << 4) }
 nServices flags More...
 
enum  GetDataMsg {
  UNDEFINED = 0 , MSG_TX , MSG_BLOCK , MSG_FILTERED_BLOCK ,
  MSG_TXLOCK_REQUEST , MSG_TXLOCK_VOTE , MSG_SPORK , MSG_MASTERNODE_WINNER ,
  MSG_MASTERNODE_SCANNING_ERROR , MSG_BUDGET_VOTE , MSG_BUDGET_PROPOSAL , MSG_BUDGET_FINALIZED ,
  MSG_BUDGET_FINALIZED_VOTE , MSG_MASTERNODE_QUORUM , MSG_MASTERNODE_ANNOUNCE , MSG_MASTERNODE_PING ,
  MSG_DSTX , MSG_QUORUM_FINAL_COMMITMENT , MSG_QUORUM_CONTRIB , MSG_QUORUM_COMPLAINT ,
  MSG_QUORUM_JUSTIFICATION , MSG_QUORUM_PREMATURE_COMMITMENT , MSG_QUORUM_RECOVERED_SIG , MSG_CLSIG ,
  MSG_TYPE_MAX = MSG_CLSIG
}
 getdata message types More...
 

Functions

const std::vector< std::string > & getAllNetMessageTypes ()
 
const std::vector< std::string > & getTierTwoNetMessageTypes ()
 

Enumeration Type Documentation

◆ GetDataMsg

enum GetDataMsg

getdata message types

Enumerator
UNDEFINED 
MSG_TX 
MSG_BLOCK 
MSG_FILTERED_BLOCK 
MSG_TXLOCK_REQUEST 
MSG_TXLOCK_VOTE 
MSG_SPORK 
MSG_MASTERNODE_WINNER 
MSG_MASTERNODE_SCANNING_ERROR 
MSG_BUDGET_VOTE 
MSG_BUDGET_PROPOSAL 
MSG_BUDGET_FINALIZED 
MSG_BUDGET_FINALIZED_VOTE 
MSG_MASTERNODE_QUORUM 
MSG_MASTERNODE_ANNOUNCE 
MSG_MASTERNODE_PING 
MSG_DSTX 
MSG_QUORUM_FINAL_COMMITMENT 
MSG_QUORUM_CONTRIB 
MSG_QUORUM_COMPLAINT 
MSG_QUORUM_JUSTIFICATION 
MSG_QUORUM_PREMATURE_COMMITMENT 
MSG_QUORUM_RECOVERED_SIG 
MSG_CLSIG 
MSG_TYPE_MAX 

Definition at line 434 of file protocol.h.

◆ ServiceFlags

enum ServiceFlags : uint64_t

nServices flags

Enumerator
NODE_NONE 
NODE_NETWORK 
NODE_BLOOM 
NODE_BLOOM_WITHOUT_MN 

Definition at line 312 of file protocol.h.

Function Documentation

◆ getAllNetMessageTypes()

const std::vector<std::string>& getAllNetMessageTypes ( )

Definition at line 250 of file protocol.cpp.

◆ getTierTwoNetMessageTypes()

const std::vector<std::string>& getTierTwoNetMessageTypes ( )

Definition at line 255 of file protocol.cpp.