github.com/prysmaticlabs/prysm@v1.4.4/beacon-chain/p2p/topics.go (about)

     1  package p2p
     2  
     3  const (
     4  	// AttestationSubnetTopicFormat is the topic format for the attestation subnet.
     5  	AttestationSubnetTopicFormat = "/eth2/%x/beacon_attestation_%d"
     6  	// BlockSubnetTopicFormat is the topic format for the block subnet.
     7  	BlockSubnetTopicFormat = "/eth2/%x/beacon_block"
     8  	// ExitSubnetTopicFormat is the topic format for the voluntary exit subnet.
     9  	ExitSubnetTopicFormat = "/eth2/%x/voluntary_exit"
    10  	// ProposerSlashingSubnetTopicFormat is the topic format for the proposer slashing subnet.
    11  	ProposerSlashingSubnetTopicFormat = "/eth2/%x/proposer_slashing"
    12  	// AttesterSlashingSubnetTopicFormat is the topic format for the attester slashing subnet.
    13  	AttesterSlashingSubnetTopicFormat = "/eth2/%x/attester_slashing"
    14  	// AggregateAndProofSubnetTopicFormat is the topic format for the aggregate and proof subnet.
    15  	AggregateAndProofSubnetTopicFormat = "/eth2/%x/beacon_aggregate_and_proof"
    16  )