v1

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_blobcast_rollup_v1_blobcast_envelope_proto protoreflect.FileDescriptor
View Source
var File_blobcast_rollup_v1_block_body_proto protoreflect.FileDescriptor
View Source
var File_blobcast_rollup_v1_block_header_proto protoreflect.FileDescriptor
View Source
var File_blobcast_rollup_v1_block_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BlobcastEnvelope

type BlobcastEnvelope struct {

	// Types that are valid to be assigned to Payload:
	//
	//	*BlobcastEnvelope_ChunkData
	//	*BlobcastEnvelope_FileManifest
	//	*BlobcastEnvelope_DirectoryManifest
	Payload isBlobcastEnvelope_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

func (*BlobcastEnvelope) Descriptor deprecated

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

Deprecated: Use BlobcastEnvelope.ProtoReflect.Descriptor instead.

func (*BlobcastEnvelope) GetChunkData

func (x *BlobcastEnvelope) GetChunkData() *v1.ChunkData

func (*BlobcastEnvelope) GetDirectoryManifest

func (x *BlobcastEnvelope) GetDirectoryManifest() *v1.DirectoryManifest

func (*BlobcastEnvelope) GetFileManifest

func (x *BlobcastEnvelope) GetFileManifest() *v1.FileManifest

func (*BlobcastEnvelope) GetPayload

func (x *BlobcastEnvelope) GetPayload() isBlobcastEnvelope_Payload

func (*BlobcastEnvelope) ProtoMessage

func (*BlobcastEnvelope) ProtoMessage()

func (*BlobcastEnvelope) ProtoReflect

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

func (*BlobcastEnvelope) Reset

func (x *BlobcastEnvelope) Reset()

func (*BlobcastEnvelope) String

func (x *BlobcastEnvelope) String() string

type BlobcastEnvelope_ChunkData

type BlobcastEnvelope_ChunkData struct {
	ChunkData *v1.ChunkData `protobuf:"bytes,1,opt,name=chunk_data,json=chunkData,proto3,oneof"`
}

type BlobcastEnvelope_DirectoryManifest

type BlobcastEnvelope_DirectoryManifest struct {
	DirectoryManifest *v1.DirectoryManifest `protobuf:"bytes,3,opt,name=directory_manifest,json=directoryManifest,proto3,oneof"`
}

type BlobcastEnvelope_FileManifest

type BlobcastEnvelope_FileManifest struct {
	FileManifest *v1.FileManifest `protobuf:"bytes,2,opt,name=file_manifest,json=fileManifest,proto3,oneof"`
}

type Block

type Block struct {
	Header *BlockHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	Body   *BlockBody   `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	Hash   []byte       `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` // bytes32
	// contains filtered or unexported fields
}

func (*Block) Descriptor deprecated

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

Deprecated: Use Block.ProtoReflect.Descriptor instead.

func (*Block) GetBody

func (x *Block) GetBody() *BlockBody

func (*Block) GetHash

func (x *Block) GetHash() []byte

func (*Block) GetHeader

func (x *Block) GetHeader() *BlockHeader

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) ProtoReflect

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

func (*Block) Reset

func (x *Block) Reset()

func (*Block) String

func (x *Block) String() string

type BlockBody

type BlockBody struct {
	Dirs   []*v1.BlobIdentifier `protobuf:"bytes,1,rep,name=dirs,proto3" json:"dirs,omitempty"`
	Files  []*v1.BlobIdentifier `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"`
	Chunks []*v1.BlobIdentifier `protobuf:"bytes,3,rep,name=chunks,proto3" json:"chunks,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockBody) Descriptor deprecated

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

Deprecated: Use BlockBody.ProtoReflect.Descriptor instead.

func (*BlockBody) GetChunks

func (x *BlockBody) GetChunks() []*v1.BlobIdentifier

func (*BlockBody) GetDirs

func (x *BlockBody) GetDirs() []*v1.BlobIdentifier

func (*BlockBody) GetFiles

func (x *BlockBody) GetFiles() []*v1.BlobIdentifier

func (*BlockBody) ProtoMessage

func (*BlockBody) ProtoMessage()

func (*BlockBody) ProtoReflect

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

func (*BlockBody) Reset

func (x *BlockBody) Reset()

func (*BlockBody) String

func (x *BlockBody) String() string

type BlockHeader

type BlockHeader struct {
	Version             uint32                 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	ChainId             string                 `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Height              uint64                 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	CelestiaBlockHeight uint64                 `protobuf:"varint,4,opt,name=celestia_block_height,json=celestiaBlockHeight,proto3" json:"celestia_block_height,omitempty"`
	Timestamp           *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	ParentHash          []byte                 `protobuf:"bytes,6,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty"` // bytes32
	DirsRoot            []byte                 `protobuf:"bytes,7,opt,name=dirs_root,json=dirsRoot,proto3" json:"dirs_root,omitempty"`       // bytes32
	FilesRoot           []byte                 `protobuf:"bytes,8,opt,name=files_root,json=filesRoot,proto3" json:"files_root,omitempty"`    // bytes32
	ChunksRoot          []byte                 `protobuf:"bytes,9,opt,name=chunks_root,json=chunksRoot,proto3" json:"chunks_root,omitempty"` // bytes32
	StateRoot           []byte                 `protobuf:"bytes,10,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"`   // bytes32
	// contains filtered or unexported fields
}

func (*BlockHeader) Descriptor deprecated

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

Deprecated: Use BlockHeader.ProtoReflect.Descriptor instead.

func (*BlockHeader) GetCelestiaBlockHeight

func (x *BlockHeader) GetCelestiaBlockHeight() uint64

func (*BlockHeader) GetChainId

func (x *BlockHeader) GetChainId() string

func (*BlockHeader) GetChunksRoot

func (x *BlockHeader) GetChunksRoot() []byte

func (*BlockHeader) GetDirsRoot

func (x *BlockHeader) GetDirsRoot() []byte

func (*BlockHeader) GetFilesRoot

func (x *BlockHeader) GetFilesRoot() []byte

func (*BlockHeader) GetHeight

func (x *BlockHeader) GetHeight() uint64

func (*BlockHeader) GetParentHash

func (x *BlockHeader) GetParentHash() []byte

func (*BlockHeader) GetStateRoot

func (x *BlockHeader) GetStateRoot() []byte

func (*BlockHeader) GetTimestamp

func (x *BlockHeader) GetTimestamp() *timestamppb.Timestamp

func (*BlockHeader) GetVersion

func (x *BlockHeader) GetVersion() uint32

func (*BlockHeader) ProtoMessage

func (*BlockHeader) ProtoMessage()

func (*BlockHeader) ProtoReflect

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

func (*BlockHeader) Reset

func (x *BlockHeader) Reset()

func (*BlockHeader) String

func (x *BlockHeader) String() string

Jump to

Keyboard shortcuts

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