Skip to content

Commit 5977378

Browse files
Seulgi Kimsgkim126
authored andcommitted
Change the fields of REPORT_DOUBLE_VOTE
1 parent 64a2b5a commit 5977378

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

spec/Dynamic-Validator.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,10 +205,8 @@ The revoke occurs immediately, but the validator cannot be ousted before its ter
205205
The transaction fails when the delegator revokes more than it delegates.
206206

207207
### REPORT_DOUBLE_VOTE
208-
* header1
209-
* sig1
210-
* header2
211-
* sig2
208+
* message1
209+
* message2
212210

213211
This is a transaction that reports malicious validator.
214212

@@ -223,6 +221,9 @@ The criminal becomes a banned account.
223221
The account cannot become a candidate anymore.
224222
In other words, the *DELEGATE* transaction to the banned account and the *SELF_NOMINATE* transaction from the banned account fail.
225223

224+
The type of the messages depends on the consensus engine. For example, type Message type of Tendermint is
225+
[ConsensusMessage](https://github.com/CodeChain-io/codechain/blob/91125ae49891c375d63e75fd5ac81b0a0d3a9cff/core/src/consensus/tendermint/message.rs#L269).
226+
226227
## Implementation
227228
### States
228229
```

0 commit comments

Comments
 (0)