Module traits

Module traits 

Source
Expand description

The traits defined here is intent to describe the requirements of current library code and only implemented the trait in upper level code.

Re-exports§

pub use default_impls::DefaultCellCollector;
pub use default_impls::DefaultCellDepResolver;
pub use default_impls::DefaultHeaderDepResolver;
pub use default_impls::DefaultTransactionDependencyProvider;
pub use default_impls::SecpCkbRawKeySigner;
pub use light_client_impls::LightClientCellCollector;
pub use light_client_impls::LightClientHeaderDepResolver;
pub use light_client_impls::LightClientTransactionDependencyProvider;
pub use offchain_impls::OffchainCellCollector;
pub use offchain_impls::OffchainCellDepResolver;
pub use offchain_impls::OffchainHeaderDepResolver;
pub use offchain_impls::OffchainTransactionDependencyProvider;

Modules§

default_impls
dummy_impls
light_client_impls
offchain_impls
For for implement offchain operations or for testing purpose

Structs§

CellQueryOptions
LiveCell
ValueRangeOption
The value range option: start <= value < end

Enums§

CellCollectorError
Cell collector errors
MaturityOption
PrimaryScriptType
The primary serach script type
QueryOrder
SignerError
Signer errors
TransactionDependencyError
Transaction dependency provider errors

Traits§

CellCollector
CellDepResolver
HeaderDepResolver
Signer
A signer abstraction, support signer type:
TransactionDependencyProvider
Provider dependency information of a transaction: