package
1.1.1
Repository: https://github.com/celestiaorg/go-square.git
Documentation: pkg.go.dev

# Functions

MarshalBlobTx creates a BlobTx using a normal transaction and some number of blobs.
MarshalIndexWrapper creates a wrapped Tx that includes the original transaction and the share index of the start of its blob.
New creates a new coretypes.Blob from the provided data after performing basic stateless checks over it.
Sort sorts the blobs by their namespace.
UnmarshalBlobTx attempts to unmarshal a transaction into blob transaction.
UnmarshalIndexWrapper attempts to unmarshal the provided transaction into an IndexWrapper transaction.

# Constants

MaxShareVersion is the maximum value a share version can be.
ProtoBlobTxTypeID is included in each encoded BlobTx to help prevent decoding binaries that are not actually BlobTxs.
ProtoIndexWrapperTypeID is included in each encoded IndexWrapper to help prevent decoding binaries that are not actually IndexWrappers.

# Variables

No description provided by the author
SupportedBlobNamespaceVersions is a list of namespace versions that can be specified by a user for blobs.

# Structs

Blob (named after binary large object) is a chunk of data submitted by a user to be published to the Celestia blockchain.
BlobTx wraps an encoded sdk.Tx with a second field to contain blobs of data.
IndexWrapper adds index metadata to a transaction.