Browse Source

mempool: move mock into mempool directory

pull/4776/head
Callum Waters 5 years ago
committed by GitHub
parent
commit
d1bd596bce
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 12 additions and 12 deletions
  1. +1
    -1
      blockchain/v0/reactor_test.go
  2. +1
    -1
      blockchain/v1/reactor_test.go
  3. +1
    -1
      blockchain/v2/reactor_test.go
  4. +1
    -1
      consensus/replay.go
  5. +1
    -1
      consensus/replay_file.go
  6. +1
    -1
      consensus/replay_test.go
  7. +1
    -1
      consensus/wal_generator.go
  8. +1
    -1
      evidence/pool.go
  9. +2
    -2
      evidence/reactor.go
  10. +0
    -0
      mempool/mock/mempool.go
  11. +1
    -1
      state/execution_test.go
  12. +1
    -1
      state/validation_test.go

+ 1
- 1
blockchain/v0/reactor_test.go View File

@ -15,7 +15,7 @@ import (
cfg "github.com/tendermint/tendermint/config"
evmock "github.com/tendermint/tendermint/evidence/mock"
"github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/mock"
"github.com/tendermint/tendermint/mempool/mock"
"github.com/tendermint/tendermint/p2p"
"github.com/tendermint/tendermint/proxy"
sm "github.com/tendermint/tendermint/state"


+ 1
- 1
blockchain/v1/reactor_test.go View File

@ -18,7 +18,7 @@ import (
cfg "github.com/tendermint/tendermint/config"
evmock "github.com/tendermint/tendermint/evidence/mock"
"github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/mock"
"github.com/tendermint/tendermint/mempool/mock"
"github.com/tendermint/tendermint/p2p"
"github.com/tendermint/tendermint/proxy"
sm "github.com/tendermint/tendermint/state"


+ 1
- 1
blockchain/v2/reactor_test.go View File

@ -18,7 +18,7 @@ import (
evmock "github.com/tendermint/tendermint/evidence/mock"
"github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/libs/service"
"github.com/tendermint/tendermint/mock"
"github.com/tendermint/tendermint/mempool/mock"
"github.com/tendermint/tendermint/p2p"
"github.com/tendermint/tendermint/p2p/conn"
"github.com/tendermint/tendermint/proxy"


+ 1
- 1
consensus/replay.go View File

@ -17,7 +17,7 @@ import (
evmock "github.com/tendermint/tendermint/evidence/mock"
"github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/mock"
"github.com/tendermint/tendermint/mempool/mock"
"github.com/tendermint/tendermint/proxy"
sm "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/types"


+ 1
- 1
consensus/replay_file.go View File

@ -16,7 +16,7 @@ import (
evmock "github.com/tendermint/tendermint/evidence/mock"
"github.com/tendermint/tendermint/libs/log"
tmos "github.com/tendermint/tendermint/libs/os"
"github.com/tendermint/tendermint/mock"
"github.com/tendermint/tendermint/mempool/mock"
"github.com/tendermint/tendermint/proxy"
sm "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/store"


+ 1
- 1
consensus/replay_test.go View File

@ -27,7 +27,7 @@ import (
"github.com/tendermint/tendermint/libs/log"
tmrand "github.com/tendermint/tendermint/libs/rand"
mempl "github.com/tendermint/tendermint/mempool"
"github.com/tendermint/tendermint/mock"
"github.com/tendermint/tendermint/mempool/mock"
"github.com/tendermint/tendermint/privval"
"github.com/tendermint/tendermint/proxy"
sm "github.com/tendermint/tendermint/state"


+ 1
- 1
consensus/wal_generator.go View File

@ -18,7 +18,7 @@ import (
evmock "github.com/tendermint/tendermint/evidence/mock"
"github.com/tendermint/tendermint/libs/log"
tmrand "github.com/tendermint/tendermint/libs/rand"
"github.com/tendermint/tendermint/mock"
"github.com/tendermint/tendermint/mempool/mock"
"github.com/tendermint/tendermint/privval"
"github.com/tendermint/tendermint/proxy"
sm "github.com/tendermint/tendermint/state"


+ 1
- 1
evidence/pool.go View File

@ -27,7 +27,7 @@ type Pool struct {
evidenceList *clist.CList // concurrent linked-list of evidence
// needed to load validators to verify evidence
stateDB dbm.DB
stateDB dbm.DB
// needed to load headers to verify evidence
blockStore *store.BlockStore


+ 2
- 2
evidence/reactor.go View File

@ -49,8 +49,8 @@ func (evR *Reactor) SetLogger(l log.Logger) {
func (evR *Reactor) GetChannels() []*p2p.ChannelDescriptor {
return []*p2p.ChannelDescriptor{
{
ID: EvidenceChannel,
Priority: 5,
ID: EvidenceChannel,
Priority: 5,
RecvMessageCapacity: maxMsgSize,
},
}


mock/mempool.go → mempool/mock/mempool.go View File


+ 1
- 1
state/execution_test.go View File

@ -14,7 +14,7 @@ import (
"github.com/tendermint/tendermint/crypto/secp256k1"
evmock "github.com/tendermint/tendermint/evidence/mock"
"github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/mock"
"github.com/tendermint/tendermint/mempool/mock"
"github.com/tendermint/tendermint/proxy"
sm "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/types"


+ 1
- 1
state/validation_test.go View File

@ -10,7 +10,7 @@ import (
"github.com/tendermint/tendermint/crypto/tmhash"
evmock "github.com/tendermint/tendermint/evidence/mock"
"github.com/tendermint/tendermint/libs/log"
"github.com/tendermint/tendermint/mock"
"github.com/tendermint/tendermint/mempool/mock"
sm "github.com/tendermint/tendermint/state"
"github.com/tendermint/tendermint/types"
tmtime "github.com/tendermint/tendermint/types/time"


Loading…
Cancel
Save