package
0.0.0-20240905203311-4ef5390ce303
Repository: https://github.com/rollchains/tiablob.git
Documentation: pkg.go.dev
# Functions
From returns a namespace from the provided byte slice.
MustNew returns a new namespace with the provided version and id.
MustNewV0 returns a new namespace with version 0 and the provided subID.
New returns a new namespace with the provided version and id.
NewV0 returns a new namespace with version 0 and the provided subID.
No description provided by the author
No description provided by the author
RandomBlobNamespaceIDWithPRG returns a random blob namespace ID using the supplied Pseudo-Random number Generator (PRG).
No description provided by the author
RandomBlobNamespaceWithPRG generates and returns a random blob namespace using the supplied Pseudo-Random number Generator (PRG).
No description provided by the author
No description provided by the author
# Constants
NamespaceIDSize is the size of a namespace ID in bytes.
NamespaceSize is the size of a namespace (version + ID) in bytes.
NamespaceVersionMax is the max namespace version.
NamespaveVersionSize is the size of a namespace version in bytes.
NamespaceVersionZero is the first namespace version.
NamespaceVersionZeroIDSize is the number of bytes available for user-specified namespace ID in a namespace ID for version 0.
NamespaceZeroPrefixSize is the number of `0` bytes that are prefixed to namespace IDs for version 0.
# Variables
IntermediateStateRootsNamespace is the namespace reserved for intermediate state root data.
MaxPrimaryReservedNamespace is the highest primary reserved namespace.
MinSecondaryReservedNamespace is the lowest secondary reserved namespace reserved for protocol use.
NamespaceVersionZeroPrefix is the prefix of a namespace ID for version 0.
ParitySharesNamespace is the namespace reserved for erasure coded data.
PayForBlobNamespace is the namespace reserved for PayForBlobs transactions.
PrimaryReservedPaddingNamespace is the namespace used for padding after all primary reserved namespaces.
SupportedBlobNamespaceVersions is a list of namespace versions that can be specified by a user for blobs.
TailPaddingNamespace is the namespace reserved for tail padding.
TxNamespace is the namespace reserved for ordinary Cosmos SDK transactions.