Home
last modified time | relevance | path

Searched refs:hashLimit (Results 1 – 5 of 5) sorted by relevance

/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/les/fetcher/
H A Dblock_fetcher_test.go323 targetBlocks := 4 * hashLimit
360 targetBlocks := 4 * hashLimit
416 targetBlocks := 4 * hashLimit
814 targetBlocks := hashLimit + 2*maxQueueDist
830 if count := atomic.LoadInt32(&announces); count != hashLimit+maxQueueDist {
831 t.Fatalf("queued announce count mismatch: have %d, want %d", count, hashLimit+maxQueueDist)
861 targetBlocks := hashLimit + 2*maxQueueDist
H A Dblock_fetcher.go47 hashLimit = 256 // Maximum number of unique blocks or headers a peer may have announced const
392 if count > hashLimit {
393 … log.Debug("Peer exceeded outstanding announces", "peer", notification.origin, "limit", hashLimit)
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/eth/fetcher/
H A Dblock_fetcher_test.go363 targetBlocks := 4 * hashLimit
400 targetBlocks := 4 * hashLimit
456 targetBlocks := 4 * hashLimit
859 targetBlocks := hashLimit + 2*maxQueueDist
875 if count := atomic.LoadInt32(&announces); count != hashLimit+maxQueueDist {
876 t.Fatalf("queued announce count mismatch: have %d, want %d", count, hashLimit+maxQueueDist)
906 targetBlocks := hashLimit + 2*maxQueueDist
H A Dblock_fetcher.go45 hashLimit = 256 // Maximum number of unique blocks or headers a peer may have announced
390 if count > hashLimit {
391 … log.Debug("Peer exceeded outstanding announces", "peer", notification.origin, "limit", hashLimit)
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/vendor/github.com/status-im/keycard-go/vendor/github.com/ethereum/go-ethereum/eth/fetcher/
H A Dfetcher.go38 hashLimit = 256 // Maximum number of unique blocks a peer may have announced const
326 if count > hashLimit {
327 … log.Debug("Peer exceeded outstanding announces", "peer", notification.origin, "limit", hashLimit)