change to rocksdb

This commit is contained in:
open-trade
2021-03-19 11:32:28 +08:00
parent 06309ac068
commit 482b5e0a66
5 changed files with 167 additions and 160 deletions

View File

@@ -65,7 +65,7 @@ impl PeerMap {
fn new() -> ResultType<Self> {
Ok(Self {
map: Default::default(),
db: super::SledAsync::new("./sled.db", true)?,
db: super::SledAsync::new("./hbbs.db", true)?,
})
}