mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-10 03:31:20 +00:00
9145310647
* get rid of v2 in prysm codebase * replace block2 * builds * terence comments * gazelle
18 lines
401 B
Go
18 lines
401 B
Go
package metadata
|
|
|
|
import (
|
|
"github.com/prysmaticlabs/go-bitfield"
|
|
pb "github.com/prysmaticlabs/prysm/proto/prysm/v1alpha1"
|
|
)
|
|
|
|
// 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
|
|
}
|