pub fn create_proof_check_backend_storage<H>(
	proof: Vec<Vec<u8>>
) -> MemoryDB<H>
where
	H: Hasher,
	H::Out: HeapSizeOf,
{
	let mut db = MemoryDB::default();
	for item in proof {
		db.insert(&[], &item);
	}
	db
}
/// Create in-memory storage of proof check backend.
Create in-memory storage of proof check backend.
Create in - memory storage of proof check backend .
pub fn create_proof_check_backend_storage<H>(
	proof: Vec<Vec<u8>>
) -> MemoryDB<H>
where
	H: Hasher,
	H::Out: HeapSizeOf,
{
	let mut db = MemoryDB::default();
	for item in proof {
		db.insert(&[], &item);
	}
	db
}
pub fn create_proof_check_backend_storage < H > ( proof : Vec < Vec < u8 > > ) -> MemoryDB < H > where H : Hasher , H :: Out : HeapSizeOf , { let mut db = MemoryDB :: default ( ) ; for item in proof { db . insert ( & [ ] , & item ) ; } db }
Create in-memory storage of proof check backend.
Create in - memory storage of proof check backend .
proof
Vec<Vec<u8>>
proof
Vec<Vec<u8>>