package protowire

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service P2P

messages.proto:130

service RPC

messages.proto:134

message AddPeerRequestMessage

rpc.proto:283

AddPeerRequestMessage adds a peer to kaspad's outgoing connection list. This will, in most cases, result in kaspad connecting to said peer.

Used in: KaspadMessage

message AddPeerResponseMessage

rpc.proto:290

Used in: KaspadMessage

message AddressesMessage

p2p.proto:11

Used in: KaspadMessage

message BanRequestMessage

rpc.proto:597

BanRequestMessage bans the given ip.

Used in: KaspadMessage

message BanResponseMessage

rpc.proto:601

Used in: KaspadMessage

message BlockAddedNotificationMessage

rpc.proto:191

BlockAddedNotificationMessage is sent whenever a blocks has been added (NOT accepted) into the DAG. See: NotifyBlockAddedRequestMessage

Used in: KaspadMessage

message BlockGhostdagDataHashPair

p2p.proto:220

Used in: BlockWithTrustedDataMessage

message BlockHeader

p2p.proto:66

Used in: BlockHeadersMessage, BlockMessage, PruningPointProofHeaderArray, PruningPointsMessage

message BlockHeadersMessage

p2p.proto:201

Used in: KaspadMessage

message BlockLevelParents

p2p.proto:81

Used in: BlockHeader

message BlockLocatorMessage

p2p.proto:94

Used in: KaspadMessage

message BlockMessage

p2p.proto:61

Used in: BlockWithTrustedDataMessage, DaaBlock, KaspadMessage

message BlockWithTrustedDataMessage

p2p.proto:208

Used in: KaspadMessage

message BluesAnticoneSizes

p2p.proto:234

Used in: GhostdagData

message DaaBlock

p2p.proto:215

Used in: BlockWithTrustedDataMessage

message DoneBlocksWithTrustedDataMessage

p2p.proto:239

Used in: KaspadMessage

(message has no fields)

message DoneHeadersMessage

p2p.proto:106

Used in: KaspadMessage

(message has no fields)

message DonePruningPointUtxoSetChunksMessage

p2p.proto:179

Used in: KaspadMessage

(message has no fields)

message EstimateNetworkHashesPerSecondRequestMessage

rpc.proto:625

Used in: KaspadMessage

message EstimateNetworkHashesPerSecondResponseMessage

rpc.proto:630

Used in: KaspadMessage

message FinalityConflictNotificationMessage

rpc.proto:429

Used in: KaspadMessage

message FinalityConflictResolvedNotificationMessage

rpc.proto:433

Used in: KaspadMessage

message GetBlockCountRequestMessage

rpc.proto:387

GetBlockCountRequestMessage requests the current number of blocks in this kaspad. Note that this number may decrease as pruning occurs.

Used in: KaspadMessage

(message has no fields)

message GetBlockCountResponseMessage

rpc.proto:390

Used in: KaspadMessage

message GetBlockDagInfoRequestMessage

rpc.proto:398

GetBlockDagInfoRequestMessage requests general information about the current state of this kaspad's DAG.

Used in: KaspadMessage

(message has no fields)

message GetBlockDagInfoResponseMessage

rpc.proto:401

Used in: KaspadMessage

message GetBlockRequestMessage

rpc.proto:330

GetBlockRequestMessage requests information about a specific block

Used in: KaspadMessage

message GetBlockResponseMessage

rpc.proto:338

Used in: KaspadMessage

message GetBlockTemplateRequestMessage

rpc.proto:159

GetBlockTemplateRequestMessage requests a current block template. Callers are expected to solve the block template and submit it using the submitBlock call See: SubmitBlockRequestMessage

Used in: KaspadMessage

message GetBlockTemplateResponseMessage

rpc.proto:165

Used in: KaspadMessage

message GetBlocksRequestMessage

rpc.proto:373

GetBlocksRequestMessage requests blocks between a certain block lowHash up to this kaspad's current virtual.

Used in: KaspadMessage

message GetBlocksResponseMessage

rpc.proto:379

Used in: KaspadMessage

message GetConnectedPeerInfoMessage

rpc.proto:259

Used in: GetConnectedPeerInfoResponseMessage

message GetConnectedPeerInfoRequestMessage

rpc.proto:251

GetConnectedPeerInfoRequestMessage requests information about all the p2p peers currently connected to this kaspad.

Used in: KaspadMessage

(message has no fields)

message GetConnectedPeerInfoResponseMessage

rpc.proto:254

Used in: KaspadMessage

message GetCurrentNetworkRequestMessage

rpc.proto:128

