From 483f9a1d7b7faeafe635229881810247c754371b Mon Sep 17 00:00:00 2001 From: Danny Ryan Date: Thu, 14 May 2020 14:25:32 -0600 Subject: [PATCH] Update specs/phase0/p2p-interface.md Co-authored-by: Diederik Loerakker --- specs/phase0/p2p-interface.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/specs/phase0/p2p-interface.md b/specs/phase0/p2p-interface.md index 98ee6edd2..7b9d6b737 100644 --- a/specs/phase0/p2p-interface.md +++ b/specs/phase0/p2p-interface.md @@ -220,12 +220,14 @@ The payload is carried in the `data` field of a gossipsub message, and varies de | Name | Message Type | |------------------------------------------------|-------------------------| -| beacon\_block | SignedBeaconBlock | -| beacon\_aggregate\_and\_proof | SignedAggregateAndProof | -| beacon_attestation\_{subnet\_id} | Attestation | -| voluntary\_exit | SignedVoluntaryExit | -| proposer\_slashing | ProposerSlashing | -| attester\_slashing | AttesterSlashing | +| Name | Message Type | +|----------------------------------|---------------------------| +| `beacon_block` | `SignedBeaconBlock` | +| `beacon_aggregate_and_proof` | `SignedAggregateAndProof` | +| `beacon_attestation_{subnet_id}` | `Attestation` | +| `voluntary_exit` | `SignedVoluntaryExit` | +| `proposer_slashing` | `ProposerSlashing` | +| `attester_slashing` | `AttesterSlashing` | Clients MUST reject (fail validation) messages containing an incorrect type, or invalid payload.