PIVX Core  5.6.99
P2P Digital Currency
Variables
NetMsgType Namespace Reference

Bitcoin protocol message types. More...

Variables

const char * VERSION = "version"
 The version message provides information about the transmitting node to the receiving node at the beginning of a connection. More...
 
const char * VERACK = "verack"
 The verack message acknowledges a previously-received version message, informing the connecting node that it can begin to send other messages. More...
 
const char * ADDR = "addr"
 The addr (IP address) message relays connection information for peers on the network. More...
 
const char * ADDRV2 ="addrv2"
 The addrv2 message relays connection information for peers on the network just like the addr message, but is extended to allow gossiping of longer node addresses (see BIP155). More...
 
const char * SENDADDRV2 ="sendaddrv2"
 The sendaddrv2 message signals support for receiving ADDRV2 messages (BIP155). More...
 
const char * INV = "inv"
 The inv message (inventory message) transmits one or more inventories of objects known to the transmitting peer. More...
 
const char * GETDATA = "getdata"
 The getdata message requests one or more data objects from another node. More...
 
const char * MERKLEBLOCK = "merkleblock"
 The merkleblock message is a reply to a getdata message which requested a block using the inventory type MSG_MERKLEBLOCK. More...
 
const char * GETBLOCKS = "getblocks"
 The getblocks message requests an inv message that provides block header hashes starting from a particular point in the block chain. More...
 
const char * GETHEADERS = "getheaders"
 The getheaders message requests a headers message that provides block headers starting from a particular point in the block chain. More...
 
const char * TX = "tx"
 The tx message transmits a single transaction. More...
 
const char * HEADERS = "headers"
 The headers message sends one or more block headers to a node which previously requested certain headers with a getheaders message. More...
 
const char * BLOCK = "block"
 The block message transmits a single serialized block. More...
 
const char * GETADDR = "getaddr"
 The getaddr message requests an addr message from the receiving node, preferably one with lots of IP addresses of other receiving nodes. More...
 
const char * MEMPOOL = "mempool"
 The mempool message requests the TXIDs of transactions that the receiving node has verified as valid but which have not yet appeared in a block. More...
 
const char * PING = "ping"
 The ping message is sent periodically to help confirm that the receiving peer is still connected. More...
 
const char * PONG = "pong"
 The pong message replies to a ping message, proving to the pinging node that the ponging node is still alive. More...
 
const char * ALERT = "alert"
 The alert message warns nodes of problems that may affect them or the rest of the network. More...
 
const char * NOTFOUND = "notfound"
 The notfound message is a reply to a getdata message which requested an object the receiving node does not have available for relay. More...
 
const char * FILTERLOAD = "filterload"
 The filterload message tells the receiving peer to filter all relayed transactions and requested merkle blocks through the provided filter. More...
 
const char * FILTERADD = "filteradd"
 The filteradd message tells the receiving peer to add a single element to a previously-set bloom filter, such as a new public key. More...
 
const char * FILTERCLEAR = "filterclear"
 The filterclear message tells the receiving peer to remove a previously-set bloom filter. More...
 
const char * SENDHEADERS = "sendheaders"
 Indicates that a node prefers to receive new block announcements via a "headers" message rather than an "inv". More...
 
const char * SPORK = "spork"
 The spork message is used to send spork values to connected peers. More...
 
const char * GETSPORKS = "getsporks"
 The getsporks message is used to request spork data from connected peers. More...
 
const char * MNBROADCAST = "mnb"
 The mnbroadcast message is used to broadcast masternode startup data to connected peers. More...
 
const char * MNBROADCAST2 = "mnb2"
 The mnbroadcast2 message is used to broadcast masternode startup data to connected peers Supporting BIP155 node addresses. More...
 
const char * MNPING = "mnp"
 The mnping message is used to ensure a masternode is still active. More...
 
const char * MNWINNER = "mnw"
 The mnwinner message is used to relay and distribute consensus for masternode payout ordering. More...
 
const char * GETMNWINNERS = "mnget"
 The getmnwinners message is used to request winning masternode data from connected peers. More...
 
const char * BUDGETPROPOSAL = "mprop"
 The budgetproposal message is used to broadcast or relay budget proposal metadata to connected peers. More...
 
const char * BUDGETVOTE = "mvote"
 The budgetvote message is used to broadcast or relay budget proposal votes to connected peers. More...
 
const char * BUDGETVOTESYNC = "mnvs"
 The budgetvotesync message is used to request budget vote data from connected peers. More...
 
const char * FINALBUDGET = "fbs"
 The finalbudget message is used to broadcast or relay finalized budget metadata to connected peers. More...
 