GetCurrentNetworkRequestMessage requests the network kaspad is currently running against. Possible networks are: Mainnet, Testnet, Simnet, Devnet

Used in: KaspadMessage

(message has no fields)

message GetCurrentNetworkResponseMessage

rpc.proto:131

Used in: KaspadMessage

message GetHeadersRequestMessage

rpc.proto:447

GetHeadersRequestMessage requests headers between the given startHash and the current virtual, up to the given limit.

Used in: KaspadMessage

message GetHeadersResponseMessage

rpc.proto:453

Used in: KaspadMessage

message GetInfoRequestMessage

rpc.proto:615

GetInfoRequestMessage returns info about the node.

Used in: KaspadMessage

(message has no fields)

message GetInfoResponseMessage

rpc.proto:618

Used in: KaspadMessage

message GetMempoolEntriesRequestMessage

rpc.proto:235

GetMempoolEntriesRequestMessage requests information about all the transactions currently in the mempool.

Used in: KaspadMessage

(message has no fields)

message GetMempoolEntriesResponseMessage

rpc.proto:238

Used in: KaspadMessage

message GetMempoolEntryRequestMessage

rpc.proto:222

GetMempoolEntryRequestMessage requests information about a specific transaction in the mempool.

Used in: KaspadMessage

message GetMempoolEntryResponseMessage

rpc.proto:227

Used in: KaspadMessage

message GetPeerAddressesKnownAddressMessage

rpc.proto:206

Used in: GetPeerAddressesResponseMessage

message GetPeerAddressesRequestMessage

rpc.proto:197

GetPeerAddressesRequestMessage requests the list of known kaspad addresses in the current network. (mainnet, testnet, etc.)

Used in: KaspadMessage

(message has no fields)

message GetPeerAddressesResponseMessage

rpc.proto:200

Used in: KaspadMessage

message GetSelectedTipHashRequestMessage

rpc.proto:212

GetSelectedTipHashRequestMessage requests the hash of the current virtual's selected parent.

Used in: KaspadMessage

(message has no fields)

message GetSelectedTipHashResponseMessage

rpc.proto:215

Used in: KaspadMessage

message GetSubnetworkRequestMessage

rpc.proto:346

GetSubnetworkRequestMessage requests information about a specific subnetwork Currently unimplemented

Used in: KaspadMessage

message GetSubnetworkResponseMessage

rpc.proto:350

Used in: KaspadMessage

message GetUtxosByAddressesRequestMessage

rpc.proto:503

GetUtxosByAddressesRequestMessage requests all current UTXOs for the given kaspad addresses This call is only available when this kaspad was started with `--utxoindex`

Used in: KaspadMessage

message GetUtxosByAddressesResponseMessage

rpc.proto:507

Used in: KaspadMessage

message GetVirtualSelectedParentBlueScoreRequestMessage

rpc.proto:515

GetVirtualSelectedParentBlueScoreRequestMessage requests the blue score of the current selected parent of the virtual block.

Used in: KaspadMessage

(message has no fields)

message GetVirtualSelectedParentBlueScoreResponseMessage

rpc.proto:518

Used in: KaspadMessage

message GetVirtualSelectedParentChainFromBlockRequestMessage

rpc.proto:357

GetVirtualSelectedParentChainFromBlockRequestMessage requests the virtual selected parent chain from some startHash to this kaspad's current virtual

Used in: KaspadMessage

message GetVirtualSelectedParentChainFromBlockResponseMessage

rpc.proto:361

Used in: KaspadMessage

message GhostdagData

p2p.proto:225

Used in: BlockGhostdagDataHashPair, DaaBlock

message Hash

p2p.proto:85

Used in: BlockGhostdagDataHashPair, BlockHeader, BlockLevelParents, BlockLocatorMessage, BluesAnticoneSizes, GhostdagData, IbdBlockLocatorHighestHashMessage, IbdBlockLocatorMessage, InvRelayBlockMessage, RequestBlockLocatorMessage, RequestHeadersMessage, RequestIBDBlocksMessage, RequestPruningPointUTXOSetMessage, RequestRelayBlocksMessage

message IbdBlockLocatorHighestHashMessage

p2p.proto:194

Used in: KaspadMessage

message IbdBlockLocatorHighestHashNotFoundMessage

p2p.proto:198

Used in: KaspadMessage

(message has no fields)

message IbdBlockLocatorMessage

p2p.proto:189

Used in: KaspadMessage

message InvRelayBlockMessage

p2p.proto:121

Used in: KaspadMessage

message InvTransactionsMessage

p2p.proto:125

Used in: KaspadMessage

message KaspadMessage

messages.proto:9

Used as request type in: P2P.MessageStream, RPC.MessageStream

