Browse Source

p2p/message: Changed evidence message to contain evidence, not a list… (#394)

* p2p/message: Changed evidence message to contain evidence, not a list of evidence

* Update spec/p2p/messages/evidence.md

Co-authored-by: Callum Waters <cmwaters19@gmail.com>

Co-authored-by: Callum Waters <cmwaters19@gmail.com>
pull/7804/head
Jasmina Malicevic 2 years ago
committed by GitHub
parent
commit
8e5b44d46a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      spec/p2p/messages/evidence.md

+ 3
- 3
spec/p2p/messages/evidence.md View File

@ -14,10 +14,10 @@ Evidence has one channel. The channel identifier is listed below.
## Message Types
### EvidenceList
### Evidence
EvidenceList consists of a list of verified evidence. This evidence will already have been propagated throughout the network. EvidenceList is used in two places, as a p2p message and within the block [block](../../core/data_structures.md#block) as well.
Verified evidence that has already been propagated throughout the network. This evidence will appear within the EvidenceList struct of a [block](../../core/data_structures.md#block) as well.
| Name | Type | Description | Field Number |
|----------|-------------------------------------------------------------|------------------------|--------------|
| evidence | repeated [Evidence](../../core/data_structures.md#evidence) | List of valid evidence | 1 |
| evidence | [Evidence](../../core/data_structures.md#evidence) | Valid evidence | 1 |

Loading…
Cancel
Save