Crate ckb_mock_tx_types

Crate ckb_mock_tx_types 

Source

Structs§

DummyResourceLoader
Dummy resource loader used for testing purposes.
MockCellDep
Represents a cell dependency with its associated data and optional header.
MockInfo
Aggregates multiple MockInput and MockCellDep instances, along with header dependencies and extensions.
MockInput
Represents a transaction input with its associated data and optional header.
MockTransaction
A wrapper transaction with mock inputs and deps.
ReprMockCellDep
ReprMockInfo
ReprMockInput
ReprMockTransaction
The structs and their implementations provide serialization and deserialization capabilities for mock cell dependencies, inputs, and transactions.
Resource
The struct holds the necessary cells, headers, and extensions for validating a transaction.

Traits§

MockResourceLoader
The trait defines methods for loading headers and live cells.