Browse Source

store: move pacakge to internal (#6978)

pull/6981/head
Sam Kleinman 3 years ago
committed by GitHub
parent
commit
bb8ffcb95b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
22 changed files with 20 additions and 20 deletions
  1. +1
    -1
      cmd/tendermint/commands/reindex_event.go
  2. +1
    -1
      internal/blocksync/v0/reactor.go
  3. +1
    -1
      internal/blocksync/v0/reactor_test.go
  4. +1
    -1
      internal/blocksync/v2/reactor_test.go
  5. +1
    -1
      internal/consensus/byzantine_test.go
  6. +1
    -1
      internal/consensus/common_test.go
  7. +1
    -1
      internal/consensus/mempool_test.go
  8. +1
    -1
      internal/consensus/reactor_test.go
  9. +1
    -1
      internal/consensus/replay_file.go
  10. +1
    -1
      internal/consensus/replay_test.go
  11. +1
    -1
      internal/consensus/wal_generator.go
  12. +1
    -1
      internal/evidence/pool_test.go
  13. +1
    -1
      internal/inspect/inspect.go
  14. +1
    -1
      internal/state/execution_test.go
  15. +1
    -1
      internal/state/validation_test.go
  16. +1
    -1
      internal/statesync/reactor.go
  17. +1
    -1
      internal/statesync/reactor_test.go
  18. +0
    -0
      internal/store/store.go
  19. +0
    -0
      internal/store/store_test.go
  20. +1
    -1
      node/node.go
  21. +1
    -1
      node/node_test.go
  22. +1
    -1
      node/setup.go

+ 1
- 1
cmd/tendermint/commands/reindex_event.go View File

@ -15,8 +15,8 @@ import (
"github.com/tendermint/tendermint/internal/state/indexer"
"github.com/tendermint/tendermint/internal/state/indexer/sink/kv"
"github.com/tendermint/tendermint/internal/state/indexer/sink/psql"
"github.com/tendermint/tendermint/internal/store"
"github.com/tendermint/tendermint/rpc/coretypes"
"github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types"
)


+ 1
- 1
internal/blocksync/v0/reactor.go View File

@ -10,11 +10,11 @@ import (
"github.com/tendermint/tendermint/internal/consensus"
"github.com/tendermint/tendermint/internal/p2p"
sm "github.com/tendermint/tendermint/internal/state"
"github.com/tendermint/tendermint/internal/store"
"github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/libs/service"
tmsync "github.com/tendermint/tendermint/libs/sync"
bcproto "github.com/tendermint/tendermint/proto/tendermint/blocksync"
"github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types"
)


+ 1
- 1
internal/blocksync/v0/reactor_test.go View File

@ -18,10 +18,10 @@ import (
"github.com/tendermint/tendermint/internal/proxy"
sm "github.com/tendermint/tendermint/internal/state"
sf "github.com/tendermint/tendermint/internal/state/test/factory"
"github.com/tendermint/tendermint/internal/store"
"github.com/tendermint/tendermint/internal/test/factory"
"github.com/tendermint/tendermint/libs/log"
bcproto "github.com/tendermint/tendermint/proto/tendermint/blocksync"
"github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types"
)


+ 1
- 1
internal/blocksync/v2/reactor_test.go View File

@ -24,11 +24,11 @@ import (
"github.com/tendermint/tendermint/internal/proxy"
sm "github.com/tendermint/tendermint/internal/state"
sf "github.com/tendermint/tendermint/internal/state/test/factory"
tmstore "github.com/tendermint/tendermint/internal/store"
"github.com/tendermint/tendermint/internal/test/factory"
"github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/libs/service"
bcproto "github.com/tendermint/tendermint/proto/tendermint/blocksync"
tmstore "github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types"
)


+ 1
- 1
internal/consensus/byzantine_test.go View File

@ -19,11 +19,11 @@ import (
mempoolv0 "github.com/tendermint/tendermint/internal/mempool/v0"
"github.com/tendermint/tendermint/internal/p2p"
sm "github.com/tendermint/tendermint/internal/state"
"github.com/tendermint/tendermint/internal/store"
"github.com/tendermint/tendermint/internal/test/factory"
"github.com/tendermint/tendermint/libs/log"
tmcons "github.com/tendermint/tendermint/proto/tendermint/consensus"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
"github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types"
)


+ 1
- 1
internal/consensus/common_test.go View File

@ -24,6 +24,7 @@ import (
tmsync "github.com/tendermint/tendermint/internal/libs/sync"
mempoolv0 "github.com/tendermint/tendermint/internal/mempool/v0"
sm "github.com/tendermint/tendermint/internal/state"
"github.com/tendermint/tendermint/internal/store"
"github.com/tendermint/tendermint/internal/test/factory"
tmbytes "github.com/tendermint/tendermint/libs/bytes"
"github.com/tendermint/tendermint/libs/log"
@ -32,7 +33,6 @@ import (
tmtime "github.com/tendermint/tendermint/libs/time"
"github.com/tendermint/tendermint/privval"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
"github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types"
)


+ 1
- 1
internal/consensus/mempool_test.go View File

@ -16,7 +16,7 @@ import (
abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/internal/mempool"
sm "github.com/tendermint/tendermint/internal/state"
"github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/internal/store"
"github.com/tendermint/tendermint/types"
)


+ 1
- 1
internal/consensus/reactor_test.go View File

@ -26,11 +26,11 @@ import (
"github.com/tendermint/tendermint/internal/p2p/p2ptest"
sm "github.com/tendermint/tendermint/internal/state"
statemocks "github.com/tendermint/tendermint/internal/state/mocks"
"github.com/tendermint/tendermint/internal/store"
"github.com/tendermint/tendermint/internal/test/factory"
"github.com/tendermint/tendermint/libs/log"
tmpubsub "github.com/tendermint/tendermint/libs/pubsub"
tmcons "github.com/tendermint/tendermint/proto/tendermint/consensus"
"github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types"
)


+ 1
- 1
internal/consensus/replay_file.go View File

@ -15,10 +15,10 @@ import (
"github.com/tendermint/tendermint/config"
"github.com/tendermint/tendermint/internal/proxy"
sm "github.com/tendermint/tendermint/internal/state"
"github.com/tendermint/tendermint/internal/store"
"github.com/tendermint/tendermint/libs/log"
tmos "github.com/tendermint/tendermint/libs/os"
tmpubsub "github.com/tendermint/tendermint/libs/pubsub"
"github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types"
)


+ 1
- 1
internal/consensus/replay_test.go View File

@ -29,13 +29,13 @@ import (
"github.com/tendermint/tendermint/internal/proxy"
sm "github.com/tendermint/tendermint/internal/state"
sf "github.com/tendermint/tendermint/internal/state/test/factory"
"github.com/tendermint/tendermint/internal/store"
"github.com/tendermint/tendermint/internal/test/factory"
"github.com/tendermint/tendermint/libs/log"
tmrand "github.com/tendermint/tendermint/libs/rand"
"github.com/tendermint/tendermint/privval"
tmstate "github.com/tendermint/tendermint/proto/tendermint/state"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
"github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types"
)


+ 1
- 1
internal/consensus/wal_generator.go View File

@ -18,9 +18,9 @@ import (
"github.com/tendermint/tendermint/config"
"github.com/tendermint/tendermint/internal/proxy"
sm "github.com/tendermint/tendermint/internal/state"
"github.com/tendermint/tendermint/internal/store"
"github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/privval"
"github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types"
)


+ 1
- 1
internal/evidence/pool_test.go View File

@ -16,9 +16,9 @@ import (
sm "github.com/tendermint/tendermint/internal/state"
smmocks "github.com/tendermint/tendermint/internal/state/mocks"
sf "github.com/tendermint/tendermint/internal/state/test/factory"
"github.com/tendermint/tendermint/internal/store"
"github.com/tendermint/tendermint/internal/test/factory"
"github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types"
"github.com/tendermint/tendermint/version"
)


+ 1
- 1
internal/inspect/inspect.go View File

@ -12,9 +12,9 @@ import (
"github.com/tendermint/tendermint/internal/state"
"github.com/tendermint/tendermint/internal/state/indexer"
"github.com/tendermint/tendermint/internal/state/indexer/sink"
"github.com/tendermint/tendermint/internal/store"
"github.com/tendermint/tendermint/libs/log"
tmstrings "github.com/tendermint/tendermint/libs/strings"
"github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types"
"golang.org/x/sync/errgroup"


+ 1
- 1
internal/state/execution_test.go View File

@ -21,9 +21,9 @@ import (
sm "github.com/tendermint/tendermint/internal/state"
"github.com/tendermint/tendermint/internal/state/mocks"
sf "github.com/tendermint/tendermint/internal/state/test/factory"
"github.com/tendermint/tendermint/internal/store"
"github.com/tendermint/tendermint/libs/log"
tmtime "github.com/tendermint/tendermint/libs/time"
"github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types"
"github.com/tendermint/tendermint/version"
)


+ 1
- 1
internal/state/validation_test.go View File

@ -17,11 +17,11 @@ import (
sm "github.com/tendermint/tendermint/internal/state"
"github.com/tendermint/tendermint/internal/state/mocks"
statefactory "github.com/tendermint/tendermint/internal/state/test/factory"
"github.com/tendermint/tendermint/internal/store"
testfactory "github.com/tendermint/tendermint/internal/test/factory"
"github.com/tendermint/tendermint/libs/log"
tmtime "github.com/tendermint/tendermint/libs/time"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
"github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types"
)


+ 1
- 1
internal/statesync/reactor.go View File

@ -16,12 +16,12 @@ import (
"github.com/tendermint/tendermint/internal/p2p"
"github.com/tendermint/tendermint/internal/proxy"
sm "github.com/tendermint/tendermint/internal/state"
"github.com/tendermint/tendermint/internal/store"
"github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/libs/service"
"github.com/tendermint/tendermint/light"
"github.com/tendermint/tendermint/light/provider"
ssproto "github.com/tendermint/tendermint/proto/tendermint/statesync"
"github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types"
)


+ 1
- 1
internal/statesync/reactor_test.go View File

@ -20,12 +20,12 @@ import (
proxymocks "github.com/tendermint/tendermint/internal/proxy/mocks"
smmocks "github.com/tendermint/tendermint/internal/state/mocks"
"github.com/tendermint/tendermint/internal/statesync/mocks"
"github.com/tendermint/tendermint/internal/store"
"github.com/tendermint/tendermint/internal/test/factory"
"github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/light/provider"
ssproto "github.com/tendermint/tendermint/proto/tendermint/statesync"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
"github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types"
)


store/store.go → internal/store/store.go View File


store/store_test.go → internal/store/store_test.go View File


+ 1
- 1
node/node.go View File

@ -24,6 +24,7 @@ import (
rpccore "github.com/tendermint/tendermint/internal/rpc/core"
sm "github.com/tendermint/tendermint/internal/state"
"github.com/tendermint/tendermint/internal/statesync"
"github.com/tendermint/tendermint/internal/store"
"github.com/tendermint/tendermint/libs/log"
tmnet "github.com/tendermint/tendermint/libs/net"
tmpubsub "github.com/tendermint/tendermint/libs/pubsub"
@ -34,7 +35,6 @@ import (
tmgrpc "github.com/tendermint/tendermint/privval/grpc"
grpccore "github.com/tendermint/tendermint/rpc/grpc"
rpcserver "github.com/tendermint/tendermint/rpc/jsonrpc/server"
"github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types"
_ "net/http/pprof" // nolint: gosec // securely exposed on separate, optional port


+ 1
- 1
node/node_test.go View File

@ -27,12 +27,12 @@ import (
"github.com/tendermint/tendermint/internal/proxy"
sm "github.com/tendermint/tendermint/internal/state"
"github.com/tendermint/tendermint/internal/state/indexer"
"github.com/tendermint/tendermint/internal/store"
"github.com/tendermint/tendermint/internal/test/factory"
"github.com/tendermint/tendermint/libs/log"
tmrand "github.com/tendermint/tendermint/libs/rand"
tmtime "github.com/tendermint/tendermint/libs/time"
"github.com/tendermint/tendermint/privval"
"github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types"
)


+ 1
- 1
node/setup.go View File

@ -29,11 +29,11 @@ import (
"github.com/tendermint/tendermint/internal/state/indexer"
"github.com/tendermint/tendermint/internal/state/indexer/sink"
"github.com/tendermint/tendermint/internal/statesync"
"github.com/tendermint/tendermint/internal/store"
"github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/libs/service"
tmstrings "github.com/tendermint/tendermint/libs/strings"
protop2p "github.com/tendermint/tendermint/proto/tendermint/p2p"
"github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types"
"github.com/tendermint/tendermint/version"


Loading…
Cancel
Save