communication

package
v1.9.7-0...-c81b736 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2025 License: LGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const BeaconBlocksByRangeTopic = "/beacon_blocks_by_range"
View Source
const BeaconBlocksByRootTopic = "/beacon_blocks_by_root"
View Source
const BlobSidecarByRangeTopic = "/blob_sidecars_by_range"
View Source
const BlobSidecarByRootTopic = "/blob_sidecars_by_root"
View Source
const EncodingProtocol = "/ssz_snappy"
View Source
const GoodbyeTopic = "/goodbye"
View Source
const LightClientBootstrapTopic = "/light_client_bootstrap"
View Source
const LightClientFinalityUpdateTopic = "/light_client_finality_update"
View Source
const LightClientOptimisticUpdateTopic = "/light_client_optimistic_update"
View Source
const LightClientUpdatesByRangeTopic = "/light_client_updates_by_range"
View Source
const MaximumRequestClientUpdates = 128
View Source
const MetadataTopic = "/metadata"

Request and Response topics

View Source
const PingTopic = "/ping"
View Source
const ProtocolPrefix = "/eth2/beacon_chain/req"
View Source
const Schema1 = "/1"

request and response versions

View Source
const Schema2 = "/2"
View Source
const StatusTopic = "/status"

Variables

View Source
var (
	PingProtocolV1    = ProtocolPrefix + PingTopic + Schema1 + EncodingProtocol
	GoodbyeProtocolV1 = ProtocolPrefix + GoodbyeTopic + Schema1 + EncodingProtocol

	MetadataProtocolV1 = ProtocolPrefix + MetadataTopic + Schema1 + EncodingProtocol
	MetadataProtocolV2 = ProtocolPrefix + MetadataTopic + Schema2 + EncodingProtocol

	StatusProtocolV1 = ProtocolPrefix + StatusTopic + Schema1 + EncodingProtocol

	BeaconBlocksByRangeProtocolV1 = ProtocolPrefix + BeaconBlocksByRangeTopic + Schema1 + EncodingProtocol
	BeaconBlocksByRangeProtocolV2 = ProtocolPrefix + BeaconBlocksByRangeTopic + Schema2 + EncodingProtocol

	BeaconBlocksByRootProtocolV1 = ProtocolPrefix + BeaconBlocksByRootTopic + Schema1 + EncodingProtocol
	BeaconBlocksByRootProtocolV2 = ProtocolPrefix + BeaconBlocksByRootTopic + Schema2 + EncodingProtocol

	BlobSidecarByRootProtocolV1 = ProtocolPrefix + BlobSidecarByRootTopic + Schema1 + EncodingProtocol
	BlobSidecarByRootProtocolV2 = ProtocolPrefix + BlobSidecarByRootTopic + Schema2 + EncodingProtocol

	BlobSidecarByRangeProtocolV1 = ProtocolPrefix + BlobSidecarByRangeTopic + Schema1 + EncodingProtocol
	BlobSidecarByRangeProtocolV2 = ProtocolPrefix + BlobSidecarByRangeTopic + Schema2 + EncodingProtocol

	LightClientOptimisticUpdateProtocolV1 = ProtocolPrefix + LightClientOptimisticUpdateTopic + Schema1 + EncodingProtocol
	LightClientFinalityUpdateProtocolV1   = ProtocolPrefix + LightClientFinalityUpdateTopic + Schema1 + EncodingProtocol
	LightClientBootstrapProtocolV1        = ProtocolPrefix + LightClientBootstrapTopic + Schema1 + EncodingProtocol
	LightClientUpdatesByRangeProtocolV1   = ProtocolPrefix + LightClientUpdatesByRangeTopic + Schema1 + EncodingProtocol
)

Request and Response protocol ids

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL