mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 20:07:17 +00:00
322998f7f1
* Deduplicate subnet topic definitions * Move topics to global file * Gaz * Merge branch 'master' into move-topics * Fix * Merge refs/heads/master into move-topics * Bazel * Merge branch 'move-topics' of github.com:prysmaticlabs/prysm into move-topics * Fix tests * Fix * Undo e2e changes * Revert "Undo e2e changes" This reverts commit 3037bb35904ee3a2f54050e920ee8c75a4cb8036. * Fix * Fix * Merge refs/heads/master into move-topics * Merge refs/heads/master into move-topics * Merge refs/heads/master into move-topics * Comments * Merge refs/heads/master into move-topics * Merge refs/heads/master into move-topics
17 lines
903 B
Go
17 lines
903 B
Go
package p2p
|
|
|
|
const (
|
|
// AttestationSubnetTopicFormat is the topic format for the attestation subnet.
|
|
AttestationSubnetTopicFormat = "/eth2/%x/beacon_attestation_%d"
|
|
// BlockSubnetTopicFormat is the topic format for the block subnet.
|
|
BlockSubnetTopicFormat = "/eth2/%x/beacon_block"
|
|
// ExitSubnetTopicFormat is the topic format for the voluntary exit subnet.
|
|
ExitSubnetTopicFormat = "/eth2/%x/voluntary_exit"
|
|
// ProposerSlashingSubnetTopicFormat is the topic format for the proposer slashing subnet.
|
|
ProposerSlashingSubnetTopicFormat = "/eth2/%x/proposer_slashing"
|
|
// AttesterSlashingSubnetTopicFormat is the topic format for the attester slashing subnet.
|
|
AttesterSlashingSubnetTopicFormat = "/eth2/%x/attester_slashing"
|
|
// AggregateAndProofSubnetTopicFormat is the topic format for the aggregate and proof subnet.
|
|
AggregateAndProofSubnetTopicFormat = "/eth2/%x/beacon_aggregate_and_proof"
|
|
)
|