Browse Source

state: move package to internal (#6964)

pull/6974/head
Sam Kleinman 3 years ago
committed by GitHub
parent
commit
1c4950dbd2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
138 changed files with 154 additions and 154 deletions
  1. +5
    -5
      cmd/tendermint/commands/reindex_event.go
  2. +2
    -2
      cmd/tendermint/commands/reindex_event_test.go
  3. +1
    -1
      internal/blocksync/v0/reactor.go
  4. +2
    -2
      internal/blocksync/v0/reactor_test.go
  5. +1
    -1
      internal/blocksync/v2/io.go
  6. +1
    -1
      internal/blocksync/v2/processor.go
  7. +1
    -1
      internal/blocksync/v2/processor_context.go
  8. +1
    -1
      internal/blocksync/v2/processor_test.go
  9. +1
    -1
      internal/blocksync/v2/reactor.go
  10. +2
    -2
      internal/blocksync/v2/reactor_test.go
  11. +1
    -1
      internal/blocksync/v2/scheduler_test.go
  12. +1
    -1
      internal/consensus/byzantine_test.go
  13. +1
    -1
      internal/consensus/common_test.go
  14. +1
    -1
      internal/consensus/mempool_test.go
  15. +1
    -1
      internal/consensus/mocks/cons_sync_reactor.go
  16. +1
    -1
      internal/consensus/mocks/fast_sync_reactor.go
  17. +1
    -1
      internal/consensus/reactor.go
  18. +2
    -2
      internal/consensus/reactor_test.go
  19. +1
    -1
      internal/consensus/replay.go
  20. +1
    -1
      internal/consensus/replay_file.go
  21. +2
    -2
      internal/consensus/replay_test.go
  22. +1
    -1
      internal/consensus/state.go
  23. +1
    -1
      internal/consensus/wal_generator.go
  24. +1
    -1
      internal/evidence/pool.go
  25. +3
    -3
      internal/evidence/pool_test.go
  26. +1
    -1
      internal/evidence/reactor_test.go
  27. +2
    -2
      internal/evidence/verify_test.go
  28. +4
    -4
      internal/inspect/inspect.go
  29. +3
    -3
      internal/inspect/inspect_test.go
  30. +3
    -3
      internal/inspect/rpc/rpc.go
  31. +0
    -0
      internal/rpc/core/CONTRIBUTING.md
  32. +0
    -0
      internal/rpc/core/README.md
  33. +1
    -1
      internal/rpc/core/abci.go
  34. +2
    -2
      internal/rpc/core/blocks.go
  35. +2
    -2
      internal/rpc/core/blocks_test.go
  36. +1
    -1
      internal/rpc/core/consensus.go
  37. +1
    -1
      internal/rpc/core/dev.go
  38. +0
    -0
      internal/rpc/core/doc.go
  39. +0
    -0
      internal/rpc/core/doc_template.txt
  40. +3
    -3
      internal/rpc/core/env.go
  41. +0
    -0
      internal/rpc/core/env_test.go
  42. +1
    -1
      internal/rpc/core/events.go
  43. +1
    -1
      internal/rpc/core/evidence.go
  44. +1
    -1
      internal/rpc/core/health.go
  45. +1
    -1
      internal/rpc/core/mempool.go
  46. +1
    -1
      internal/rpc/core/net.go
  47. +0
    -0
      internal/rpc/core/net_test.go
  48. +0
    -0
      internal/rpc/core/routes.go
  49. +1
    -1
      internal/rpc/core/status.go
  50. +2
    -2
      internal/rpc/core/tx.go
  51. +0
    -0
      internal/state/errors.go
  52. +0
    -0
      internal/state/execution.go
  53. +3
    -3
      internal/state/execution_test.go
  54. +0
    -0
      internal/state/export_test.go
  55. +2
    -2
      internal/state/helpers_test.go
  56. +1
    -1
      internal/state/indexer/block/kv/kv.go
  57. +1
    -1
      internal/state/indexer/block/kv/kv_test.go
  58. +0
    -0
      internal/state/indexer/block/kv/util.go
  59. +1
    -1
      internal/state/indexer/block/null/null.go
  60. +0
    -0
      internal/state/indexer/doc.go
  61. +0
    -0
      internal/state/indexer/eventsink.go
  62. +0
    -0
      internal/state/indexer/indexer.go
  63. +0
    -0
      internal/state/indexer/indexer_service.go
  64. +3
    -3
      internal/state/indexer/indexer_service_test.go
  65. +1
    -1
      internal/state/indexer/mocks/event_sink.go
  66. +0
    -0
      internal/state/indexer/query_range.go
  67. +3
    -3
      internal/state/indexer/sink/kv/kv.go
  68. +2
    -2
      internal/state/indexer/sink/kv/kv_test.go
  69. +1
    -1
      internal/state/indexer/sink/null/null.go
  70. +1
    -1
      internal/state/indexer/sink/null/null_test.go
  71. +1
    -1
      internal/state/indexer/sink/psql/psql.go
  72. +1
    -1
      internal/state/indexer/sink/psql/psql_test.go
  73. +0
    -0
      internal/state/indexer/sink/psql/schema.sql
  74. +4
    -4
      internal/state/indexer/sink/sink.go
  75. +1
    -1
      internal/state/indexer/tx/kv/kv.go
  76. +0
    -0
      internal/state/indexer/tx/kv/kv_bench_test.go
  77. +1
    -1
      internal/state/indexer/tx/kv/kv_test.go
  78. +0
    -0
      internal/state/indexer/tx/kv/utils.go
  79. +0
    -0
      internal/state/indexer/tx/kv/utils_test.go
  80. +1
    -1
      internal/state/indexer/tx/null/null.go
  81. +0
    -0
      internal/state/metrics.go
  82. +0
    -0
      internal/state/mocks/block_store.go
  83. +1
    -1
      internal/state/mocks/event_sink.go
  84. +1
    -1
      internal/state/mocks/evidence_pool.go
  85. +1
    -1
      internal/state/mocks/store.go
  86. +0
    -0
      internal/state/services.go
  87. +0
    -0
      internal/state/state.go
  88. +2
    -2
      internal/state/state_test.go
  89. +0
    -0
      internal/state/store.go
  90. +1
    -1
      internal/state/store_test.go
  91. +1
    -1
      internal/state/test/factory/block.go
  92. +0
    -0
      internal/state/time.go
  93. +0
    -0
      internal/state/time_test.go
  94. +0
    -0
      internal/state/tx_filter.go
  95. +1
    -1
      internal/state/tx_filter_test.go
  96. +0
    -0
      internal/state/validation.go
  97. +3
    -3
      internal/state/validation_test.go
  98. +1
    -1
      internal/statesync/mocks/state_provider.go
  99. +1
    -1
      internal/statesync/reactor.go
  100. +1
    -1
      internal/statesync/reactor_test.go

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

@ -11,11 +11,11 @@ import (
abcitypes "github.com/tendermint/tendermint/abci/types"
tmcfg "github.com/tendermint/tendermint/config"
"github.com/tendermint/tendermint/internal/libs/progressbar"
ctypes "github.com/tendermint/tendermint/rpc/core/types"
"github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/state/indexer"
"github.com/tendermint/tendermint/state/indexer/sink/kv"
"github.com/tendermint/tendermint/state/indexer/sink/psql"
"github.com/tendermint/tendermint/internal/state"
"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"
ctypes "github.com/tendermint/tendermint/rpc/coretypes"
"github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types"
)


+ 2
- 2
cmd/tendermint/commands/reindex_event_test.go View File

@ -11,9 +11,9 @@ import (
abcitypes "github.com/tendermint/tendermint/abci/types"
tmcfg "github.com/tendermint/tendermint/config"
"github.com/tendermint/tendermint/internal/state/indexer"
"github.com/tendermint/tendermint/internal/state/mocks"
prototmstate "github.com/tendermint/tendermint/proto/tendermint/state"
"github.com/tendermint/tendermint/state/indexer"
"github.com/tendermint/tendermint/state/mocks"
"github.com/tendermint/tendermint/types"
)


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

@ -9,11 +9,11 @@ import (
bc "github.com/tendermint/tendermint/internal/blocksync"
cons "github.com/tendermint/tendermint/internal/consensus"
"github.com/tendermint/tendermint/internal/p2p"
sm "github.com/tendermint/tendermint/internal/state"
"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"
sm "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types"
)


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

@ -15,11 +15,11 @@ import (
"github.com/tendermint/tendermint/internal/p2p"
"github.com/tendermint/tendermint/internal/p2p/p2ptest"
"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/test/factory"
"github.com/tendermint/tendermint/libs/log"
bcproto "github.com/tendermint/tendermint/proto/tendermint/blocksync"
sm "github.com/tendermint/tendermint/state"
sf "github.com/tendermint/tendermint/state/test/factory"
"github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types"
dbm "github.com/tendermint/tm-db"


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

@ -5,8 +5,8 @@ import (
"github.com/gogo/protobuf/proto"
"github.com/tendermint/tendermint/internal/p2p"
"github.com/tendermint/tendermint/internal/state"
bcproto "github.com/tendermint/tendermint/proto/tendermint/blocksync"
"github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/types"
)


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

@ -3,7 +3,7 @@ package v2
import (
"fmt"
tmState "github.com/tendermint/tendermint/state"
tmState "github.com/tendermint/tendermint/internal/state"
"github.com/tendermint/tendermint/types"
)


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

@ -4,7 +4,7 @@ import (
"fmt"
cons "github.com/tendermint/tendermint/internal/consensus"
"github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/internal/state"
"github.com/tendermint/tendermint/types"
)


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

@ -5,7 +5,7 @@ import (
"github.com/stretchr/testify/assert"
tmState "github.com/tendermint/tendermint/state"
tmState "github.com/tendermint/tendermint/internal/state"
"github.com/tendermint/tendermint/types"
)


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

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


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

@ -22,12 +22,12 @@ import (
"github.com/tendermint/tendermint/internal/p2p"
"github.com/tendermint/tendermint/internal/p2p/conn"
"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/test/factory"
"github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/libs/service"
bcproto "github.com/tendermint/tendermint/proto/tendermint/blocksync"
sm "github.com/tendermint/tendermint/state"
sf "github.com/tendermint/tendermint/state/test/factory"
tmstore "github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types"
)


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

@ -10,7 +10,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/internal/state"
"github.com/tendermint/tendermint/types"
)


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

@ -16,11 +16,11 @@ import (
tmsync "github.com/tendermint/tendermint/internal/libs/sync"
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/test/factory"
"github.com/tendermint/tendermint/libs/log"
tmcons "github.com/tendermint/tendermint/proto/tendermint/consensus"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
sm "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types"
dbm "github.com/tendermint/tm-db"


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

@ -25,6 +25,7 @@ import (
cstypes "github.com/tendermint/tendermint/internal/consensus/types"
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/test/factory"
tmbytes "github.com/tendermint/tendermint/libs/bytes"
"github.com/tendermint/tendermint/libs/log"
@ -33,7 +34,6 @@ import (
tmtime "github.com/tendermint/tendermint/libs/time"
"github.com/tendermint/tendermint/privval"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
sm "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types"
)


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

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


+ 1
- 1
internal/consensus/mocks/cons_sync_reactor.go View File

@ -4,7 +4,7 @@ package mocks
import (
mock "github.com/stretchr/testify/mock"
state "github.com/tendermint/tendermint/state"
state "github.com/tendermint/tendermint/internal/state"
)
// ConsSyncReactor is an autogenerated mock type for the ConsSyncReactor type


+ 1
- 1
internal/consensus/mocks/fast_sync_reactor.go View File

@ -4,7 +4,7 @@ package mocks
import (
mock "github.com/stretchr/testify/mock"
state "github.com/tendermint/tendermint/state"
state "github.com/tendermint/tendermint/internal/state"
time "time"
)


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

@ -8,13 +8,13 @@ import (
cstypes "github.com/tendermint/tendermint/internal/consensus/types"
tmsync "github.com/tendermint/tendermint/internal/libs/sync"
"github.com/tendermint/tendermint/internal/p2p"
sm "github.com/tendermint/tendermint/internal/state"
"github.com/tendermint/tendermint/libs/bits"
tmevents "github.com/tendermint/tendermint/libs/events"
"github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/libs/service"
tmcons "github.com/tendermint/tendermint/proto/tendermint/consensus"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
sm "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/types"
)


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

@ -23,12 +23,12 @@ import (
mempoolv0 "github.com/tendermint/tendermint/internal/mempool/v0"
"github.com/tendermint/tendermint/internal/p2p"
"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/test/factory"
"github.com/tendermint/tendermint/libs/log"
tmpubsub "github.com/tendermint/tendermint/libs/pubsub"
tmcons "github.com/tendermint/tendermint/proto/tendermint/consensus"
sm "github.com/tendermint/tendermint/state"
statemocks "github.com/tendermint/tendermint/state/mocks"
"github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types"
dbm "github.com/tendermint/tm-db"


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

@ -12,8 +12,8 @@ import (
abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/crypto/merkle"
"github.com/tendermint/tendermint/internal/proxy"
sm "github.com/tendermint/tendermint/internal/state"
"github.com/tendermint/tendermint/libs/log"
sm "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/types"
)


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

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


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

@ -27,14 +27,14 @@ import (
cryptoenc "github.com/tendermint/tendermint/crypto/encoding"
mempl "github.com/tendermint/tendermint/internal/mempool"
"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/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"
sm "github.com/tendermint/tendermint/state"
sf "github.com/tendermint/tendermint/state/test/factory"
"github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types"
)


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

@ -17,6 +17,7 @@ import (
cstypes "github.com/tendermint/tendermint/internal/consensus/types"
"github.com/tendermint/tendermint/internal/libs/fail"
tmsync "github.com/tendermint/tendermint/internal/libs/sync"
sm "github.com/tendermint/tendermint/internal/state"
tmevents "github.com/tendermint/tendermint/libs/events"
tmjson "github.com/tendermint/tendermint/libs/json"
"github.com/tendermint/tendermint/libs/log"
@ -27,7 +28,6 @@ import (
"github.com/tendermint/tendermint/privval"
tmgrpc "github.com/tendermint/tendermint/privval/grpc"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
sm "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/types"
)


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

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


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

@ -14,9 +14,9 @@ import (
dbm "github.com/tendermint/tm-db"
clist "github.com/tendermint/tendermint/internal/libs/clist"
sm "github.com/tendermint/tendermint/internal/state"
"github.com/tendermint/tendermint/libs/log"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
sm "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/types"
)


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

@ -13,11 +13,11 @@ import (
"github.com/tendermint/tendermint/internal/evidence"
"github.com/tendermint/tendermint/internal/evidence/mocks"
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/test/factory"
"github.com/tendermint/tendermint/libs/log"
sm "github.com/tendermint/tendermint/state"
smmocks "github.com/tendermint/tendermint/state/mocks"
sf "github.com/tendermint/tendermint/state/test/factory"
"github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types"
"github.com/tendermint/tendermint/version"


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

@ -20,9 +20,9 @@ import (
"github.com/tendermint/tendermint/internal/evidence/mocks"
"github.com/tendermint/tendermint/internal/p2p"
"github.com/tendermint/tendermint/internal/p2p/p2ptest"
sm "github.com/tendermint/tendermint/internal/state"
"github.com/tendermint/tendermint/libs/log"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
sm "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/types"
)


+ 2
- 2
internal/evidence/verify_test.go View File

@ -15,11 +15,11 @@ import (
"github.com/tendermint/tendermint/crypto/tmhash"
"github.com/tendermint/tendermint/internal/evidence"
"github.com/tendermint/tendermint/internal/evidence/mocks"
sm "github.com/tendermint/tendermint/internal/state"
smmocks "github.com/tendermint/tendermint/internal/state/mocks"
"github.com/tendermint/tendermint/internal/test/factory"
"github.com/tendermint/tendermint/libs/log"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
sm "github.com/tendermint/tendermint/state"
smmocks "github.com/tendermint/tendermint/state/mocks"
"github.com/tendermint/tendermint/types"
)


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

@ -8,12 +8,12 @@ import (
"github.com/tendermint/tendermint/config"
"github.com/tendermint/tendermint/internal/inspect/rpc"
rpccore "github.com/tendermint/tendermint/internal/rpc/core"
"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/libs/log"
tmstrings "github.com/tendermint/tendermint/libs/strings"
rpccore "github.com/tendermint/tendermint/rpc/core"
"github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/state/indexer"
"github.com/tendermint/tendermint/state/indexer/sink"
"github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types"


+ 3
- 3
internal/inspect/inspect_test.go View File

@ -16,13 +16,13 @@ import (
abcitypes "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/config"
"github.com/tendermint/tendermint/internal/inspect"
"github.com/tendermint/tendermint/internal/state/indexer"
indexermocks "github.com/tendermint/tendermint/internal/state/indexer/mocks"
statemocks "github.com/tendermint/tendermint/internal/state/mocks"
"github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/libs/pubsub/query"
"github.com/tendermint/tendermint/proto/tendermint/state"
httpclient "github.com/tendermint/tendermint/rpc/client/http"
"github.com/tendermint/tendermint/state/indexer"
indexermocks "github.com/tendermint/tendermint/state/indexer/mocks"
statemocks "github.com/tendermint/tendermint/state/mocks"
"github.com/tendermint/tendermint/types"
)


+ 3
- 3
internal/inspect/rpc/rpc.go View File

@ -9,12 +9,12 @@ import (
"github.com/tendermint/tendermint/config"
"github.com/tendermint/tendermint/internal/consensus"
"github.com/tendermint/tendermint/internal/rpc/core"
"github.com/tendermint/tendermint/internal/state"
"github.com/tendermint/tendermint/internal/state/indexer"
"github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/libs/pubsub"
"github.com/tendermint/tendermint/rpc/core"
"github.com/tendermint/tendermint/rpc/jsonrpc/server"
"github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/state/indexer"
"github.com/tendermint/tendermint/types"
)


rpc/core/CONTRIBUTING.md → internal/rpc/core/CONTRIBUTING.md View File


rpc/core/README.md → internal/rpc/core/README.md View File


rpc/core/abci.go → internal/rpc/core/abci.go View File


rpc/core/blocks.go → internal/rpc/core/blocks.go View File


rpc/core/blocks_test.go → internal/rpc/core/blocks_test.go View File


rpc/core/consensus.go → internal/rpc/core/consensus.go View File


rpc/core/dev.go → internal/rpc/core/dev.go View File


rpc/core/doc.go → internal/rpc/core/doc.go View File


rpc/core/doc_template.txt → internal/rpc/core/doc_template.txt View File


rpc/core/env.go → internal/rpc/core/env.go View File


rpc/core/env_test.go → internal/rpc/core/env_test.go View File


rpc/core/events.go → internal/rpc/core/events.go View File


rpc/core/evidence.go → internal/rpc/core/evidence.go View File


rpc/core/health.go → internal/rpc/core/health.go View File


rpc/core/mempool.go → internal/rpc/core/mempool.go View File


rpc/core/net.go → internal/rpc/core/net.go View File


rpc/core/net_test.go → internal/rpc/core/net_test.go View File


rpc/core/routes.go → internal/rpc/core/routes.go View File


rpc/core/status.go → internal/rpc/core/status.go View File


rpc/core/tx.go → internal/rpc/core/tx.go View File


state/errors.go → internal/state/errors.go View File


state/execution.go → internal/state/execution.go View File


state/execution_test.go → internal/state/execution_test.go View File


state/export_test.go → internal/state/export_test.go View File


state/helpers_test.go → internal/state/helpers_test.go View File


state/indexer/block/kv/kv.go → internal/state/indexer/block/kv/kv.go View File


state/indexer/block/kv/kv_test.go → internal/state/indexer/block/kv/kv_test.go View File


state/indexer/block/kv/util.go → internal/state/indexer/block/kv/util.go View File


state/indexer/block/null/null.go → internal/state/indexer/block/null/null.go View File


state/indexer/doc.go → internal/state/indexer/doc.go View File


state/indexer/eventsink.go → internal/state/indexer/eventsink.go View File


state/indexer/indexer.go → internal/state/indexer/indexer.go View File


state/indexer/indexer_service.go → internal/state/indexer/indexer_service.go View File


state/indexer/indexer_service_test.go → internal/state/indexer/indexer_service_test.go View File


state/indexer/mocks/event_sink.go → internal/state/indexer/mocks/event_sink.go View File


state/indexer/query_range.go → internal/state/indexer/query_range.go View File


state/indexer/sink/kv/kv.go → internal/state/indexer/sink/kv/kv.go View File


state/indexer/sink/kv/kv_test.go → internal/state/indexer/sink/kv/kv_test.go View File


state/indexer/sink/null/null.go → internal/state/indexer/sink/null/null.go View File


state/indexer/sink/null/null_test.go → internal/state/indexer/sink/null/null_test.go View File


state/indexer/sink/psql/psql.go → internal/state/indexer/sink/psql/psql.go View File


state/indexer/sink/psql/psql_test.go → internal/state/indexer/sink/psql/psql_test.go View File


state/indexer/sink/psql/schema.sql → internal/state/indexer/sink/psql/schema.sql View File


state/indexer/sink/sink.go → internal/state/indexer/sink/sink.go View File


state/indexer/tx/kv/kv.go → internal/state/indexer/tx/kv/kv.go View File


state/indexer/tx/kv/kv_bench_test.go → internal/state/indexer/tx/kv/kv_bench_test.go View File


state/indexer/tx/kv/kv_test.go → internal/state/indexer/tx/kv/kv_test.go View File


state/indexer/tx/kv/utils.go → internal/state/indexer/tx/kv/utils.go View File


state/indexer/tx/kv/utils_test.go → internal/state/indexer/tx/kv/utils_test.go View File


state/indexer/tx/null/null.go → internal/state/indexer/tx/null/null.go View File


state/metrics.go → internal/state/metrics.go View File


state/mocks/block_store.go → internal/state/mocks/block_store.go View File


state/mocks/event_sink.go → internal/state/mocks/event_sink.go View File


state/mocks/evidence_pool.go → internal/state/mocks/evidence_pool.go View File


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


state/services.go → internal/state/services.go View File


state/state.go → internal/state/state.go View File


state/state_test.go → internal/state/state_test.go View File


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


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


state/test/factory/block.go → internal/state/test/factory/block.go View File


state/time.go → internal/state/time.go View File


state/time_test.go → internal/state/time_test.go View File


state/tx_filter.go → internal/state/tx_filter.go View File


state/tx_filter_test.go → internal/state/tx_filter_test.go View File


state/validation.go → internal/state/validation.go View File


state/validation_test.go → internal/state/validation_test.go View File


+ 1
- 1
internal/statesync/mocks/state_provider.go View File

@ -6,7 +6,7 @@ import (
context "context"
mock "github.com/stretchr/testify/mock"
state "github.com/tendermint/tendermint/state"
state "github.com/tendermint/tendermint/internal/state"
types "github.com/tendermint/tendermint/types"
)


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

@ -15,12 +15,12 @@ import (
tmsync "github.com/tendermint/tendermint/internal/libs/sync"
"github.com/tendermint/tendermint/internal/p2p"
"github.com/tendermint/tendermint/internal/proxy"
sm "github.com/tendermint/tendermint/internal/state"
"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"
sm "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types"
)


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

@ -18,13 +18,13 @@ import (
"github.com/tendermint/tendermint/internal/p2p"
"github.com/tendermint/tendermint/internal/proxy"
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/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"
smmocks "github.com/tendermint/tendermint/state/mocks"
"github.com/tendermint/tendermint/store"
"github.com/tendermint/tendermint/types"
)


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save