Documentation ¶
Index ¶
- Variables
- type BlobProto
- func (*BlobProto) Descriptor() ([]byte, []int)deprecated
- func (x *BlobProto) GetData() []byte
- func (x *BlobProto) GetNamespaceId() []byte
- func (x *BlobProto) GetNamespaceVersion() uint32
- func (x *BlobProto) GetShareVersion() uint32
- func (x *BlobProto) GetSigner() []byte
- func (*BlobProto) ProtoMessage()
- func (x *BlobProto) ProtoReflect() protoreflect.Message
- func (x *BlobProto) Reset()
- func (x *BlobProto) String() string
- type BlobTx
- func (*BlobTx) Descriptor() ([]byte, []int)deprecated
- func (x *BlobTx) GetBlobs() []*BlobProto
- func (x *BlobTx) GetTx() []byte
- func (x *BlobTx) GetTypeId() string
- func (*BlobTx) ProtoMessage()
- func (x *BlobTx) ProtoReflect() protoreflect.Message
- func (x *BlobTx) Reset()
- func (x *BlobTx) String() string
- type IndexWrapper
- func (*IndexWrapper) Descriptor() ([]byte, []int)deprecated
- func (x *IndexWrapper) GetShareIndexes() []uint32
- func (x *IndexWrapper) GetTx() []byte
- func (x *IndexWrapper) GetTypeId() string
- func (*IndexWrapper) ProtoMessage()
- func (x *IndexWrapper) ProtoReflect() protoreflect.Message
- func (x *IndexWrapper) Reset()
- func (x *IndexWrapper) String() string
Constants ¶
This section is empty.
Variables ¶
var File_proto_blob_v1_blob_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BlobProto ¶
type BlobProto struct { NamespaceId []byte `protobuf:"bytes,1,opt,name=namespace_id,json=namespaceId,proto3" json:"namespace_id,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` NamespaceVersion uint32 `protobuf:"varint,4,opt,name=namespace_version,json=namespaceVersion,proto3" json:"namespace_version,omitempty"` // Signer is sdk.AccAddress that paid for this blob. This field is optional // and can only be used when share_version is set to 1. Signer []byte `protobuf:"bytes,5,opt,name=signer,proto3" json:"signer,omitempty"` // contains filtered or unexported fields }
BlobProto is the protobuf representation of a blob (binary large object) to be published to the Celestia blockchain. The data of a Blob is published to a namespace and is encoded into shares based on the format specified by share_version.
func (*BlobProto) Descriptor
deprecated
func (*BlobProto) GetNamespaceId ¶
func (*BlobProto) GetNamespaceVersion ¶
func (*BlobProto) GetShareVersion ¶
func (*BlobProto) ProtoMessage ¶
func (*BlobProto) ProtoMessage()
func (*BlobProto) ProtoReflect ¶
func (x *BlobProto) ProtoReflect() protoreflect.Message
type BlobTx ¶
type BlobTx struct { Tx []byte `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` Blobs []*BlobProto `protobuf:"bytes,2,rep,name=blobs,proto3" json:"blobs,omitempty"` TypeId string `protobuf:"bytes,3,opt,name=type_id,json=typeId,proto3" json:"type_id,omitempty"` // contains filtered or unexported fields }
BlobTx wraps an encoded sdk.Tx with a second field to contain blobs of data. The raw bytes of the blobs are not signed over, instead we verify each blob using the relevant MsgPayForBlobs that is signed over in the encoded sdk.Tx.
func (*BlobTx) Descriptor
deprecated
func (*BlobTx) ProtoMessage ¶
func (*BlobTx) ProtoMessage()
func (*BlobTx) ProtoReflect ¶
func (x *BlobTx) ProtoReflect() protoreflect.Message
type IndexWrapper ¶
type IndexWrapper struct { Tx []byte `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` TypeId string `protobuf:"bytes,3,opt,name=type_id,json=typeId,proto3" json:"type_id,omitempty"` // contains filtered or unexported fields }
IndexWrapper adds index metadata to a transaction. This is used to track transactions that pay for blobs, and where the blobs start in the square.
func (*IndexWrapper) Descriptor
deprecated
func (*IndexWrapper) Descriptor() ([]byte, []int)
Deprecated: Use IndexWrapper.ProtoReflect.Descriptor instead.
func (*IndexWrapper) GetShareIndexes ¶
func (x *IndexWrapper) GetShareIndexes() []uint32
func (*IndexWrapper) GetTx ¶
func (x *IndexWrapper) GetTx() []byte
func (*IndexWrapper) GetTypeId ¶
func (x *IndexWrapper) GetTypeId() string
func (*IndexWrapper) ProtoMessage ¶
func (*IndexWrapper) ProtoMessage()
func (*IndexWrapper) ProtoReflect ¶
func (x *IndexWrapper) ProtoReflect() protoreflect.Message
func (*IndexWrapper) Reset ¶
func (x *IndexWrapper) Reset()
func (*IndexWrapper) String ¶
func (x *IndexWrapper) String() string