bsc/eth/protocols/trust/tracker.go

11 lines
203 B
Go
Raw Permalink Normal View History

package trust
import (
"time"
"github.com/ethereum/go-ethereum/p2p/tracker"
)
// requestTracker is a singleton tracker for request times.
var requestTracker = tracker.New(ProtocolName, time.Minute)