Update specs/phase0/p2p-interface.md

Co-authored-by: Diederik Loerakker <proto@protolambda.com>
This commit is contained in:
Danny Ryan 2020-05-14 14:25:32 -06:00 committed by GitHub
parent 3dd168335b
commit 483f9a1d7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 6 deletions

View File

@ -220,12 +220,14 @@ The payload is carried in the `data` field of a gossipsub message, and varies de
| Name | Message Type | | Name | Message Type |
|------------------------------------------------|-------------------------| |------------------------------------------------|-------------------------|
| beacon\_block | SignedBeaconBlock | | Name | Message Type |
| beacon\_aggregate\_and\_proof | SignedAggregateAndProof | |----------------------------------|---------------------------|
| beacon_attestation\_{subnet\_id} | Attestation | | `beacon_block` | `SignedBeaconBlock` |
| voluntary\_exit | SignedVoluntaryExit | | `beacon_aggregate_and_proof` | `SignedAggregateAndProof` |
| proposer\_slashing | ProposerSlashing | | `beacon_attestation_{subnet_id}` | `Attestation` |
| attester\_slashing | AttesterSlashing | | `voluntary_exit` | `SignedVoluntaryExit` |
| `proposer_slashing` | `ProposerSlashing` |
| `attester_slashing` | `AttesterSlashing` |
Clients MUST reject (fail validation) messages containing an incorrect type, or invalid payload. Clients MUST reject (fail validation) messages containing an incorrect type, or invalid payload.