diff --git a/chain/store/splitstore/liveset.go b/blockstore/splitstore/liveset.go similarity index 100% rename from chain/store/splitstore/liveset.go rename to blockstore/splitstore/liveset.go diff --git a/chain/store/splitstore/liveset_bloom.go b/blockstore/splitstore/liveset_bloom.go similarity index 100% rename from chain/store/splitstore/liveset_bloom.go rename to blockstore/splitstore/liveset_bloom.go diff --git a/chain/store/splitstore/liveset_bolt.go b/blockstore/splitstore/liveset_bolt.go similarity index 100% rename from chain/store/splitstore/liveset_bolt.go rename to blockstore/splitstore/liveset_bolt.go diff --git a/chain/store/splitstore/liveset_test.go b/blockstore/splitstore/liveset_test.go similarity index 100% rename from chain/store/splitstore/liveset_test.go rename to blockstore/splitstore/liveset_test.go diff --git a/chain/store/splitstore/splitstore.go b/blockstore/splitstore/splitstore.go similarity index 99% rename from chain/store/splitstore/splitstore.go rename to blockstore/splitstore/splitstore.go index db35357ba..56283eb92 100644 --- a/chain/store/splitstore/splitstore.go +++ b/blockstore/splitstore/splitstore.go @@ -16,6 +16,7 @@ import ( logging "github.com/ipfs/go-log/v2" "github.com/filecoin-project/go-state-types/abi" + bstore "github.com/filecoin-project/lotus/blockstore" "github.com/filecoin-project/lotus/build" "github.com/filecoin-project/lotus/chain/store" diff --git a/chain/store/splitstore/snoop.go b/blockstore/splitstore/tracking.go similarity index 100% rename from chain/store/splitstore/snoop.go rename to blockstore/splitstore/tracking.go diff --git a/chain/store/splitstore/snoop_bolt.go b/blockstore/splitstore/tracking_bolt.go similarity index 100% rename from chain/store/splitstore/snoop_bolt.go rename to blockstore/splitstore/tracking_bolt.go diff --git a/chain/store/splitstore/snoop_test.go b/blockstore/splitstore/tracking_test.go similarity index 100% rename from chain/store/splitstore/snoop_test.go rename to blockstore/splitstore/tracking_test.go diff --git a/node/modules/blockstore.go b/node/modules/blockstore.go index 0ab01a0ec..92abc6d6d 100644 --- a/node/modules/blockstore.go +++ b/node/modules/blockstore.go @@ -12,7 +12,7 @@ import ( "github.com/filecoin-project/lotus/blockstore" badgerbs "github.com/filecoin-project/lotus/blockstore/badger" - "github.com/filecoin-project/lotus/chain/store/splitstore" + "github.com/filecoin-project/lotus/blockstore/splitstore" "github.com/filecoin-project/lotus/node/config" "github.com/filecoin-project/lotus/node/modules/dtypes" "github.com/filecoin-project/lotus/node/modules/helpers" diff --git a/node/modules/chain.go b/node/modules/chain.go index a59418688..4ca60bbea 100644 --- a/node/modules/chain.go +++ b/node/modules/chain.go @@ -14,6 +14,7 @@ import ( "golang.org/x/xerrors" "github.com/filecoin-project/lotus/blockstore" + "github.com/filecoin-project/lotus/blockstore/splitstore" "github.com/filecoin-project/lotus/build" "github.com/filecoin-project/lotus/chain" "github.com/filecoin-project/lotus/chain/beacon" @@ -22,7 +23,6 @@ import ( "github.com/filecoin-project/lotus/chain/messagepool" "github.com/filecoin-project/lotus/chain/stmgr" "github.com/filecoin-project/lotus/chain/store" - "github.com/filecoin-project/lotus/chain/store/splitstore" "github.com/filecoin-project/lotus/chain/vm" "github.com/filecoin-project/lotus/extern/sector-storage/ffiwrapper" "github.com/filecoin-project/lotus/journal"