mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-09 19:21:19 +00:00
8db0c9a0e6
* Move proto/interfaces -> proto/prysm * Update paths * Fix block2 * Update blocks_fetcher_utils.go * Update BUILD.bazel Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
18 lines
395 B
Go
18 lines
395 B
Go
package metadata
|
|
|
|
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
|
|
}
|