File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -115,15 +115,13 @@ message LinkMessage {
115
115
}
116
116
117
117
message ReputationMessage {
118
- enum Action {
119
- SHARE_REPUTATION = 0 ; // Message to tell reputation state to a node
120
- START_TRIAL = 1 ; // Message to start a trial
121
- SUBMIT_VERDICT = 2 ; // Message to send back the verdict for a trial
122
- }
123
- Action action = 1 ;
124
- string reputation = 2 ;
125
- string defendant = 3 ;
126
- string verdict = 4 ;
118
+ enum Action {
119
+ SHARE = 0 ;
120
+ }
121
+ string node_id = 1 ; //Id of the node to which the reputation is sent
122
+ float score = 2 ; //Score reputation
123
+ int32 round = 3 ; //Round to send the reputation
124
+ Action action = 4 ; // Action type (default: SHARE)
127
125
}
128
126
129
127
// Response transmits the outcome of a requested operation, including any errors.
You can’t perform that action at this time.
0 commit comments