We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e9ab83 commit 0e407a9Copy full SHA for 0e407a9
3 files changed
mempool/ids.go
mempool/ids_test.go
mempool/mempool.go
@@ -4,25 +4,10 @@ import (
4
"crypto/sha256"
5
"errors"
6
"fmt"
7
- "math"
8
-
9
abci "github.com/tendermint/tendermint/abci/types"
10
"github.com/tendermint/tendermint/types"
11
)
12
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
26
// Mempool defines the mempool interface.
27
//
28
// Updates to the mempool need to be synchronized with committing a block so
0 commit comments