const char * FINALBUDGETVOTE = "fbvote"
 The finalbudgetvote message is used to broadcast or relay finalized budget votes to connected peers. More...
 
const char * SYNCSTATUSCOUNT = "ssc"
 The syncstatuscount message is used to track the layer 2 syncing process. More...
 
const char * GETMNLIST = "dseg"
 The dseg message is used to request the Masternode list or an specific entry. More...
 
const char * QFCOMMITMENT = "qfcommit"
 The qfcommit message is used to propagate LLMQ final commitments. More...
 
const char * QSENDRECSIGS = "qsendrecsigs"
 The qsendrecsigs message is used to propagate LLMQ intra-quorum partial recovered signatures. More...
 
const char * MNAUTH = "mnauth"
 The mnauth message is used authenticate MN connections. More...
 
const char * QCONTRIB = "qcontrib"
 
const char * QCOMPLAINT = "qcomplaint"
 
const char * QJUSTIFICATION = "qjustify"
 
const char * QPCOMMITMENT = "qpcommit"
 
const char * QSIGSESANN = "qsigsesann"
 
const char * QSIGSHARESINV = "qsigsinv"
 
const char * QGETSIGSHARES = "qgetsigs"
 
const char * QBSIGSHARES = "qbsigs"
 
const char * QSIGREC = "qsigrec"
 
const char * QSIGSHARE = "qsigshare"
 
const char * CLSIG = "clsig"
 

Detailed Description

Bitcoin protocol message types.

When adding new message types, don't forget to update allNetMessageTypes in protocol.cpp.

Variable Documentation

◆ ADDR

const char * NetMsgType::ADDR = "addr"

The addr (IP address) message relays connection information for peers on the network.

See also
https://bitcoin.org/en/developer-reference#addr

Definition at line 21 of file protocol.cpp.

◆ ADDRV2

const char * NetMsgType::ADDRV2 ="addrv2"

The addrv2 message relays connection information for peers on the network just like the addr message, but is extended to allow gossiping of longer node addresses (see BIP155).

Definition at line 22 of file protocol.cpp.

◆ ALERT

const char * NetMsgType::ALERT = "alert"

The alert message warns nodes of problems that may affect them or the rest of the network.

Since
protocol version 311.
See also
https://bitcoin.org/en/developer-reference#alert

Definition at line 36 of file protocol.cpp.

◆ BLOCK

const char * NetMsgType::BLOCK = "block"

The block message transmits a single serialized block.

See also
https://bitcoin.org/en/developer-reference#block

Definition at line 31 of file protocol.cpp.

◆ BUDGETPROPOSAL

const char * NetMsgType::BUDGETPROPOSAL = "mprop"

The budgetproposal message is used to broadcast or relay budget proposal metadata to connected peers.

Definition at line 49 of file protocol.cpp.

◆ BUDGETVOTE

const char * NetMsgType::BUDGETVOTE = "mvote"

The budgetvote message is used to broadcast or relay budget proposal votes to connected peers.

Definition at line 50 of file protocol.cpp.

◆ BUDGETVOTESYNC

const char * NetMsgType::BUDGETVOTESYNC = "mnvs"

The budgetvotesync message is used to request budget vote data from connected peers.

Definition at line 51 of file protocol.cpp.

◆ CLSIG

const char * NetMsgType::CLSIG = "clsig"

Definition at line 69 of file protocol.cpp.

◆ FILTERADD

const char * NetMsgType::FILTERADD = "filteradd"

The filteradd message tells the receiving peer to add a single element to a previously-set bloom filter, such as a new public key.

Since
protocol version 70001 as described by BIP37. Only available with service bit NODE_BLOOM since protocol version 70011 as described by BIP111.
See also
https://bitcoin.org/en/developer-reference#filteradd

Definition at line 39 of file protocol.cpp.

◆ FILTERCLEAR

const char * NetMsgType::FILTERCLEAR = "filterclear"

The filterclear message tells the receiving peer to remove a previously-set bloom filter.

Since
protocol version 70001 as described by BIP37. Only available with service bit NODE_BLOOM since protocol version 70011 as described by BIP111.
See also
https://bitcoin.org/en/developer-reference#filterclear

Definition at line 40 of file protocol.cpp.

◆ FILTERLOAD

const char * NetMsgType::FILTERLOAD = "filterload"

The filterload message tells the receiving peer to filter all relayed transactions and requested merkle blocks through the provided filter.

Since
protocol version 70001 as described by BIP37. Only available with service bit NODE_BLOOM since protocol version 70011 as described by BIP111.
See also
https://bitcoin.org/en/developer-reference#filterload

