fsrepo: Use LevelDB for metadata datastore

This commit is contained in:
Łukasz Magiera
2020-06-01 20:13:07 +02:00
parent 7003960fdd
commit c73326e96d
11 changed files with 89 additions and 26 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ func MessagePool(lc fx.Lifecycle, sm *stmgr.StateManager, ps *pubsub.PubSub, ds
}
func ChainBlockstore(lc fx.Lifecycle, mctx helpers.MetricsCtx, r repo.LockedRepo) (dtypes.ChainBlockstore, error) {
blocks, err := r.Datastore("/blocks")
blocks, err := r.Datastore("/chain")
if err != nil {
return nil, err
}