mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 04:47:18 +00:00
2d10bcf179
* move state protos * regen ssz * edit v1 code * fix imports * building * beacon chain builds * validator and shared builds * fuzz builds * changes * spectest builds * tools build * remove import cycle * generate ssz * pcli * gaz * kafka * gaz
18 lines
397 B
Go
18 lines
397 B
Go
package interfaces
|
|
|
|
import (
|
|
"github.com/prysmaticlabs/go-bitfield"
|
|
pb "github.com/prysmaticlabs/prysm/proto/prysm/v2"
|
|
)
|
|
|
|
// Metadata returns the interface of a p2p metadata type.
|
|
type Metadata interface {
|
|
SequenceNumber() uint64
|
|
AttnetsBitfield() bitfield.Bitvector64
|
|
InnerObject() interface{}
|
|
IsNil() bool
|
|
Copy() Metadata
|
|
MetadataObjV0() *pb.MetaDataV0
|
|
MetadataObjV1() *pb.MetaDataV1
|
|
}
|