mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 03:51:29 +00:00
b82e2e7d40
* Update dependency * Regenerate SSZ files * fix BUILD files Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
22 lines
488 B
Go
22 lines
488 B
Go
package metadata
|
|
|
|
import (
|
|
ssz "github.com/prysmaticlabs/fastssz"
|
|
"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
|
|
ssz.Marshaler
|
|
ssz.Unmarshaler
|
|
MetadataObjV0() *pb.MetaDataV0
|
|
MetadataObjV1() *pb.MetaDataV1
|
|
Version() int
|
|
}
|