Closed yejiayu closed 5 years ago
pub struct MemoryDB { // If "light" is true, the data is deleted from the database at the time of submission. light: bool, storage: Arc<RwLock<HashMap<Vec<u8>, Vec<u8>>>>, }