mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-11-24 14:35:53 +00:00
set up commands
This commit is contained in:
parent
3b317fcb98
commit
cc937a2d99
@ -165,6 +165,23 @@ const (
|
|||||||
CmdGetCoinSupplyResponseMessage
|
CmdGetCoinSupplyResponseMessage
|
||||||
CmdGetAcceptingBlockHashOfTxRequestMessage
|
CmdGetAcceptingBlockHashOfTxRequestMessage
|
||||||
CmdGetAcceptingBlockHashOfTxResponseMessage
|
CmdGetAcceptingBlockHashOfTxResponseMessage
|
||||||
|
|
||||||
|
CmdGetAcceptingBlockHashesOfTxsRequestMessage
|
||||||
|
CmdGetAcceptingBlockHashesOfTxsResponseMessage
|
||||||
|
CmdGetAcceptingBlockOfTxRequestMessage
|
||||||
|
CmdGetAcceptingBlockOfTxResponseMessage
|
||||||
|
CmdGetAcceptingBlocksOfTxsRequestMessage
|
||||||
|
CmdGetAcceptingBlocksOfTxsResponseMessage
|
||||||
|
CmdGetIncludingBlockHashOfTxRequestMessage
|
||||||
|
CmdGetIncludingBlockHashOfTxResponseMessage
|
||||||
|
CmdGetTxRequestMessage
|
||||||
|
CmdGetTxResponseMessage
|
||||||
|
CmdGetTxsRequestMessage
|
||||||
|
CmdGetTxsResponseMessage
|
||||||
|
CmdGetTxConfirmationRequestMessage
|
||||||
|
CmdGetTxConfirmationResponseMessage
|
||||||
|
CmdGetTxsConfirmationRequestMessage
|
||||||
|
CmdGetTxsConfirmationResponseMessage
|
||||||
)
|
)
|
||||||
|
|
||||||
// ProtocolMessageCommandToString maps all MessageCommands to their string representation
|
// ProtocolMessageCommandToString maps all MessageCommands to their string representation
|
||||||
@ -304,6 +321,22 @@ var RPCMessageCommandToString = map[MessageCommand]string{
|
|||||||
CmdGetCoinSupplyResponseMessage: "GetCoinSupplyResponse",
|
CmdGetCoinSupplyResponseMessage: "GetCoinSupplyResponse",
|
||||||
CmdGetAcceptingBlockHashOfTxRequestMessage: "GetAcceptingBlockHashOfTxRequest",
|
CmdGetAcceptingBlockHashOfTxRequestMessage: "GetAcceptingBlockHashOfTxRequest",
|
||||||
CmdGetAcceptingBlockHashOfTxResponseMessage: "GetAcceptingBlockHashOfTxResponse",
|
CmdGetAcceptingBlockHashOfTxResponseMessage: "GetAcceptingBlockHashOfTxResponse",
|
||||||
|
CmdGetAcceptingBlockHashesOfTxsRequestMessage: "GetAcceptingBlockHashesOfTxsRequest",
|
||||||
|
CmdGetAcceptingBlockHashesOfTxsResponseMessage: "GetAcceptingBlockHashesOfTxsResponse",
|
||||||
|
CmdGetAcceptingBlockOfTxRequestMessage: "GetAcceptingBlockOfTxRequest",
|
||||||
|
CmdGetAcceptingBlockOfTxResponseMessage: "GetAcceptingBlockOfTxResponse",
|
||||||
|
CmdGetAcceptingBlocksOfTxsRequestMessage: "GetAcceptingBlocksOfTxsRequest",
|
||||||
|
CmdGetAcceptingBlocksOfTxsResponseMessage: "GetAcceptingBlocksOfTxsResponse",
|
||||||
|
CmdGetIncludingBlockHashOfTxRequestMessage: "GetIncludingBlockHashOfTxRequest",
|
||||||
|
CmdGetIncludingBlockHashOfTxResponseMessage: "GetIncludingBlockHashOfTxResponse",
|
||||||
|
CmdGetTxRequestMessage: "GetTxRequest",
|
||||||
|
CmdGetTxResponseMessage: "GetTxResponse",
|
||||||
|
CmdGetTxsRequestMessage: "GetTxsRequest",
|
||||||
|
CmdGetTxsResponseMessage: "GetTxsResponse",
|
||||||
|
CmdGetTxConfirmationRequestMessage: "GetTxConfirmationRequest",
|
||||||
|
CmdGetTxConfirmationResponseMessage: "GetTxConfirmationResponse",
|
||||||
|
CmdGetTxsConfirmationRequestMessage: "GetTxsConfirmationRequest",
|
||||||
|
CmdGetTxsConfirmationResponseMessage: "GetTxsConfirmationResponse",
|
||||||
}
|
}
|
||||||
|
|
||||||
// Message is an interface that describes a kaspa message. A type that
|
// Message is an interface that describes a kaspa message. A type that
|
||||||
|
|||||||
@ -139,6 +139,7 @@ message KaspadMessage {
|
|||||||
GetMempoolEntriesByAddressesResponseMessage getMempoolEntriesByAddressesResponse = 1085;
|
GetMempoolEntriesByAddressesResponseMessage getMempoolEntriesByAddressesResponse = 1085;
|
||||||
GetCoinSupplyRequestMessage getCoinSupplyRequest = 1086;
|
GetCoinSupplyRequestMessage getCoinSupplyRequest = 1086;
|
||||||
GetCoinSupplyResponseMessage getCoinSupplyResponse= 1087;
|
GetCoinSupplyResponseMessage getCoinSupplyResponse= 1087;
|
||||||
|
|
||||||
GetAcceptingBlockHashOfTxRequestMessage getAcceptingBlockHashOfTxRequest = 1088;
|
GetAcceptingBlockHashOfTxRequestMessage getAcceptingBlockHashOfTxRequest = 1088;
|
||||||
GetAcceptingBlockHashOfTxResponseMessage getAcceptingBlockHashOfTxResponse = 1089;
|
GetAcceptingBlockHashOfTxResponseMessage getAcceptingBlockHashOfTxResponse = 1089;
|
||||||
GetAcceptingBlockHashesOfTxsRequestMessage getAcceptingBlockHashesOfTxsRequest = 1090;
|
GetAcceptingBlockHashesOfTxsRequestMessage getAcceptingBlockHashesOfTxsRequest = 1090;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user