pub trait MockResourceLoader {
// Required methods
fn get_header(&mut self, hash: H256) -> Result<Option<HeaderView>, String>;
fn get_live_cell(
&mut self,
out_point: OutPoint,
) -> Result<Option<(CellOutput, Bytes, Option<Byte32>)>, String>;
}
Expand description
The trait defines methods for loading headers and live cells.