-
Notifications
You must be signed in to change notification settings - Fork 9
/
communication.proto
57 lines (40 loc) · 1.28 KB
/
communication.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
syntax = "proto3";
import "request.proto";
import "response.proto";
import "sync.proto";
import "blockchain.proto";
import "consensus.proto";
import "auth.proto";
import "executor.proto";
import "snapshot.proto";
import "compact_block.proto";
message InnerMessage {
oneof content {
bytes RawBytes = 1;
Request Request = 2;
Response Response = 3;
SyncRequest SyncRequest = 4;
SyncResponse SyncResponse = 5;
Status Status = 6;
RichStatus RichStatus = 7;
SignedProposal SignedProposal = 8;
Block Block = 9;
BlockWithProof BlockWithProof = 10;
BlockHeader BlockHeader = 11;
BlockTxs BlockTxs = 12;
BlockTxHashes BlockTxHashes = 13;
BlockTxHashesReq BlockTxHashesReq = 14;
VerifyBlockReq VerifyBlockReq = 17;
VerifyBlockResp VerifyBlockResp = 18;
ExecutedResult ExecutedResult = 19;
SnapshotReq SnapshotReq = 20;
SnapshotResp SnapshotResp = 21;
Miscellaneous Miscellaneous = 22;
MiscellaneousReq MiscellaneousReq = 23;
BlackList BlackList = 24;
StateSignal StateSignal = 25;
GetBlockTxn GetBlockTxn = 26;
BlockTxn BlockTxn = 27;
CompactSignedProposal CompactSignedProposal = 28;
}
}