Documentation ¶
Index ¶
- Variables
- type CondensedBlock
- func (*CondensedBlock) Descriptor() ([]byte, []int)deprecated
- func (x *CondensedBlock) GetBlockhash() string
- func (x *CondensedBlock) GetCommitment() string
- func (x *CondensedBlock) GetHeader() *shared.Header
- func (x *CondensedBlock) GetParentSlot() uint64
- func (x *CondensedBlock) GetPreviousBlockhash() string
- func (x *CondensedBlock) GetSlot() uint64
- func (x *CondensedBlock) GetVersionedTransactions() [][]byte
- func (*CondensedBlock) ProtoMessage()
- func (x *CondensedBlock) ProtoReflect() protoreflect.Message
- func (x *CondensedBlock) Reset()
- func (x *CondensedBlock) String() string
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
Click to show internal directories.
Click to hide internal directories.