Used as response type in: P2P.MessageStream, RPC.MessageStream

message MempoolEntry

rpc.proto:244

Used in: GetMempoolEntriesResponseMessage, GetMempoolEntryResponseMessage

message NetAddress

p2p.proto:15

Used in: AddressesMessage, VersionMessage

message NewBlockTemplateNotificationMessage

rpc.proto:650

NewBlockTemplateNotificationMessage is sent whenever a new updated block template is available for miners. See NotifyNewBlockTemplateRequestMessage

Used in: KaspadMessage

(message has no fields)

message NotifyBlockAddedRequestMessage

rpc.proto:180

NotifyBlockAddedRequestMessage registers this connection for blockAdded notifications. See: BlockAddedNotificationMessage

Used in: KaspadMessage

(message has no fields)

message NotifyBlockAddedResponseMessage

rpc.proto:183

Used in: KaspadMessage

message NotifyFinalityConflictsRequestMessage

rpc.proto:422

Used in: KaspadMessage

(message has no fields)

message NotifyFinalityConflictsResponseMessage

rpc.proto:425

Used in: KaspadMessage

message NotifyNewBlockTemplateRequestMessage

rpc.proto:639

NotifyNewBlockTemplateRequestMessage registers this connection for NewBlockTemplate notifications. See: NewBlockTemplateNotificationMessage

Used in: KaspadMessage

(message has no fields)

message NotifyNewBlockTemplateResponseMessage

rpc.proto:642

Used in: KaspadMessage

message NotifyPruningPointUTXOSetOverrideRequestMessage

rpc.proto:568

NotifyPruningPointUTXOSetOverrideRequestMessage registers this connection for pruning point UTXO set override notifications. This call is only available when this kaspad was started with `--utxoindex` See: NotifyPruningPointUTXOSetOverrideResponseMessage

Used in: KaspadMessage

(message has no fields)

message NotifyPruningPointUTXOSetOverrideResponseMessage

rpc.proto:572

Used in: KaspadMessage

message NotifyUtxosChangedRequestMessage

rpc.proto:464

NotifyUtxosChangedRequestMessage registers this connection for utxoChanged notifications for the given addresses. This call is only available when this kaspad was started with `--utxoindex` See: UtxosChangedNotificationMessage

Used in: KaspadMessage

message NotifyUtxosChangedResponseMessage

rpc.proto:468

Used in: KaspadMessage

message NotifyVirtualDaaScoreChangedRequestMessage

rpc.proto:547

NotifyVirtualDaaScoreChangedRequestMessage registers this connection for virtualDaaScoreChanged notifications. See: VirtualDaaScoreChangedNotificationMessage

Used in: KaspadMessage

(message has no fields)

message NotifyVirtualDaaScoreChangedResponseMessage

rpc.proto:550

Used in: KaspadMessage

message NotifyVirtualSelectedParentBlueScoreChangedRequestMessage

rpc.proto:528

NotifyVirtualSelectedParentBlueScoreChangedRequestMessage registers this connection for virtualSelectedParentBlueScoreChanged notifications. See: VirtualSelectedParentBlueScoreChangedNotificationMessage

Used in: KaspadMessage

(message has no fields)

message NotifyVirtualSelectedParentBlueScoreChangedResponseMessage

rpc.proto:531

Used in: KaspadMessage

message NotifyVirtualSelectedParentChainChangedRequestMessage

rpc.proto:310

NotifyVirtualSelectedParentChainChangedRequestMessage registers this connection for virtualSelectedParentChainChanged notifications. See: VirtualSelectedParentChainChangedNotificationMessage

Used in: KaspadMessage

(message has no fields)

message NotifyVirtualSelectedParentChainChangedResponseMessage

rpc.proto:313

Used in: KaspadMessage

message Outpoint

p2p.proto:43

Used in: OutpointAndUtxoEntryPair, TransactionInput

message OutpointAndUtxoEntryPair

p2p.proto:164

Used in: PruningPointUtxoSetChunkMessage

message PingMessage

p2p.proto:129

Used in: KaspadMessage

message PongMessage

p2p.proto:133

Used in: KaspadMessage

message PruningPointProofHeaderArray

p2p.proto:253

Used in: PruningPointProofMessage

message PruningPointProofMessage

p2p.proto:249

Used in: KaspadMessage

message PruningPointUTXOSetOverrideNotificationMessage

rpc.proto:580

PruningPointUTXOSetOverrideNotificationMessage is sent whenever the UTXO index resets due to pruning point change via IBD. See NotifyPruningPointUTXOSetOverrideRequestMessage

Used in: KaspadMessage

(message has no fields)

message PruningPointUtxoSetChunkMessage

p2p.proto:160

Used in: KaspadMessage

message PruningPointsMessage

p2p.proto:242

Used in: KaspadMessage

message RPCError

rpc.proto:16

RPCError represents a generic non-internal error. Receivers of any ResponseMessage are expected to check whether its error field is not null.

Used in: AddPeerResponseMessage, BanResponseMessage, EstimateNetworkHashesPerSecondResponseMessage, GetBlockCountResponseMessage, GetBlockDagInfoResponseMessage, GetBlockResponseMessage, GetBlockTemplateResponseMessage, GetBlocksResponseMessage, GetConnectedPeerInfoResponseMessage, GetCurrentNetworkResponseMessage, GetHeadersResponseMessage, GetInfoResponseMessage, GetMempoolEntriesResponseMessage, GetMempoolEntryResponseMessage, GetPeerAddressesResponseMessage, GetSelectedTipHashResponseMessage, GetSubnetworkResponseMessage, GetUtxosByAddressesResponseMessage, GetVirtualSelectedParentBlueScoreResponseMessage, GetVirtualSelectedParentChainFromBlockResponseMessage, NotifyBlockAddedResponseMessage, NotifyFinalityConflictsResponseMessage, NotifyNewBlockTemplateResponseMessage, NotifyPruningPointUTXOSetOverrideResponseMessage, NotifyUtxosChangedResponseMessage, NotifyVirtualDaaScoreChangedResponseMessage, NotifyVirtualSelectedParentBlueScoreChangedResponseMessage, NotifyVirtualSelectedParentChainChangedResponseMessage, ResolveFinalityConflictResponseMessage, ShutDownResponseMessage, StopNotifyingPruningPointUTXOSetOverrideResponseMessage, StopNotifyingUtxosChangedResponseMessage, SubmitBlockResponseMessage, SubmitTransactionResponseMessage, UnbanResponseMessage

message RejectMessage

p2p.proto:152

Used in: KaspadMessage

message RequestAddressesMessage

p2p.proto:6

Used in: KaspadMessage

message RequestBlockLocatorMessage

p2p.proto:89

Used in: KaspadMessage

message RequestHeadersMessage

p2p.proto:98

Used in: KaspadMessage

message RequestIBDBlocksMessage

p2p.proto:182

Used in: KaspadMessage

message RequestNextHeadersMessage

p2p.proto:103

Used in: KaspadMessage

(message has no fields)

message RequestNextPruningPointUtxoSetChunkMessage

p2p.proto:176

Used in: KaspadMessage

(message has no fields)

message RequestPruningPointAndItsAnticoneMessage

p2p.proto:205

Used in: KaspadMessage

(message has no fields)

message RequestPruningPointProofMessage

p2p.proto:246

Used in: KaspadMessage

(message has no fields)

message RequestPruningPointUTXOSetMessage

p2p.proto:156

Used in: KaspadMessage

message RequestRelayBlocksMessage

p2p.proto:109

Used in: KaspadMessage

message RequestTransactionsMessage

p2p.proto:113

Used in: KaspadMessage

message ResolveFinalityConflictRequestMessage

rpc.proto:414

Used in: KaspadMessage

message ResolveFinalityConflictResponseMessage

rpc.proto:418

Used in: KaspadMessage

message RpcBlock

rpc.proto:20

Used in: BlockAddedNotificationMessage, GetBlockResponseMessage, GetBlockTemplateResponseMessage, GetBlocksResponseMessage, SubmitBlockRequestMessage

message RpcBlockHeader

rpc.proto:26

Used in: RpcBlock

message RpcBlockLevelParents

rpc.proto:41

Used in: RpcBlockHeader

message RpcBlockVerboseData

rpc.proto:45

Used in: RpcBlock

message RpcCovenantBinding

rpc.proto:91

Used in: RpcTransactionOutput

message RpcOutpoint

rpc.proto:96

Used in: RpcTransactionInput, UtxosByAddressesEntry

message RpcScriptPublicKey

rpc.proto:79

Used in: RpcTransactionOutput, RpcUtxoEntry

message RpcTransaction

rpc.proto:58

Used in: MempoolEntry, RpcBlock, SubmitTransactionRequestMessage

message RpcTransactionInput

rpc.proto:70

Used in: RpcTransaction

message RpcTransactionInputVerboseData

rpc.proto:117

Used in: RpcTransactionInput

(message has no fields)

message RpcTransactionOutput

rpc.proto:84

Used in: RpcTransaction

message RpcTransactionOutputVerboseData

rpc.proto:120

Used in: RpcTransactionOutput

message RpcTransactionVerboseData

