erigon-pulse/cmd/lightclient/rpc/lightrpc/clone.go
Giulio rebuffo 2fd96a0b1c
[Experimental] GRPC Prototype with --experimental.lightclient to have Erigon listen on ConsenSUS gossip. (#5590)
Co-authored-by: giuliorebuffo <giuliorebuffo@system76-pc.localdomain>
2022-10-06 11:01:56 +02:00

24 lines
519 B
Go

package lightrpc
import "github.com/ledgerwatch/erigon/cmd/lightclient/sentinel/proto"
func (*SignedBeaconBlockBellatrix) Clone() proto.Packet {
return &SignedBeaconBlockBellatrix{}
}
func (*LightClientFinalityUpdate) Clone() proto.Packet {
return &LightClientFinalityUpdate{}
}
func (*LightClientOptimisticUpdate) Clone() proto.Packet {
return &LightClientOptimisticUpdate{}
}
func (*MetadataV1) Clone() proto.Packet {
return &MetadataV1{}
}
func (*MetadataV2) Clone() proto.Packet {
return &MetadataV2{}
}