package
3.0.0-rc0
Repository: https://github.com/celestiaorg/celestia-app.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
DefaultEstimateGas runs EstimateGas with the system defaults.
DefaultGenesis returns the default Capability genesis state.
DefaultParams returns a default set of parameters.
EstimateGas estimates the total gas required to pay for a set of blobs in a PFB.
ExtractBlobComponents separates and returns the components of a slice of blobs.
GasToConsume works out the extra gas charged to pay for a set of blobs in a PFB.
No description provided by the author
No description provided by the author
No description provided by the author
NewParams creates a new Params instance.
NewPayForBlobsEvent returns a new EventPayForBlobs.
No description provided by the author
NewV0Blob creates a new V0 Blob from a provided namespace and data.
NewV1Blob creates a new V1 Blob from the provided namespace, data and the signer that will pay for the blob.
ParamKeyTable returns the param key table for the blob module.
No description provided by the author
No description provided by the author
RegisterMsgHandler registers the http handlers for service Msg to "mux".
RegisterMsgHandlerClient registers the http handlers for service Msg to "mux".
RegisterMsgHandlerFromEndpoint is same as RegisterMsgHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterMsgHandlerServer registers the http handlers for service Msg to "mux".
No description provided by the author
RegisterQueryHandler registers the http handlers for service Query to "mux".
RegisterQueryHandlerClient registers the http handlers for service Query to "mux".
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
RegisterQueryHandlerServer registers the http handlers for service Query to "mux".
No description provided by the author
ValidateBlobNamespace returns an error if the provided namespace is an invalid user-specifiable blob namespace (e.g.
ValidateBlobs performs checks that each blob is non-empty and has a valid namespace.
ValidateBlobTx performs stateless checks on the BlobTx to ensure that the blobs attached to the transaction are valid.
# Constants
BytesPerBlobInfo is a rough estimation for the amount of extra bytes in information a blob adds to the size of the underlying transaction.
DefaultIndex is the default capability global index.
MemStoreKey defines the in-memory store key.
ModuleName defines the module name.
PFBGasFixedCost is a rough estimate for the "fixed cost" in the gas cost formula: gas cost = gas per byte * bytes per share * shares occupied by blob + "fixed cost".
QuerierRoute defines the module's query routing key.
RouterKey is the message route for slashing.
StoreKey defines the primary module store key.
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ErrTotalBlobSize is deprecated, use ErrBlobsTooLarge instead.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
EventPayForBlobs defines an event that is emitted after a pay for blob has been processed.
GenesisState defines the capability module's genesis state.
MsgPayForBlobs pays for the inclusion of a blob in the block.
MsgPayForBlobsResponse describes the response returned after the submission of a PayForBlobs.
Params defines the parameters for the module.
QueryParamsRequest is the request type for the Query/Params RPC method.
QueryParamsResponse is the response type for the Query/Params RPC method.
UnimplementedMsgServer can be embedded to have forward compatible implementations.
UnimplementedQueryServer can be embedded to have forward compatible implementations.
# Interfaces
MsgClient is the client API for Msg service.
MsgServer is the server API for Msg service.
QueryClient is the client API for Query service.
QueryServer is the server API for Query service.