[−][src]Module ckb_types::core
The essential rust types for CKB.
Packed bytes are not enough for all usage scenarios.
This module provides essential rust types.
Most of them is composed of those packed bytes or can convert between self and those bytes.
Modules
cell | TODO(doc): @quake |
error | TODO(doc): @keroro520 |
service | Types for CKB services. |
tx_pool | Tx-pool shared type define. |
Macros
capacity_bytes | TODO(doc): @keroro520 |
Structs
BlockBuilder | An advanced builder for |
BlockEconomicState | Includes the rewards details for a block and when the block is finalized. |
BlockExt | TODO(doc): @quake |
BlockIssuance | Native token issuance. |
BlockReward | Details of miner rewards issued by block cellbase transaction. |
BlockView | A readonly and immutable struct which includes |
Capacity | CKB capacity. |
EpochExt | TODO(doc): @quake |
EpochNumberWithFraction | Represents an epoch number with a fraction unit, it can be used to accurately represent the position for a block within an epoch. |
HeaderBuilder | An advanced builder for |
HeaderView | A readonly and immutable struct which includes |
MinerReward | Miner reward. |
Ratio | Represents the ratio |
RationalU256 | Represents the ratio |
TransactionBuilder | An advanced builder for |
TransactionInfo | TODO(doc): @quake |
TransactionMeta | TODO(doc): @quake |
TransactionMetaBuilder | TODO(doc): @quake |
TransactionView | A readonly and immutable struct which includes |
UncleBlockVecView | A readonly and immutable struct which includes a vector of |
UncleBlockView | A readonly and immutable struct which includes |
Enums
DepType | TODO(doc): @quake |
ScriptHashType | TODO(doc): @quake |
Type Definitions
BlockNumber | Block number. |
CapacityResult | Numeric operation result. |
Cycle | Cycle number. |
EpochNumber | Epoch number. |
PublicKey | Public key. It's a 512 bits fixed binary data. |
Version | Version number. |