2022-10-06 09:01:56 +00:00
|
|
|
package lightrpc
|
|
|
|
|
2022-10-06 12:34:39 +00:00
|
|
|
import "github.com/ledgerwatch/erigon/cmd/lightclient/sentinel/communication"
|
2022-10-06 09:01:56 +00:00
|
|
|
|
2022-10-06 12:34:39 +00:00
|
|
|
func (*SignedBeaconBlockBellatrix) Clone() communication.Packet {
|
2022-10-06 09:01:56 +00:00
|
|
|
return &SignedBeaconBlockBellatrix{}
|
|
|
|
}
|
|
|
|
|
2022-10-06 12:34:39 +00:00
|
|
|
func (*LightClientFinalityUpdate) Clone() communication.Packet {
|
2022-10-06 09:01:56 +00:00
|
|
|
return &LightClientFinalityUpdate{}
|
|
|
|
}
|
|
|
|
|
2022-10-06 12:34:39 +00:00
|
|
|
func (*LightClientOptimisticUpdate) Clone() communication.Packet {
|
2022-10-06 09:01:56 +00:00
|
|
|
return &LightClientOptimisticUpdate{}
|
|
|
|
}
|
|
|
|
|
2022-10-06 12:34:39 +00:00
|
|
|
func (*MetadataV1) Clone() communication.Packet {
|
2022-10-06 09:01:56 +00:00
|
|
|
return &MetadataV1{}
|
|
|
|
}
|
|
|
|
|
2022-10-06 12:34:39 +00:00
|
|
|
func (*MetadataV2) Clone() communication.Packet {
|
2022-10-06 09:01:56 +00:00
|
|
|
return &MetadataV2{}
|
|
|
|
}
|