rpc.proto:109

Used in: RpcTransaction

message RpcUtxoEntry

rpc.proto:101

Used in: UtxosByAddressesEntry

message ScriptPublicKey

p2p.proto:51

Used in: TransactionOutput, UtxoEntry

message ShutDownRequestMessage

rpc.proto:438

ShutDownRequestMessage shuts down this kaspad.

Used in: KaspadMessage

(message has no fields)

message ShutDownResponseMessage

rpc.proto:441

Used in: KaspadMessage

message StopNotifyingPruningPointUTXOSetOverrideRequestMessage

rpc.proto:589

StopNotifyingPruningPointUTXOSetOverrideRequestMessage unregisters this connection for pruning point UTXO set override notifications. This call is only available when this kaspad was started with `--utxoindex` See: PruningPointUTXOSetOverrideNotificationMessage

Used in: KaspadMessage

(message has no fields)

message StopNotifyingPruningPointUTXOSetOverrideResponseMessage

rpc.proto:592

Used in: KaspadMessage

message StopNotifyingUtxosChangedRequestMessage

rpc.proto:492

StopNotifyingUtxosChangedRequestMessage unregisters this connection for utxoChanged notifications for the given addresses. This call is only available when this kaspad was started with `--utxoindex` See: UtxosChangedNotificationMessage

Used in: KaspadMessage

message StopNotifyingUtxosChangedResponseMessage

rpc.proto:496

Used in: KaspadMessage

message SubmitBlockRequestMessage

rpc.proto:140

SubmitBlockRequestMessage requests to submit a block into the DAG. Blocks are generally expected to have been generated using the getBlockTemplate call. See: GetBlockTemplateRequestMessage

Used in: KaspadMessage

message SubmitBlockResponseMessage

rpc.proto:145

Used in: KaspadMessage

enum SubmitBlockResponseMessage.RejectReason

rpc.proto:146

Used in: SubmitBlockResponseMessage

message SubmitTransactionRequestMessage

rpc.proto:295

SubmitTransactionRequestMessage submits a transaction to the mempool

Used in: KaspadMessage

message SubmitTransactionResponseMessage

rpc.proto:300

Used in: KaspadMessage

message SubnetworkId

p2p.proto:21

Used in: RequestAddressesMessage, TransactionMessage, VersionMessage

message TransactionId

p2p.proto:48

Used in: InvTransactionsMessage, Outpoint, RequestTransactionsMessage, TransactionNotFoundMessage

message TransactionInput

p2p.proto:36

Used in: TransactionMessage

message TransactionMessage

p2p.proto:25

Used in: BlockMessage, KaspadMessage

message TransactionNotFoundMessage

p2p.proto:117

Used in: KaspadMessage

message TransactionOutput

p2p.proto:56

Used in: TransactionMessage

message UnbanRequestMessage

rpc.proto:606

UnbanRequestMessage unbans the given ip.

Used in: KaspadMessage

message UnbanResponseMessage

rpc.proto:610

Used in: KaspadMessage

message UnexpectedPruningPointMessage

p2p.proto:186

Used in: KaspadMessage

(message has no fields)

message UtxoEntry

p2p.proto:169

Used in: OutpointAndUtxoEntryPair

message UtxosByAddressesEntry

rpc.proto:480

Used in: GetUtxosByAddressesResponseMessage, UtxosChangedNotificationMessage

message UtxosChangedNotificationMessage

rpc.proto:475

UtxosChangedNotificationMessage is sent whenever the UTXO index had been updated. See: NotifyUtxosChangedRequestMessage

Used in: KaspadMessage

message VerackMessage

p2p.proto:137

Used in: KaspadMessage

(message has no fields)

message VersionMessage

p2p.proto:140

Used in: KaspadMessage

message VirtualDaaScoreChangedNotificationMessage

rpc.proto:558

VirtualDaaScoreChangedNotificationMessage is sent whenever the DAA score of the virtual changes. See NotifyVirtualDaaScoreChangedRequestMessage

Used in: KaspadMessage

message VirtualSelectedParentBlueScoreChangedNotificationMessage

rpc.proto:539

VirtualSelectedParentBlueScoreChangedNotificationMessage is sent whenever the blue score of the virtual's selected parent changes. See NotifyVirtualSelectedParentBlueScoreChangedRequestMessage

Used in: KaspadMessage

message VirtualSelectedParentChainChangedNotificationMessage

rpc.proto:321

VirtualSelectedParentChainChangedNotificationMessage is sent whenever the DAG's selected parent chain had changed. See: NotifyVirtualSelectedParentChainChangedRequestMessage

Used in: KaspadMessage