Skip to content

Commit 0e407a9

Browse files
committed
chore: remove unused files and vars from mempool
1 parent 0e9ab83 commit 0e407a9

3 files changed

Lines changed: 0 additions & 41 deletions

File tree

mempool/ids.go

Lines changed: 0 additions & 3 deletions
This file was deleted.

mempool/ids_test.go

Lines changed: 0 additions & 23 deletions
This file was deleted.

mempool/mempool.go

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,10 @@ import (
44
"crypto/sha256"
55
"errors"
66
"fmt"
7-
"math"
8-
97
abci "github.com/tendermint/tendermint/abci/types"
108
"github.com/tendermint/tendermint/types"
119
)
1210

13-
const (
14-
MempoolChannel = byte(0x30)
15-
16-
// PeerCatchupSleepIntervalMS defines how much time to sleep if a peer is behind
17-
PeerCatchupSleepIntervalMS = 100
18-
19-
// UnknownPeerID is the peer ID to use when running CheckTx when there is
20-
// no peer (e.g. RPC)
21-
UnknownPeerID uint16 = 0
22-
23-
MaxActiveIDs = math.MaxUint16
24-
)
25-
2611
// Mempool defines the mempool interface.
2712
//
2813
// Updates to the mempool need to be synchronized with committing a block so

0 commit comments

Comments
 (0)