fn find_slot_meta_in_db_else_create(
db: &Database,
slot: Slot,
insert_map: &mut HashMap<u64, Rc<RefCell<SlotMeta>>>
) -> Result<Rc<RefCell<SlotMeta>>>
Expand description
A helper function to find_slot_meta_else_create
that searches the
SlotMeta
based on the specified slot
in db
and updates insert_map
.
If the specified db
does not contain a matched entry, then it will create
a dummy orphan slot in the database.