Skip to main content

Module query_data

Module query_data 

Source

Modules§

sql
Mappings between availability types and SQL types.

Structs§

ADVZCommonQueryData
The old VidCommonQueryData, associated with ADVZ VID Scheme.
ADVZPayloadQueryData
BlockQueryData
BlockSummaryQueryData
BlockWithTransaction
CustomSnafu
SNAFU context selector for the Error::Custom variant
FetchBlockSnafu
SNAFU context selector for the Error::FetchBlock variant
FetchHeaderSnafu
SNAFU context selector for the Error::FetchHeader variant
FetchLeafSnafu
SNAFU context selector for the Error::FetchLeaf variant
FetchStateCertSnafu
SNAFU context selector for the Error::FetchStateCert variant
FetchTransactionSnafu
SNAFU context selector for the Error::FetchTransaction variant
HeaderQueryData
InconsistentLeafError
InconsistentLeafLegacyError
InvalidTransactionIndexSnafu
SNAFU context selector for the Error::InvalidTransactionIndex variant
LeafQueryData
LeafQueryDataLegacy
Limits
NamespaceInfo
PayloadMetadata
A summary of a payload without all the data.
PayloadQueryData
QuerySnafu
SNAFU context selector for the Error::Query variant
RangeLimitSnafu
SNAFU context selector for the Error::RangeLimit variant
RequestSnafu
SNAFU context selector for the Error::Request variant
TransactionIndex
TransactionQueryData
TransactionSummaryQueryData
TransactionWithProofQueryData
VidCommonMetadata
A summary of a VID payload without all the data.
VidCommonQueryData

Enums§

BlockId
Error
Errors surfaced to clients of the availability API.
LeafId

Traits§

QueryableHeader
QueryablePayload
A block payload whose contents (e.g. individual transactions) can be examined.
VerifiableInclusion
The proof system and the statement which is proved will vary by application, with different applications proving stronger or weaker statements depending on the trust assumptions at play. Some may prove a very strong statement (for example, a shared sequencer proving that the transaction belongs not only to the block but to a section of the block dedicated to a specific rollup), otherwise may prove something substantially weaker (for example, a trusted query service may use () for the proof).

Functions§

payload_size

Type Aliases§

BlockHash
A block hash is the hash of the block header.
LeafHash
LeafHashLegacy
NamespaceId
NamespaceIndex
NamespaceMap
QcHash
Timestamp
TransactionHash
TransactionInclusionProof