Trait ckb_traits::CellDataProvider [−][src]
TODO(doc): @quake
Required methods
fn get_cell_data(&self, out_point: &OutPoint) -> Option<Bytes>
[src]
fetch cell_data from storage
fn get_cell_data_hash(&self, out_point: &OutPoint) -> Option<Byte32>
[src]
fetch cell_data_hash from storage
Provided methods
fn load_cell_data(&self, cell: &CellMeta) -> Option<Bytes>
[src]
load cell_data from memory, fallback to storage access
fn load_cell_data_hash(&self, cell: &CellMeta) -> Option<Byte32>
[src]
load cell_data_hash from memory, fallback to storage access