feat(multistore): extract multistore code to repo

Extract multistore + multiread blockstore to a seperate repo
This commit is contained in:
hannahhoward
2020-07-24 14:47:22 -07:00
parent 7410c057c6
commit dd885b7302
9 changed files with 16 additions and 347 deletions
+2 -1
View File
@@ -4,6 +4,7 @@ import (
"context"
"time"
"github.com/filecoin-project/go-multistore"
"github.com/filecoin-project/lotus/lib/bufbstore"
"golang.org/x/xerrors"
@@ -42,7 +43,7 @@ func ClientMultiDatastore(lc fx.Lifecycle, r repo.LockedRepo) (dtypes.ClientMult
return nil, xerrors.Errorf("getting datastore out of reop: %w", err)
}
mds, err := importmgr.NewMultiDstore(ds)
mds, err := multistore.NewMultiDstore(ds)
if err != nil {
return nil, err
}