sawtooth-sdk
Version:
An SDK for interacting with the Hyperledger Sawtooth distributed ledger.
1,756 lines • 36.3 kB
JSON
{
"options": {
"java_multiple_files": true,
"java_package": "sawtooth.sdk.protobuf",
"go_package": "validator_pb2"
},
"nested": {
"ConnectionRequest": {
"fields": {
"endpoint": {
"type": "string",
"id": 1
}
}
},
"RoleType": {
"values": {
"ROLE_TYPE_UNSET": 0,
"ALL": 1,
"NETWORK": 2
}
},
"ConnectionResponse": {
"fields": {
"roles": {
"rule": "repeated",
"type": "RoleEntry",
"id": 1
},
"status": {
"type": "Status",
"id": 2
}
},
"nested": {
"Status": {
"values": {
"STATUS_UNSET": 0,
"OK": 1,
"ERROR": 2
}
},
"AuthorizationType": {
"values": {
"AUTHORIZATION_TYPE_UNSET": 0,
"TRUST": 1,
"CHALLENGE": 2
}
},
"RoleEntry": {
"fields": {
"role": {
"type": "RoleType",
"id": 1
},
"authType": {
"type": "AuthorizationType",
"id": 2
}
}
}
}
},
"AuthorizationTrustRequest": {
"fields": {
"roles": {
"rule": "repeated",
"type": "RoleType",
"id": 1
},
"publicKey": {
"type": "string",
"id": 2
}
}
},
"AuthorizationTrustResponse": {
"fields": {
"roles": {
"rule": "repeated",
"type": "RoleType",
"id": 1
}
}
},
"AuthorizationViolation": {
"fields": {
"violation": {
"type": "RoleType",
"id": 1
}
}
},
"AuthorizationChallengeRequest": {
"fields": {}
},
"AuthorizationChallengeResponse": {
"fields": {
"payload": {
"type": "bytes",
"id": 1
}
}
},
"AuthorizationChallengeSubmit": {
"fields": {
"publicKey": {
"type": "string",
"id": 1
},
"signature": {
"type": "string",
"id": 3
},
"roles": {
"rule": "repeated",
"type": "RoleType",
"id": 4
}
}
},
"AuthorizationChallengeResult": {
"fields": {
"roles": {
"rule": "repeated",
"type": "RoleType",
"id": 1
}
}
},
"BatchHeader": {
"fields": {
"signerPublicKey": {
"type": "string",
"id": 1
},
"transactionIds": {
"rule": "repeated",
"type": "string",
"id": 2
}
}
},
"Batch": {
"fields": {
"header": {
"type": "bytes",
"id": 1
},
"headerSignature": {
"type": "string",
"id": 2
},
"transactions": {
"rule": "repeated",
"type": "Transaction",
"id": 3
},
"trace": {
"type": "bool",
"id": 4
}
}
},
"BatchList": {
"fields": {
"batches": {
"rule": "repeated",
"type": "Batch",
"id": 1
}
}
},
"TransactionHeader": {
"fields": {
"batcherPublicKey": {
"type": "string",
"id": 1
},
"dependencies": {
"rule": "repeated",
"type": "string",
"id": 2
},
"familyName": {
"type": "string",
"id": 3
},
"familyVersion": {
"type": "string",
"id": 4
},
"inputs": {
"rule": "repeated",
"type": "string",
"id": 5
},
"nonce": {
"type": "string",
"id": 6
},
"outputs": {
"rule": "repeated",
"type": "string",
"id": 7
},
"payloadSha512": {
"type": "string",
"id": 9
},
"signerPublicKey": {
"type": "string",
"id": 10
}
}
},
"Transaction": {
"fields": {
"header": {
"type": "bytes",
"id": 1
},
"headerSignature": {
"type": "string",
"id": 2
},
"payload": {
"type": "bytes",
"id": 3
}
}
},
"TransactionList": {
"fields": {
"transactions": {
"rule": "repeated",
"type": "Transaction",
"id": 1
}
}
},
"BlockHeader": {
"fields": {
"blockNum": {
"type": "uint64",
"id": 1
},
"previousBlockId": {
"type": "string",
"id": 2
},
"signerPublicKey": {
"type": "string",
"id": 3
},
"batchIds": {
"rule": "repeated",
"type": "string",
"id": 4
},
"consensus": {
"type": "bytes",
"id": 5
},
"stateRootHash": {
"type": "string",
"id": 6
}
}
},
"Block": {
"fields": {
"header": {
"type": "bytes",
"id": 1
},
"headerSignature": {
"type": "string",
"id": 2
},
"batches": {
"rule": "repeated",
"type": "Batch",
"id": 3
}
}
},
"ClientBatchListRequest": {
"fields": {
"headId": {
"type": "string",
"id": 1
},
"batchIds": {
"rule": "repeated",
"type": "string",
"id": 2
},
"paging": {
"type": "ClientPagingControls",
"id": 3
},
"sorting": {
"rule": "repeated",
"type": "ClientSortControls",
"id": 4
}
}
},
"ClientBatchListResponse": {
"fields": {
"status": {
"type": "Status",
"id": 1
},
"batches": {
"rule": "repeated",
"type": "Batch",
"id": 2
},
"headId": {
"type": "string",
"id": 3
},
"paging": {
"type": "ClientPagingResponse",
"id": 4
}
},
"nested": {
"Status": {
"values": {
"STATUS_UNSET": 0,
"OK": 1,
"INTERNAL_ERROR": 2,
"NOT_READY": 3,
"NO_ROOT": 4,
"NO_RESOURCE": 5,
"INVALID_PAGING": 6,
"INVALID_SORT": 7,
"INVALID_ID": 8
}
}
}
},
"ClientBatchGetRequest": {
"fields": {
"batchId": {
"type": "string",
"id": 1
}
}
},
"ClientBatchGetResponse": {
"fields": {
"status": {
"type": "Status",
"id": 1
},
"batch": {
"type": "Batch",
"id": 2
}
},
"nested": {
"Status": {
"values": {
"STATUS_UNSET": 0,
"OK": 1,
"INTERNAL_ERROR": 2,
"NO_RESOURCE": 5,
"INVALID_ID": 8
}
}
}
},
"ClientPagingControls": {
"fields": {
"start": {
"type": "string",
"id": 1
},
"limit": {
"type": "int32",
"id": 2
}
}
},
"ClientPagingResponse": {
"fields": {
"next": {
"type": "string",
"id": 1
},
"start": {
"type": "string",
"id": 2
},
"limit": {
"type": "int32",
"id": 3
}
}
},
"ClientSortControls": {
"fields": {
"keys": {
"rule": "repeated",
"type": "string",
"id": 1
},
"reverse": {
"type": "bool",
"id": 2
}
}
},
"ClientBatchStatus": {
"fields": {
"batchId": {
"type": "string",
"id": 1
},
"status": {
"type": "Status",
"id": 2
},
"invalidTransactions": {
"rule": "repeated",
"type": "InvalidTransaction",
"id": 3
}
},
"nested": {
"Status": {
"values": {
"STATUS_UNSET": 0,
"COMMITTED": 1,
"INVALID": 2,
"PENDING": 3,
"UNKNOWN": 4
}
},
"InvalidTransaction": {
"fields": {
"transactionId": {
"type": "string",
"id": 1
},
"message": {
"type": "string",
"id": 2
},
"extendedData": {
"type": "bytes",
"id": 3
}
}
}
}
},
"ClientBatchSubmitRequest": {
"fields": {
"batches": {
"rule": "repeated",
"type": "Batch",
"id": 1
}
}
},
"ClientBatchSubmitResponse": {
"fields": {
"status": {
"type": "Status",
"id": 1
}
},
"nested": {
"Status": {
"values": {
"STATUS_UNSET": 0,
"OK": 1,
"INTERNAL_ERROR": 2,
"INVALID_BATCH": 3,
"QUEUE_FULL": 4
}
}
}
},
"ClientBatchStatusRequest": {
"fields": {
"batchIds": {
"rule": "repeated",
"type": "string",
"id": 1
},
"wait": {
"type": "bool",
"id": 2
},
"timeout": {
"type": "uint32",
"id": 3
}
}
},
"ClientBatchStatusResponse": {
"fields": {
"status": {
"type": "Status",
"id": 1
},
"batchStatuses": {
"rule": "repeated",
"type": "ClientBatchStatus",
"id": 2
}
},
"nested": {
"Status": {
"values": {
"STATUS_UNSET": 0,
"OK": 1,
"INTERNAL_ERROR": 2,
"NO_RESOURCE": 5,
"INVALID_ID": 8
}
}
}
},
"ClientBlockListRequest": {
"fields": {
"headId": {
"type": "string",
"id": 1
},
"blockIds": {
"rule": "repeated",
"type": "string",
"id": 2
},
"paging": {
"type": "ClientPagingControls",
"id": 3
},
"sorting": {
"rule": "repeated",
"type": "ClientSortControls",
"id": 4
}
}
},
"ClientBlockListResponse": {
"fields": {
"status": {
"type": "Status",
"id": 1
},
"blocks": {
"rule": "repeated",
"type": "Block",
"id": 2
},
"headId": {
"type": "string",
"id": 3
},
"paging": {
"type": "ClientPagingResponse",
"id": 4
}
},
"nested": {
"Status": {
"values": {
"STATUS_UNSET": 0,
"OK": 1,
"INTERNAL_ERROR": 2,
"NOT_READY": 3,
"NO_ROOT": 4,
"NO_RESOURCE": 5,
"INVALID_PAGING": 6,
"INVALID_SORT": 7,
"INVALID_ID": 8
}
}
}
},
"ClientBlockGetByIdRequest": {
"fields": {
"blockId": {
"type": "string",
"id": 1
}
}
},
"ClientBlockGetByNumRequest": {
"fields": {
"blockNum": {
"type": "uint64",
"id": 1
}
}
},
"ClientBlockGetByTransactionIdRequest": {
"fields": {
"transactionId": {
"type": "string",
"id": 1
}
}
},
"ClientBlockGetByBatchIdRequest": {
"fields": {
"batchId": {
"type": "string",
"id": 1
}
}
},
"ClientBlockGetResponse": {
"fields": {
"status": {
"type": "Status",
"id": 1
},
"block": {
"type": "Block",
"id": 2
}
},
"nested": {
"Status": {
"values": {
"STATUS_UNSET": 0,
"OK": 1,
"INTERNAL_ERROR": 2,
"NO_RESOURCE": 5,
"INVALID_ID": 8
}
}
}
},
"ClientEventsSubscribeRequest": {
"fields": {
"subscriptions": {
"rule": "repeated",
"type": "EventSubscription",
"id": 1
},
"lastKnownBlockIds": {
"rule": "repeated",
"type": "string",
"id": 2
}
}
},
"ClientEventsSubscribeResponse": {
"fields": {
"status": {
"type": "Status",
"id": 1
},
"responseMessage": {
"type": "string",
"id": 2
}
},
"nested": {
"Status": {
"values": {
"STATUS_UNSET": 0,
"OK": 1,
"INVALID_FILTER": 2,
"UNKNOWN_BLOCK": 3
}
}
}
},
"ClientEventsUnsubscribeRequest": {
"fields": {}
},
"ClientEventsUnsubscribeResponse": {
"fields": {
"status": {
"type": "Status",
"id": 1
}
},
"nested": {
"Status": {
"values": {
"STATUS_UNSET": 0,
"OK": 1,
"INTERNAL_ERROR": 2
}
}
}
},
"ClientEventsGetRequest": {
"fields": {
"subscriptions": {
"rule": "repeated",
"type": "EventSubscription",
"id": 1
},
"blockIds": {
"rule": "repeated",
"type": "string",
"id": 2
}
}
},
"ClientEventsGetResponse": {
"fields": {
"status": {
"type": "Status",
"id": 1
},
"events": {
"rule": "repeated",
"type": "Event",
"id": 2
}
},
"nested": {
"Status": {
"values": {
"STATUS_UNSET": 0,
"OK": 1,
"INTERNAL_ERROR": 2,
"INVALID_FILTER": 3,
"UNKNOWN_BLOCK": 4
}
}
}
},
"Event": {
"fields": {
"eventType": {
"type": "string",
"id": 1
},
"attributes": {
"rule": "repeated",
"type": "Attribute",
"id": 2
},
"data": {
"type": "bytes",
"id": 3
}
},
"nested": {
"Attribute": {
"fields": {
"key": {
"type": "string",
"id": 1
},
"value": {
"type": "string",
"id": 2
}
}
}
}
},
"EventList": {
"fields": {
"events": {
"rule": "repeated",
"type": "Event",
"id": 1
}
}
},
"EventFilter": {
"fields": {
"key": {
"type": "string",
"id": 1
},
"matchString": {
"type": "string",
"id": 2
},
"filterType": {
"type": "FilterType",
"id": 3
}
},
"nested": {
"FilterType": {
"values": {
"FILTER_TYPE_UNSET": 0,
"SIMPLE_ANY": 1,
"SIMPLE_ALL": 2,
"REGEX_ANY": 3,
"REGEX_ALL": 4
}
}
}
},
"EventSubscription": {
"fields": {
"eventType": {
"type": "string",
"id": 1
},
"filters": {
"rule": "repeated",
"type": "EventFilter",
"id": 2
}
}
},
"ClientPeersGetRequest": {
"fields": {}
},
"ClientPeersGetResponse": {
"fields": {
"status": {
"type": "Status",
"id": 1
},
"peers": {
"rule": "repeated",
"type": "string",
"id": 2
}
},
"nested": {
"Status": {
"values": {
"STATUS_UNSET": 0,
"OK": 1,
"ERROR": 2
}
}
}
},
"ClientReceiptGetRequest": {
"fields": {
"transactionIds": {
"rule": "repeated",
"type": "string",
"id": 1
}
}
},
"ClientReceiptGetResponse": {
"fields": {
"status": {
"type": "Status",
"id": 1
},
"receipts": {
"rule": "repeated",
"type": "TransactionReceipt",
"id": 2
}
},
"nested": {
"Status": {
"values": {
"STATUS_UNSET": 0,
"OK": 1,
"INTERNAL_ERROR": 2,
"NO_RESOURCE": 5,
"INVALID_ID": 8
}
}
}
},
"TransactionReceipt": {
"fields": {
"stateChanges": {
"rule": "repeated",
"type": "StateChange",
"id": 1
},
"events": {
"rule": "repeated",
"type": "Event",
"id": 2
},
"data": {
"rule": "repeated",
"type": "bytes",
"id": 3
},
"transactionId": {
"type": "string",
"id": 4
}
}
},
"StateChange": {
"fields": {
"address": {
"type": "string",
"id": 1
},
"value": {
"type": "bytes",
"id": 2
},
"type": {
"type": "Type",
"id": 3
}
},
"nested": {
"Type": {
"values": {
"TYPE_UNSET": 0,
"SET": 1,
"DELETE": 2
}
}
}
},
"StateChangeList": {
"fields": {
"stateChanges": {
"rule": "repeated",
"type": "StateChange",
"id": 1
}
}
},
"ClientStateListRequest": {
"fields": {
"stateRoot": {
"type": "string",
"id": 1
},
"address": {
"type": "string",
"id": 3
},
"paging": {
"type": "ClientPagingControls",
"id": 4
},
"sorting": {
"rule": "repeated",
"type": "ClientSortControls",
"id": 5
}
}
},
"ClientStateListResponse": {
"fields": {
"status": {
"type": "Status",
"id": 1
},
"entries": {
"rule": "repeated",
"type": "Entry",
"id": 2
},
"stateRoot": {
"type": "string",
"id": 3
},
"paging": {
"type": "ClientPagingResponse",
"id": 4
}
},
"nested": {
"Status": {
"values": {
"STATUS_UNSET": 0,
"OK": 1,
"INTERNAL_ERROR": 2,
"NOT_READY": 3,
"NO_ROOT": 4,
"NO_RESOURCE": 5,
"INVALID_PAGING": 6,
"INVALID_SORT": 7,
"INVALID_ADDRESS": 8,
"INVALID_ROOT": 9
}
},
"Entry": {
"fields": {
"address": {
"type": "string",
"id": 1
},
"data": {
"type": "bytes",
"id": 2
}
}
}
}
},
"ClientStateGetRequest": {
"fields": {
"stateRoot": {
"type": "string",
"id": 1
},
"address": {
"type": "string",
"id": 3
}
}
},
"ClientStateGetResponse": {
"fields": {
"status": {
"type": "Status",
"id": 1
},
"value": {
"type": "bytes",
"id": 2
},
"stateRoot": {
"type": "string",
"id": 3
}
},
"nested": {
"Status": {
"values": {
"STATUS_UNSET": 0,
"OK": 1,
"INTERNAL_ERROR": 2,
"NOT_READY": 3,
"NO_ROOT": 4,
"NO_RESOURCE": 5,
"INVALID_ADDRESS": 6,
"INVALID_ROOT": 7
}
}
}
},
"ClientTransactionListRequest": {
"fields": {
"headId": {
"type": "string",
"id": 1
},
"transactionIds": {
"rule": "repeated",
"type": "string",
"id": 2
},
"paging": {
"type": "ClientPagingControls",
"id": 3
},
"sorting": {
"rule": "repeated",
"type": "ClientSortControls",
"id": 4
}
}
},
"ClientTransactionListResponse": {
"fields": {
"status": {
"type": "Status",
"id": 1
},
"transactions": {
"rule": "repeated",
"type": "Transaction",
"id": 2
},
"headId": {
"type": "string",
"id": 3
},
"paging": {
"type": "ClientPagingResponse",
"id": 4
}
},
"nested": {
"Status": {
"values": {
"STATUS_UNSET": 0,
"OK": 1,
"INTERNAL_ERROR": 2,
"NOT_READY": 3,
"NO_ROOT": 4,
"NO_RESOURCE": 5,
"INVALID_PAGING": 6,
"INVALID_SORT": 7,
"INVALID_ID": 8
}
}
}
},
"ClientTransactionGetRequest": {
"fields": {
"transactionId": {
"type": "string",
"id": 1
}
}
},
"ClientTransactionGetResponse": {
"fields": {
"status": {
"type": "Status",
"id": 1
},
"transaction": {
"type": "Transaction",
"id": 2
}
},
"nested": {
"Status": {
"values": {
"STATUS_UNSET": 0,
"OK": 1,
"INTERNAL_ERROR": 2,
"NO_RESOURCE": 5,
"INVALID_ID": 8
}
}
}
},
"GenesisData": {
"fields": {
"batches": {
"rule": "repeated",
"type": "Batch",
"id": 1
}
}
},
"Policy": {
"fields": {
"name": {
"type": "string",
"id": 1
},
"entries": {
"rule": "repeated",
"type": "Entry",
"id": 2
}
},
"nested": {
"EntryType": {
"values": {
"ENTRY_TYPE_UNSET": 0,
"PERMIT_KEY": 1,
"DENY_KEY": 2
}
},
"Entry": {
"fields": {
"type": {
"type": "EntryType",
"id": 1
},
"key": {
"type": "string",
"id": 2
}
}
}
}
},
"PolicyList": {
"fields": {
"policies": {
"rule": "repeated",
"type": "Policy",
"id": 1
}
}
},
"Role": {
"fields": {
"name": {
"type": "string",
"id": 1
},
"policyName": {
"type": "string",
"id": 2
}
}
},
"RoleList": {
"fields": {
"roles": {
"rule": "repeated",
"type": "Role",
"id": 1
}
}
},
"DisconnectMessage": {
"fields": {}
},
"PeerRegisterRequest": {
"fields": {
"endpoint": {
"type": "string",
"id": 1
},
"protocolVersion": {
"type": "uint32",
"id": 2
}
}
},
"PeerUnregisterRequest": {
"fields": {}
},
"GetPeersRequest": {
"fields": {}
},
"GetPeersResponse": {
"fields": {
"peerEndpoints": {
"rule": "repeated",
"type": "string",
"id": 1
}
}
},
"PingRequest": {
"fields": {}
},
"PingResponse": {
"fields": {}
},
"GossipMessage": {
"fields": {
"content": {
"type": "bytes",
"id": 1
},
"contentType": {
"type": "ContentType",
"id": 2
},
"timeToLive": {
"type": "uint32",
"id": 3
}
},
"nested": {
"ContentType": {
"values": {
"CONTENT_TYPE_UNSET": 0,
"BLOCK": 1,
"BATCH": 2
}
}
}
},
"NetworkAcknowledgement": {
"fields": {
"status": {
"type": "Status",
"id": 1
}
},
"nested": {
"Status": {
"values": {
"STATUS_UNSET": 0,
"OK": 1,
"ERROR": 2
}
}
}
},
"GossipBlockRequest": {
"fields": {
"blockId": {
"type": "string",
"id": 1
},
"nonce": {
"type": "string",
"id": 2
},
"timeToLive": {
"type": "uint32",
"id": 3
}
}
},
"GossipBlockResponse": {
"fields": {
"content": {
"type": "bytes",
"id": 1
}
}
},
"GossipBatchResponse": {
"fields": {
"content": {
"type": "bytes",
"id": 1
}
}
},
"GossipBatchByBatchIdRequest": {
"fields": {
"id": {
"type": "string",
"id": 1
},
"nonce": {
"type": "string",
"id": 2
},
"timeToLive": {
"type": "uint32",
"id": 3
}
}
},
"GossipBatchByTransactionIdRequest": {
"fields": {
"ids": {
"rule": "repeated",
"type": "string",
"id": 1
},
"nonce": {
"type": "string",
"id": 2
},
"timeToLive": {
"type": "uint32",
"id": 3
}
}
},
"TpRegisterRequest": {
"fields": {
"family": {
"type": "string",
"id": 1
},
"version": {
"type": "string",
"id": 2
},
"namespaces": {
"rule": "repeated",
"type": "string",
"id": 4
}
}
},
"TpRegisterResponse": {
"fields": {
"status": {
"type": "Status",
"id": 1
}
},
"nested": {
"Status": {
"values": {
"STATUS_UNSET": 0,
"OK": 1,
"ERROR": 2
}
}
}
},
"TpUnregisterRequest": {
"fields": {}
},
"TpUnregisterResponse": {
"fields": {
"status": {
"type": "Status",
"id": 1
}
},
"nested": {
"Status": {
"values": {
"STATUS_UNSET": 0,
"OK": 1,
"ERROR": 2
}
}
}
},
"TpProcessRequest": {
"fields": {
"header": {
"type": "TransactionHeader",
"id": 1
},
"payload": {
"type": "bytes",
"id": 2
},
"signature": {
"type": "string",
"id": 3
},
"contextId": {
"type": "string",
"id": 4
}
}
},
"TpProcessResponse": {
"fields": {
"status": {
"type": "Status",
"id": 1
},
"message": {
"type": "string",
"id": 2
},
"extendedData": {
"type": "bytes",
"id": 3
}
},
"nested": {
"Status": {
"values": {
"STATUS_UNSET": 0,
"OK": 1,
"INVALID_TRANSACTION": 2,
"INTERNAL_ERROR": 3
}
}
}
},
"Setting": {
"fields": {
"entries": {
"rule": "repeated",
"type": "Entry",
"id": 1
}
},
"nested": {
"Entry": {
"fields": {
"key": {
"type": "string",
"id": 1
},
"value": {
"type": "string",
"id": 2
}
}
}
}
},
"TpStateEntry": {
"fields": {
"address": {
"type": "string",
"id": 1
},
"data": {
"type": "bytes",
"id": 2
}
}
},
"TpStateGetRequest": {
"fields": {
"contextId": {
"type": "string",
"id": 1
},
"addresses": {
"rule": "repeated",
"type": "string",
"id": 2
}
}
},
"TpStateGetResponse": {
"fields": {
"entries": {
"rule": "repeated",
"type": "TpStateEntry",
"id": 1
},
"status": {
"type": "Status",
"id": 2
}
},
"nested": {
"Status": {
"values": {
"STATUS_UNSET": 0,
"OK": 1,
"AUTHORIZATION_ERROR": 2
}
}
}
},
"TpStateSetRequest": {
"fields": {
"contextId": {
"type": "string",
"id": 1
},
"entries": {
"rule": "repeated",
"type": "TpStateEntry",
"id": 2
}
}
},
"TpStateSetResponse": {
"fields": {
"addresses": {
"rule": "repeated",
"type": "string",
"id": 1
},
"status": {
"type": "Status",
"id": 2
}
},
"nested": {
"Status": {
"values": {
"STATUS_UNSET": 0,
"OK": 1,
"AUTHORIZATION_ERROR": 2
}
}
}
},
"TpStateDeleteRequest": {
"fields": {
"contextId": {
"type": "string",
"id": 1
},
"addresses": {
"rule": "repeated",
"type": "string",
"id": 2
}
}
},
"TpStateDeleteResponse": {
"fields": {
"addresses": {
"rule": "repeated",
"type": "string",
"id": 1
},
"status": {
"type": "Status",
"id": 2
}
},
"nested": {
"Status": {
"values": {
"STATUS_UNSET": 0,
"OK": 1,
"AUTHORIZATION_ERROR": 2
}
}
}
},
"TpReceiptAddDataRequest": {
"fields": {
"contextId": {
"type": "string",
"id": 1
},
"data": {
"type": "bytes",
"id": 3
}
}
},
"TpReceiptAddDataResponse": {
"fields": {
"status": {
"type": "Status",
"id": 2
}
},
"nested": {
"Status": {
"values": {
"STATUS_UNSET": 0,
"OK": 1,
"ERROR": 2
}
}
}
},
"TpEventAddRequest": {
"fields": {
"contextId": {
"type": "string",
"id": 1
},
"event": {
"type": "Event",
"id": 2
}
}
},
"TpEventAddResponse": {
"fields": {
"status": {
"type": "Status",
"id": 2
}
},
"nested": {
"Status": {
"values": {
"STATUS_UNSET": 0,
"OK": 1,
"ERROR": 2
}
}
}
},
"MessageList": {
"fields": {
"messages": {
"rule": "repeated",
"type": "Message",
"id": 1
}
}
},
"Message": {
"fields": {
"messageType": {
"type": "MessageType",
"id": 1
},
"correlationId": {
"type": "string",
"id": 2
},
"content": {
"type": "bytes",
"id": 3
}
},
"nested": {
"MessageType": {
"values": {
"DEFAULT": 0,
"TP_REGISTER_REQUEST": 1,
"TP_REGISTER_RESPONSE": 2,
"TP_UNREGISTER_REQUEST": 3,
"TP_UNREGISTER_RESPONSE": 4,
"TP_PROCESS_REQUEST": 5,
"TP_PROCESS_RESPONSE": 6,
"TP_STATE_GET_REQUEST": 7,
"TP_STATE_GET_RESPONSE": 8,
"TP_STATE_SET_REQUEST": 9,
"TP_STATE_SET_RESPONSE": 10,
"TP_STATE_DELETE_REQUEST": 11,
"TP_STATE_DELETE_RESPONSE": 12,
"TP_RECEIPT_ADD_DATA_REQUEST": 13,
"TP_RECEIPT_ADD_DATA_RESPONSE": 14,
"TP_EVENT_ADD_REQUEST": 15,
"TP_EVENT_ADD_RESPONSE": 16,
"CLIENT_BATCH_SUBMIT_REQUEST": 100,
"CLIENT_BATCH_SUBMIT_RESPONSE": 101,
"CLIENT_BLOCK_LIST_REQUEST": 102,
"CLIENT_BLOCK_LIST_RESPONSE": 103,
"CLIENT_BLOCK_GET_BY_ID_REQUEST": 104,
"CLIENT_BLOCK_GET_RESPONSE": 105,
"CLIENT_BATCH_LIST_REQUEST": 106,
"CLIENT_BATCH_LIST_RESPONSE": 107,
"CLIENT_BATCH_GET_REQUEST": 108,
"CLIENT_BATCH_GET_RESPONSE": 109,
"CLIENT_TRANSACTION_LIST_REQUEST": 110,
"CLIENT_TRANSACTION_LIST_RESPONSE": 111,
"CLIENT_TRANSACTION_GET_REQUEST": 112,
"CLIENT_TRANSACTION_GET_RESPONSE": 113,
"CLIENT_STATE_CURRENT_REQUEST": 114,
"CLIENT_STATE_CURRENT_RESPONSE": 115,
"CLIENT_STATE_LIST_REQUEST": 116,
"CLIENT_STATE_LIST_RESPONSE": 117,
"CLIENT_STATE_GET_REQUEST": 118,
"CLIENT_STATE_GET_RESPONSE": 119,
"CLIENT_BATCH_STATUS_REQUEST": 120,
"CLIENT_BATCH_STATUS_RESPONSE": 121,
"CLIENT_RECEIPT_GET_REQUEST": 122,
"CLIENT_RECEIPT_GET_RESPONSE": 123,
"CLIENT_BLOCK_GET_BY_NUM_REQUEST": 124,
"CLIENT_PEERS_GET_REQUEST": 125,
"CLIENT_PEERS_GET_RESPONSE": 126,
"CLIENT_BLOCK_GET_BY_TRANSACTION_ID_REQUEST": 127,
"CLIENT_BLOCK_GET_BY_BATCH_ID_REQUEST": 128,
"CLIENT_EVENTS_SUBSCRIBE_REQUEST": 500,
"CLIENT_EVENTS_SUBSCRIBE_RESPONSE": 501,
"CLIENT_EVENTS_UNSUBSCRIBE_REQUEST": 502,
"CLIENT_EVENTS_UNSUBSCRIBE_RESPONSE": 503,
"CLIENT_EVENTS": 504,
"CLIENT_EVENTS_GET_REQUEST": 505,
"CLIENT_EVENTS_GET_RESPONSE": 506,
"GOSSIP_MESSAGE": 200,
"GOSSIP_REGISTER": 201,
"GOSSIP_UNREGISTER": 202,
"GOSSIP_BLOCK_REQUEST": 205,
"GOSSIP_BLOCK_RESPONSE": 206,
"GOSSIP_BATCH_BY_BATCH_ID_REQUEST": 207,
"GOSSIP_BATCH_BY_TRANSACTION_ID_REQUEST": 208,
"GOSSIP_BATCH_RESPONSE": 209,
"GOSSIP_GET_PEERS_REQUEST": 210,
"GOSSIP_GET_PEERS_RESPONSE": 211,
"NETWORK_ACK": 300,
"NETWORK_CONNECT": 301,
"NETWORK_DISCONNECT": 302,
"AUTHORIZATION_CONNECTION_RESPONSE": 600,
"AUTHORIZATION_VIOLATION": 601,
"AUTHORIZATION_TRUST_REQUEST": 602,
"AUTHORIZATION_TRUST_RESPONSE": 603,
"AUTHORIZATION_CHALLENGE_REQUEST": 604,
"AUTHORIZATION_CHALLENGE_RESPONSE": 605,
"AUTHORIZATION_CHALLENGE_SUBMIT": 606,
"AUTHORIZATION_CHALLENGE_RESULT": 607,
"PING_REQUEST": 700,
"PING_RESPONSE": 701
}
}
}
}
}
}