Browse Source

Move the libs/pubsub package to internal scope (#7451)

No API changes, merely changes the import path.
pull/7463/head
M. J. Fromberger 3 years ago
committed by GitHub
parent
commit
82738eb016
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
50 changed files with 55 additions and 54 deletions
  1. +1
    -0
      CHANGELOG_PENDING.md
  2. +1
    -1
      internal/consensus/common_test.go
  3. +1
    -1
      internal/consensus/reactor_test.go
  4. +1
    -1
      internal/consensus/replay_file.go
  5. +1
    -1
      internal/consensus/replay_test.go
  6. +1
    -1
      internal/consensus/state_test.go
  7. +1
    -1
      internal/eventbus/event_bus.go
  8. +2
    -2
      internal/eventbus/event_bus_test.go
  9. +1
    -1
      internal/inspect/inspect_test.go
  10. +1
    -1
      internal/inspect/rpc/rpc.go
  11. +2
    -2
      internal/pubsub/example_test.go
  12. +1
    -1
      internal/pubsub/pubsub.go
  13. +2
    -2
      internal/pubsub/pubsub_test.go
  14. +1
    -1
      internal/pubsub/query/bench_test.go
  15. +1
    -1
      internal/pubsub/query/query.go
  16. +3
    -3
      internal/pubsub/query/query_test.go
  17. +0
    -0
      internal/pubsub/query/syntax/doc.go
  18. +0
    -0
      internal/pubsub/query/syntax/parser.go
  19. +0
    -0
      internal/pubsub/query/syntax/scanner.go
  20. +1
    -1
      internal/pubsub/query/syntax/syntax_test.go
  21. +0
    -0
      internal/pubsub/subindex.go
  22. +0
    -0
      internal/pubsub/subscription.go
  23. +1
    -1
      internal/rpc/core/blocks.go
  24. +2
    -2
      internal/rpc/core/events.go
  25. +1
    -1
      internal/rpc/core/tx.go
  26. +1
    -1
      internal/state/execution_test.go
  27. +2
    -2
      internal/state/indexer/block/kv/kv.go
  28. +1
    -1
      internal/state/indexer/block/kv/kv_test.go
  29. +1
    -1
      internal/state/indexer/block/kv/util.go
  30. +1
    -1
      internal/state/indexer/block/null/null.go
  31. +1
    -1
      internal/state/indexer/eventsink.go
  32. +1
    -1
      internal/state/indexer/indexer.go
  33. +1
    -1
      internal/state/indexer/indexer_service.go
  34. +1
    -1
      internal/state/indexer/mocks/event_sink.go
  35. +1
    -1
      internal/state/indexer/query_range.go
  36. +1
    -1
      internal/state/indexer/sink/kv/kv.go
  37. +1
    -1
      internal/state/indexer/sink/kv/kv_test.go
  38. +1
    -1
      internal/state/indexer/sink/null/null.go
  39. +1
    -1
      internal/state/indexer/sink/psql/psql.go
  40. +2
    -2
      internal/state/indexer/tx/kv/kv.go
  41. +1
    -1
      internal/state/indexer/tx/kv/kv_bench_test.go
  42. +1
    -1
      internal/state/indexer/tx/kv/kv_test.go
  43. +1
    -1
      internal/state/indexer/tx/null/null.go
  44. +1
    -1
      internal/state/mocks/event_sink.go
  45. +1
    -1
      light/proxy/proxy.go
  46. +1
    -1
      node/node.go
  47. +1
    -1
      node/node_test.go
  48. +1
    -1
      rpc/client/http/ws.go
  49. +2
    -2
      rpc/client/local/local.go
  50. +2
    -2
      types/events.go

+ 1
- 0
CHANGELOG_PENDING.md View File

@ -27,6 +27,7 @@ Special thanks to external contributors on this release:
- Go API
- [libs/pubsub] \#7451 Internalize the pubsub packages. (@creachadair)
- [libs/sync] \#7450 Internalize and remove the library. (@creachadair)
- [libs/async] \#7449 Move library to internal. (@creachadair)
- [pubsub] \#7231 Remove unbuffered subscriptions and rework the Subscription interface. (@creachadair)


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

@ -22,13 +22,13 @@ import (
cstypes "github.com/tendermint/tendermint/internal/consensus/types"
"github.com/tendermint/tendermint/internal/eventbus"
"github.com/tendermint/tendermint/internal/mempool"
tmpubsub "github.com/tendermint/tendermint/internal/pubsub"
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"
tmos "github.com/tendermint/tendermint/libs/os"
tmpubsub "github.com/tendermint/tendermint/libs/pubsub"
tmtime "github.com/tendermint/tendermint/libs/time"
"github.com/tendermint/tendermint/privval"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"


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

@ -24,12 +24,12 @@ import (
"github.com/tendermint/tendermint/internal/mempool"
"github.com/tendermint/tendermint/internal/p2p"
"github.com/tendermint/tendermint/internal/p2p/p2ptest"
tmpubsub "github.com/tendermint/tendermint/internal/pubsub"
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/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/eventbus"
"github.com/tendermint/tendermint/internal/proxy"
tmpubsub "github.com/tendermint/tendermint/internal/pubsub"
sm "github.com/tendermint/tendermint/internal/state"
"github.com/tendermint/tendermint/internal/store"
"github.com/tendermint/tendermint/libs/log"
tmpubsub "github.com/tendermint/tendermint/libs/pubsub"
"github.com/tendermint/tendermint/types"
)


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

@ -28,12 +28,12 @@ import (
"github.com/tendermint/tendermint/internal/eventbus"
"github.com/tendermint/tendermint/internal/mempool"
"github.com/tendermint/tendermint/internal/proxy"
"github.com/tendermint/tendermint/internal/pubsub"
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"
"github.com/tendermint/tendermint/libs/pubsub"
tmrand "github.com/tendermint/tendermint/libs/rand"
"github.com/tendermint/tendermint/privval"
tmstate "github.com/tendermint/tendermint/proto/tendermint/state"


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

@ -14,8 +14,8 @@ import (
"github.com/tendermint/tendermint/crypto/tmhash"
cstypes "github.com/tendermint/tendermint/internal/consensus/types"
"github.com/tendermint/tendermint/internal/eventbus"
tmpubsub "github.com/tendermint/tendermint/internal/pubsub"
"github.com/tendermint/tendermint/libs/log"
tmpubsub "github.com/tendermint/tendermint/libs/pubsub"
tmrand "github.com/tendermint/tendermint/libs/rand"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
"github.com/tendermint/tendermint/types"


+ 1
- 1
internal/eventbus/event_bus.go View File

@ -6,8 +6,8 @@ import (
"strings"
abci "github.com/tendermint/tendermint/abci/types"
tmpubsub "github.com/tendermint/tendermint/internal/pubsub"
"github.com/tendermint/tendermint/libs/log"
tmpubsub "github.com/tendermint/tendermint/libs/pubsub"
"github.com/tendermint/tendermint/libs/service"
"github.com/tendermint/tendermint/types"
)


+ 2
- 2
internal/eventbus/event_bus_test.go View File

@ -12,9 +12,9 @@ import (
abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/internal/eventbus"
tmpubsub "github.com/tendermint/tendermint/internal/pubsub"
tmquery "github.com/tendermint/tendermint/internal/pubsub/query"
"github.com/tendermint/tendermint/libs/log"
tmpubsub "github.com/tendermint/tendermint/libs/pubsub"
tmquery "github.com/tendermint/tendermint/libs/pubsub/query"
"github.com/tendermint/tendermint/types"
)


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

@ -17,11 +17,11 @@ import (
abcitypes "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/config"
"github.com/tendermint/tendermint/internal/inspect"
"github.com/tendermint/tendermint/internal/pubsub/query"
"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/types"


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

@ -9,11 +9,11 @@ import (
"github.com/tendermint/tendermint/config"
"github.com/tendermint/tendermint/internal/consensus"
"github.com/tendermint/tendermint/internal/pubsub"
"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/jsonrpc/server"
"github.com/tendermint/tendermint/types"
)


libs/pubsub/example_test.go → internal/pubsub/example_test.go View File


libs/pubsub/pubsub.go → internal/pubsub/pubsub.go View File


libs/pubsub/pubsub_test.go → internal/pubsub/pubsub_test.go View File


libs/pubsub/query/bench_test.go → internal/pubsub/query/bench_test.go View File


libs/pubsub/query/query.go → internal/pubsub/query/query.go View File


libs/pubsub/query/query_test.go → internal/pubsub/query/query_test.go View File


libs/pubsub/query/syntax/doc.go → internal/pubsub/query/syntax/doc.go View File


libs/pubsub/query/syntax/parser.go → internal/pubsub/query/syntax/parser.go View File


libs/pubsub/query/syntax/scanner.go → internal/pubsub/query/syntax/scanner.go View File


libs/pubsub/query/syntax/syntax_test.go → internal/pubsub/query/syntax/syntax_test.go View File


libs/pubsub/subindex.go → internal/pubsub/subindex.go View File


libs/pubsub/subscription.go → internal/pubsub/subscription.go View File


+ 1
- 1
internal/rpc/core/blocks.go View File

@ -4,10 +4,10 @@ import (
"fmt"
"sort"
tmquery "github.com/tendermint/tendermint/internal/pubsub/query"
"github.com/tendermint/tendermint/internal/state/indexer"
"github.com/tendermint/tendermint/libs/bytes"
tmmath "github.com/tendermint/tendermint/libs/math"
tmquery "github.com/tendermint/tendermint/libs/pubsub/query"
"github.com/tendermint/tendermint/rpc/coretypes"
rpctypes "github.com/tendermint/tendermint/rpc/jsonrpc/types"
"github.com/tendermint/tendermint/types"


+ 2
- 2
internal/rpc/core/events.go View File

@ -6,8 +6,8 @@ import (
"fmt"
"time"
tmpubsub "github.com/tendermint/tendermint/libs/pubsub"
tmquery "github.com/tendermint/tendermint/libs/pubsub/query"
tmpubsub "github.com/tendermint/tendermint/internal/pubsub"
tmquery "github.com/tendermint/tendermint/internal/pubsub/query"
"github.com/tendermint/tendermint/rpc/coretypes"
rpctypes "github.com/tendermint/tendermint/rpc/jsonrpc/types"
)


+ 1
- 1
internal/rpc/core/tx.go View File

@ -5,10 +5,10 @@ import (
"fmt"
"sort"
tmquery "github.com/tendermint/tendermint/internal/pubsub/query"
"github.com/tendermint/tendermint/internal/state/indexer"
"github.com/tendermint/tendermint/libs/bytes"
tmmath "github.com/tendermint/tendermint/libs/math"
tmquery "github.com/tendermint/tendermint/libs/pubsub/query"
"github.com/tendermint/tendermint/rpc/coretypes"
rpctypes "github.com/tendermint/tendermint/rpc/jsonrpc/types"
"github.com/tendermint/tendermint/types"


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

@ -19,12 +19,12 @@ import (
"github.com/tendermint/tendermint/internal/eventbus"
mmock "github.com/tendermint/tendermint/internal/mempool/mock"
"github.com/tendermint/tendermint/internal/proxy"
"github.com/tendermint/tendermint/internal/pubsub"
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"
"github.com/tendermint/tendermint/libs/pubsub"
tmtime "github.com/tendermint/tendermint/libs/time"
"github.com/tendermint/tendermint/types"
"github.com/tendermint/tendermint/version"


+ 2
- 2
internal/state/indexer/block/kv/kv.go View File

@ -12,9 +12,9 @@ import (
dbm "github.com/tendermint/tm-db"
abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/internal/pubsub/query"
"github.com/tendermint/tendermint/internal/pubsub/query/syntax"
"github.com/tendermint/tendermint/internal/state/indexer"
"github.com/tendermint/tendermint/libs/pubsub/query"
"github.com/tendermint/tendermint/libs/pubsub/query/syntax"
"github.com/tendermint/tendermint/types"
)


+ 1
- 1
internal/state/indexer/block/kv/kv_test.go View File

@ -9,8 +9,8 @@ import (
dbm "github.com/tendermint/tm-db"
abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/internal/pubsub/query"
blockidxkv "github.com/tendermint/tendermint/internal/state/indexer/block/kv"
"github.com/tendermint/tendermint/libs/pubsub/query"
"github.com/tendermint/tendermint/types"
)


+ 1
- 1
internal/state/indexer/block/kv/util.go View File

@ -6,7 +6,7 @@ import (
"strconv"
"github.com/google/orderedcode"
"github.com/tendermint/tendermint/libs/pubsub/query/syntax"
"github.com/tendermint/tendermint/internal/pubsub/query/syntax"
"github.com/tendermint/tendermint/types"
)


+ 1
- 1
internal/state/indexer/block/null/null.go View File

@ -4,8 +4,8 @@ import (
"context"
"errors"
"github.com/tendermint/tendermint/internal/pubsub/query"
"github.com/tendermint/tendermint/internal/state/indexer"
"github.com/tendermint/tendermint/libs/pubsub/query"
"github.com/tendermint/tendermint/types"
)


+ 1
- 1
internal/state/indexer/eventsink.go View File

@ -4,7 +4,7 @@ import (
"context"
abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/libs/pubsub/query"
"github.com/tendermint/tendermint/internal/pubsub/query"
"github.com/tendermint/tendermint/types"
)


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

@ -5,7 +5,7 @@ import (
"errors"
abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/libs/pubsub/query"
"github.com/tendermint/tendermint/internal/pubsub/query"
"github.com/tendermint/tendermint/types"
)


+ 1
- 1
internal/state/indexer/indexer_service.go View File

@ -5,8 +5,8 @@ import (
"time"
"github.com/tendermint/tendermint/internal/eventbus"
"github.com/tendermint/tendermint/internal/pubsub"
"github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/libs/pubsub"
"github.com/tendermint/tendermint/libs/service"
"github.com/tendermint/tendermint/types"
)


+ 1
- 1
internal/state/indexer/mocks/event_sink.go View File

@ -8,7 +8,7 @@ import (
mock "github.com/stretchr/testify/mock"
indexer "github.com/tendermint/tendermint/internal/state/indexer"
query "github.com/tendermint/tendermint/libs/pubsub/query"
query "github.com/tendermint/tendermint/internal/pubsub/query"
tenderminttypes "github.com/tendermint/tendermint/types"


+ 1
- 1
internal/state/indexer/query_range.go View File

@ -3,7 +3,7 @@ package indexer
import (
"time"
"github.com/tendermint/tendermint/libs/pubsub/query/syntax"
"github.com/tendermint/tendermint/internal/pubsub/query/syntax"
)
// QueryRanges defines a mapping between a composite event key and a QueryRange.


+ 1
- 1
internal/state/indexer/sink/kv/kv.go View File

@ -6,10 +6,10 @@ import (
dbm "github.com/tendermint/tm-db"
abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/internal/pubsub/query"
"github.com/tendermint/tendermint/internal/state/indexer"
kvb "github.com/tendermint/tendermint/internal/state/indexer/block/kv"
kvt "github.com/tendermint/tendermint/internal/state/indexer/tx/kv"
"github.com/tendermint/tendermint/libs/pubsub/query"
"github.com/tendermint/tendermint/types"
)


+ 1
- 1
internal/state/indexer/sink/kv/kv_test.go View File

@ -11,9 +11,9 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/internal/pubsub/query"
"github.com/tendermint/tendermint/internal/state/indexer"
kvtx "github.com/tendermint/tendermint/internal/state/indexer/tx/kv"
"github.com/tendermint/tendermint/libs/pubsub/query"
"github.com/tendermint/tendermint/types"
)


+ 1
- 1
internal/state/indexer/sink/null/null.go View File

@ -4,8 +4,8 @@ import (
"context"
abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/internal/pubsub/query"
"github.com/tendermint/tendermint/internal/state/indexer"
"github.com/tendermint/tendermint/libs/pubsub/query"
"github.com/tendermint/tendermint/types"
)


+ 1
- 1
internal/state/indexer/sink/psql/psql.go View File

@ -11,8 +11,8 @@ import (
"github.com/gogo/protobuf/proto"
abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/internal/pubsub/query"
"github.com/tendermint/tendermint/internal/state/indexer"
"github.com/tendermint/tendermint/libs/pubsub/query"
"github.com/tendermint/tendermint/types"
)


+ 2
- 2
internal/state/indexer/tx/kv/kv.go View File

@ -12,9 +12,9 @@ import (
dbm "github.com/tendermint/tm-db"
abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/internal/pubsub/query"
"github.com/tendermint/tendermint/internal/pubsub/query/syntax"
indexer "github.com/tendermint/tendermint/internal/state/indexer"
"github.com/tendermint/tendermint/libs/pubsub/query"
"github.com/tendermint/tendermint/libs/pubsub/query/syntax"
"github.com/tendermint/tendermint/types"
)


+ 1
- 1
internal/state/indexer/tx/kv/kv_bench_test.go View File

@ -10,7 +10,7 @@ import (
dbm "github.com/tendermint/tm-db"
abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/libs/pubsub/query"
"github.com/tendermint/tendermint/internal/pubsub/query"
"github.com/tendermint/tendermint/types"
)


+ 1
- 1
internal/state/indexer/tx/kv/kv_test.go View File

@ -12,8 +12,8 @@ import (
dbm "github.com/tendermint/tm-db"
abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/internal/pubsub/query"
"github.com/tendermint/tendermint/internal/state/indexer"
"github.com/tendermint/tendermint/libs/pubsub/query"
tmrand "github.com/tendermint/tendermint/libs/rand"
"github.com/tendermint/tendermint/types"
)


+ 1
- 1
internal/state/indexer/tx/null/null.go View File

@ -5,8 +5,8 @@ import (
"errors"
abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/internal/pubsub/query"
"github.com/tendermint/tendermint/internal/state/indexer"
"github.com/tendermint/tendermint/libs/pubsub/query"
)
var _ indexer.TxIndexer = (*TxIndex)(nil)


+ 1
- 1
internal/state/mocks/event_sink.go View File

@ -8,7 +8,7 @@ import (
mock "github.com/stretchr/testify/mock"
indexer "github.com/tendermint/tendermint/internal/state/indexer"
query "github.com/tendermint/tendermint/libs/pubsub/query"
query "github.com/tendermint/tendermint/internal/pubsub/query"
tenderminttypes "github.com/tendermint/tendermint/types"


+ 1
- 1
light/proxy/proxy.go View File

@ -6,8 +6,8 @@ import (
"net"
"net/http"
tmpubsub "github.com/tendermint/tendermint/internal/pubsub"
"github.com/tendermint/tendermint/libs/log"
tmpubsub "github.com/tendermint/tendermint/libs/pubsub"
"github.com/tendermint/tendermint/light"
lrpc "github.com/tendermint/tendermint/light/rpc"
rpchttp "github.com/tendermint/tendermint/rpc/client/http"


+ 1
- 1
node/node.go View File

@ -21,6 +21,7 @@ import (
"github.com/tendermint/tendermint/internal/mempool"
"github.com/tendermint/tendermint/internal/p2p"
"github.com/tendermint/tendermint/internal/proxy"
tmpubsub "github.com/tendermint/tendermint/internal/pubsub"
rpccore "github.com/tendermint/tendermint/internal/rpc/core"
sm "github.com/tendermint/tendermint/internal/state"
"github.com/tendermint/tendermint/internal/state/indexer"
@ -28,7 +29,6 @@ import (
"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"
"github.com/tendermint/tendermint/libs/service"
"github.com/tendermint/tendermint/libs/strings"
tmtime "github.com/tendermint/tendermint/libs/time"


+ 1
- 1
node/node_test.go View File

@ -24,12 +24,12 @@ import (
"github.com/tendermint/tendermint/internal/evidence"
"github.com/tendermint/tendermint/internal/mempool"
"github.com/tendermint/tendermint/internal/proxy"
"github.com/tendermint/tendermint/internal/pubsub"
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"
"github.com/tendermint/tendermint/libs/pubsub"
tmrand "github.com/tendermint/tendermint/libs/rand"
"github.com/tendermint/tendermint/libs/service"
tmtime "github.com/tendermint/tendermint/libs/time"


+ 1
- 1
rpc/client/http/ws.go View File

@ -8,8 +8,8 @@ import (
"sync"
"time"
"github.com/tendermint/tendermint/internal/pubsub"
tmjson "github.com/tendermint/tendermint/libs/json"
"github.com/tendermint/tendermint/libs/pubsub"
rpcclient "github.com/tendermint/tendermint/rpc/client"
"github.com/tendermint/tendermint/rpc/coretypes"
jsonrpcclient "github.com/tendermint/tendermint/rpc/jsonrpc/client"


+ 2
- 2
rpc/client/local/local.go View File

@ -7,11 +7,11 @@ import (
"time"
"github.com/tendermint/tendermint/internal/eventbus"
"github.com/tendermint/tendermint/internal/pubsub"
"github.com/tendermint/tendermint/internal/pubsub/query"
rpccore "github.com/tendermint/tendermint/internal/rpc/core"
"github.com/tendermint/tendermint/libs/bytes"
"github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/libs/pubsub"
"github.com/tendermint/tendermint/libs/pubsub/query"
rpcclient "github.com/tendermint/tendermint/rpc/client"
"github.com/tendermint/tendermint/rpc/coretypes"
rpctypes "github.com/tendermint/tendermint/rpc/jsonrpc/types"


+ 2
- 2
types/events.go View File

@ -6,9 +6,9 @@ import (
"strings"
abci "github.com/tendermint/tendermint/abci/types"
tmpubsub "github.com/tendermint/tendermint/internal/pubsub"
tmquery "github.com/tendermint/tendermint/internal/pubsub/query"
tmjson "github.com/tendermint/tendermint/libs/json"
tmpubsub "github.com/tendermint/tendermint/libs/pubsub"
tmquery "github.com/tendermint/tendermint/libs/pubsub/query"
)
// Reserved event types (alphabetically sorted).


Loading…
Cancel
Save