pub struct LightClientTransactionDependencyProvider { /* private fields */ }Implementations§
Trait Implementations§
source§impl TransactionDependencyProvider for LightClientTransactionDependencyProvider
impl TransactionDependencyProvider for LightClientTransactionDependencyProvider
source§fn get_transaction(
&self,
tx_hash: &Byte32
) -> Result<TransactionView, TransactionDependencyError>
fn get_transaction(
&self,
tx_hash: &Byte32
) -> Result<TransactionView, TransactionDependencyError>
For verify certain cell belong to certain transaction
source§fn get_cell(
&self,
out_point: &OutPoint
) -> Result<CellOutput, TransactionDependencyError>
fn get_cell(
&self,
out_point: &OutPoint
) -> Result<CellOutput, TransactionDependencyError>
For get the output information of inputs or cell_deps, those cell should be live cell
source§fn get_cell_data(
&self,
out_point: &OutPoint
) -> Result<Bytes, TransactionDependencyError>
fn get_cell_data(
&self,
out_point: &OutPoint
) -> Result<Bytes, TransactionDependencyError>
For get the output data information of inputs or cell_deps
source§fn get_header(
&self,
block_hash: &Byte32
) -> Result<HeaderView, TransactionDependencyError>
fn get_header(
&self,
block_hash: &Byte32
) -> Result<HeaderView, TransactionDependencyError>
For get the header information of header_deps