block

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_block_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CondensedBlock

type CondensedBlock struct {
	Header                *shared.Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	PreviousBlockhash     string         `protobuf:"bytes,2,opt,name=previous_blockhash,json=previousBlockhash,proto3" json:"previous_blockhash,omitempty"`
	Blockhash             string         `protobuf:"bytes,3,opt,name=blockhash,proto3" json:"blockhash,omitempty"`
	ParentSlot            uint64         `protobuf:"varint,4,opt,name=parent_slot,json=parentSlot,proto3" json:"parent_slot,omitempty"`
	VersionedTransactions [][]byte       `protobuf:"bytes,5,rep,name=versioned_transactions,json=versionedTransactions,proto3" json:"versioned_transactions,omitempty"`
	Slot                  uint64         `protobuf:"varint,6,opt,name=slot,proto3" json:"slot,omitempty"`
	Commitment            string         `protobuf:"bytes,7,opt,name=commitment,proto3" json:"commitment,omitempty"`
	// contains filtered or unexported fields
}

Condensed block helpful for getting data around efficiently internal to our system.

func (*CondensedBlock) Descriptor deprecated

func (*CondensedBlock) Descriptor() ([]byte, []int)

Deprecated: Use CondensedBlock.ProtoReflect.Descriptor instead.

func (*CondensedBlock) GetBlockhash

func (x *CondensedBlock) GetBlockhash() string

func (*CondensedBlock) GetCommitment

func (x *CondensedBlock) GetCommitment() string

func (*CondensedBlock) GetHeader

func (x *CondensedBlock) GetHeader() *shared.Header

func (*CondensedBlock) GetParentSlot

func (x *CondensedBlock) GetParentSlot() uint64

func (*CondensedBlock) GetPreviousBlockhash

func (x *CondensedBlock) GetPreviousBlockhash() string

func (*CondensedBlock) GetSlot

func (x *CondensedBlock) GetSlot() uint64

func (*CondensedBlock) GetVersionedTransactions

func (x *CondensedBlock) GetVersionedTransactions() [][]byte

func (*CondensedBlock) ProtoMessage

func (*CondensedBlock) ProtoMessage()

func (*CondensedBlock) ProtoReflect

func (x *CondensedBlock) ProtoReflect() protoreflect.Message

func (*CondensedBlock) Reset

func (x *CondensedBlock) Reset()

func (*CondensedBlock) String

func (x *CondensedBlock) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL