package
0.0.0-20240905203311-4ef5390ce303
Repository: https://github.com/rollchains/tiablob.git
Documentation: pkg.go.dev

# Functions

GetData slices out data of the Share.
GetNamespace slices Namespace out of the Share.
MustDataHashFromString converts a hex string to a valid datahash.
NamespaceFromBytes converts bytes into Namespace and validates it.
NewBlobNamespaceV0 takes a variable size byte slice and creates a valid version 0 Blob Namespace.

# Constants

NamespaceSize is a system-wide size for NMT namespaces.
Size is a system-wide size of a share, including both data and namespace GetNamespace.

# Variables

DefaultRSMT2DCodec sets the default rsmt2d.Codec for shares.
Various reserved namespaces.
MaxPrimaryReservedNamespace is the highest primary reserved namespace.
MaxSquareSize is currently the maximum size supported for unerasured data in rsmt2d.ExtendedDataSquare.
MinSecondaryReservedNamespace is the lowest secondary reserved namespace reserved for protocol use.
Various reserved namespaces.
Various reserved namespaces.
Various reserved namespaces.
Various reserved namespaces.
Various reserved namespaces.

# Type aliases

DataHash is a representation of the Root hash.
Namespace represents namespace of a Share.
Share contains the raw share data without the corresponding namespace.