Definition at line 38 of file protocol.cpp.

◆ FINALBUDGET

const char * NetMsgType::FINALBUDGET = "fbs"

The finalbudget message is used to broadcast or relay finalized budget metadata to connected peers.

Definition at line 52 of file protocol.cpp.

◆ FINALBUDGETVOTE

const char * NetMsgType::FINALBUDGETVOTE = "fbvote"

The finalbudgetvote message is used to broadcast or relay finalized budget votes to connected peers.

Definition at line 53 of file protocol.cpp.

◆ GETADDR

const char * NetMsgType::GETADDR = "getaddr"

The getaddr message requests an addr message from the receiving node, preferably one with lots of IP addresses of other receiving nodes.

See also
https://bitcoin.org/en/developer-reference#getaddr

Definition at line 32 of file protocol.cpp.

◆ GETBLOCKS

const char * NetMsgType::GETBLOCKS = "getblocks"

The getblocks message requests an inv message that provides block header hashes starting from a particular point in the block chain.

See also
https://bitcoin.org/en/developer-reference#getblocks

Definition at line 27 of file protocol.cpp.

◆ GETDATA

const char * NetMsgType::GETDATA = "getdata"

The getdata message requests one or more data objects from another node.

See also
https://bitcoin.org/en/developer-reference#getdata

Definition at line 25 of file protocol.cpp.

◆ GETHEADERS

const char * NetMsgType::GETHEADERS = "getheaders"

The getheaders message requests a headers message that provides block headers starting from a particular point in the block chain.

Since
protocol version 31800.
See also
https://bitcoin.org/en/developer-reference#getheaders

Definition at line 28 of file protocol.cpp.

◆ GETMNLIST

const char * NetMsgType::GETMNLIST = "dseg"

The dseg message is used to request the Masternode list or an specific entry.

Definition at line 55 of file protocol.cpp.

◆ GETMNWINNERS

const char * NetMsgType::GETMNWINNERS = "mnget"

The getmnwinners message is used to request winning masternode data from connected peers.

Definition at line 48 of file protocol.cpp.

◆ GETSPORKS

const char * NetMsgType::GETSPORKS = "getsporks"

The getsporks message is used to request spork data from connected peers.

Definition at line 43 of file protocol.cpp.

◆ HEADERS

const char * NetMsgType::HEADERS = "headers"

The headers message sends one or more block headers to a node which previously requested certain headers with a getheaders message.

Since
protocol version 31800.
See also
https://bitcoin.org/en/developer-reference#headers

Definition at line 30 of file protocol.cpp.

◆ INV

const char * NetMsgType::INV = "inv"

The inv message (inventory message) transmits one or more inventories of objects known to the transmitting peer.

See also
https://bitcoin.org/en/developer-reference#inv

Definition at line 24 of file protocol.cpp.

◆ MEMPOOL

const char * NetMsgType::MEMPOOL = "mempool"

The mempool message requests the TXIDs of transactions that the receiving node has verified as valid but which have not yet appeared in a block.

Since
protocol version 60002.
See also
https://bitcoin.org/en/developer-reference#mempool

Definition at line 33 of file protocol.cpp.

◆ MERKLEBLOCK

const char * NetMsgType::MERKLEBLOCK = "merkleblock"

The merkleblock message is a reply to a getdata message which requested a block using the inventory type MSG_MERKLEBLOCK.

Since
protocol version 70001 as described by BIP37.
See also
https://bitcoin.org/en/developer-reference#merkleblock

Definition at line 26 of file protocol.cpp.

◆ MNAUTH

const char * NetMsgType::MNAUTH = "mnauth"

The mnauth message is used authenticate MN connections.

Definition at line 58 of file protocol.cpp.

◆ MNBROADCAST

const char * NetMsgType::MNBROADCAST = "mnb"

The mnbroadcast message is used to broadcast masternode startup data to connected peers.

Definition at line 44 of file protocol.cpp.

◆ MNBROADCAST2

const char * NetMsgType::MNBROADCAST2 = "mnb2"

The mnbroadcast2 message is used to broadcast masternode startup data to connected peers Supporting BIP155 node addresses.

Definition at line 45 of file protocol.cpp.

◆ MNPING

const char * NetMsgType::MNPING = "mnp"

The mnping message is used to ensure a masternode is still active.

Definition at line 46 of file protocol.cpp.

◆ MNWINNER

const char * NetMsgType::MNWINNER = "mnw"

The mnwinner message is used to relay and distribute consensus for masternode payout ordering.

Definition at line 47 of file protocol.cpp.

◆ NOTFOUND

const char * NetMsgType::NOTFOUND = "notfound"

The notfound message is a reply to a getdata message which requested an object the receiving node does not have available for relay.

@ince protocol version 70001.

See also
https://bitcoin.org/en/developer-reference#notfound

Definition at line 37 of file protocol.cpp.

◆ PING

const char * NetMsgType::PING = "ping"

The ping message is sent periodically to help confirm that the receiving peer is still connected.

See also
https://bitcoin.org/en/developer-reference#ping

Definition at line 34 of file protocol.cpp.

◆ PONG

const char * NetMsgType::PONG = "pong"

The pong message replies to a ping message, proving to the pinging node that the ponging node is still alive.

Since
protocol version 60001 as described by BIP31.
See also
https://bitcoin.org/en/developer-reference#pong

Definition at line 35 of file protocol.cpp.

◆ QBSIGSHARES

const char * NetMsgType::QBSIGSHARES = "qbsigs"

Definition at line 66 of file protocol.cpp.

◆ QCOMPLAINT

const char * NetMsgType::QCOMPLAINT = "qcomplaint"

Definition at line 60 of file protocol.cpp.

◆ QCONTRIB

const char * NetMsgType::QCONTRIB = "qcontrib"

Definition at line 59 of file protocol.cpp.

◆ QFCOMMITMENT

const char * NetMsgType::QFCOMMITMENT = "qfcommit"

The qfcommit message is used to propagate LLMQ final commitments.

Definition at line 56 of file protocol.cpp.

◆ QGETSIGSHARES

const char * NetMsgType::QGETSIGSHARES = "qgetsigs"

Definition at line 65 of file protocol.cpp.

◆ QJUSTIFICATION

const char * NetMsgType::QJUSTIFICATION = "qjustify"

Definition at line 61 of file protocol.cpp.

◆ QPCOMMITMENT

const char * NetMsgType::QPCOMMITMENT = "qpcommit"

Definition at line 62 of file protocol.cpp.

◆ QSENDRECSIGS

const char * NetMsgType::QSENDRECSIGS = "qsendrecsigs"

The qsendrecsigs message is used to propagate LLMQ intra-quorum partial recovered signatures.

Definition at line 57 of file protocol.cpp.

◆ QSIGREC

const char * NetMsgType::QSIGREC = "qsigrec"

Definition at line 67 of file protocol.cpp.

◆ QSIGSESANN

const char * NetMsgType::QSIGSESANN = "qsigsesann"

Definition at line 63 of file protocol.cpp.

◆ QSIGSHARE

const char * NetMsgType::QSIGSHARE = "qsigshare"

Definition at line 68 of file protocol.cpp.

◆ QSIGSHARESINV

const char * NetMsgType::QSIGSHARESINV = "qsigsinv"

Definition at line 64 of file protocol.cpp.

◆ SENDADDRV2

const char * NetMsgType::SENDADDRV2 ="sendaddrv2"

The sendaddrv2 message signals support for receiving ADDRV2 messages (BIP155).

It also implies that its sender can encode as ADDRV2 and would send ADDRV2 instead of ADDR to a peer that has signaled ADDRV2 support by sending SENDADDRV2.

Definition at line 23 of file protocol.cpp.

◆ SENDHEADERS

const char * NetMsgType::SENDHEADERS = "sendheaders"

Indicates that a node prefers to receive new block announcements via a "headers" message rather than an "inv".

Since
protocol version 70012 as described by BIP130.
See also
https://bitcoin.org/en/developer-reference#sendheaders

Definition at line 41 of file protocol.cpp.

◆ SPORK

const char * NetMsgType::SPORK = "spork"

The spork message is used to send spork values to connected peers.

Definition at line 42 of file protocol.cpp.

◆ SYNCSTATUSCOUNT

const char * NetMsgType::SYNCSTATUSCOUNT = "ssc"

The syncstatuscount message is used to track the layer 2 syncing process.

Definition at line 54 of file protocol.cpp.

◆ TX

const char * NetMsgType::TX = "tx"

The tx message transmits a single transaction.

See also
https://bitcoin.org/en/developer-reference#tx

Definition at line 29 of file protocol.cpp.

◆ VERACK

const char * NetMsgType::VERACK = "verack"

The verack message acknowledges a previously-received version message, informing the connecting node that it can begin to send other messages.

See also
https://bitcoin.org/en/developer-reference#verack

Definition at line 20 of file protocol.cpp.

◆ VERSION

const char * NetMsgType::VERSION = "version"

The version message provides information about the transmitting node to the receiving node at the beginning of a connection.

See also
https://bitcoin.org/en/developer-reference#version

Definition at line 19 of file protocol.cpp.