mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-15 12:36:48 +00:00
eth/downloader: SetBlocksIdle is not used (#17962)
__ <(o )___ ( ._> / `---'
This commit is contained in:
parent
7f22b59f87
commit
6810933640
1 changed files with 0 additions and 7 deletions
|
|
@ -229,13 +229,6 @@ func (p *peerConnection) SetHeadersIdle(delivered int) {
|
||||||
p.setIdle(p.headerStarted, delivered, &p.headerThroughput, &p.headerIdle)
|
p.setIdle(p.headerStarted, delivered, &p.headerThroughput, &p.headerIdle)
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetBlocksIdle sets the peer to idle, allowing it to execute new block retrieval
|
|
||||||
// requests. Its estimated block retrieval throughput is updated with that measured
|
|
||||||
// just now.
|
|
||||||
func (p *peerConnection) SetBlocksIdle(delivered int) {
|
|
||||||
p.setIdle(p.blockStarted, delivered, &p.blockThroughput, &p.blockIdle)
|
|
||||||
}
|
|
||||||
|
|
||||||
// SetBodiesIdle sets the peer to idle, allowing it to execute block body retrieval
|
// SetBodiesIdle sets the peer to idle, allowing it to execute block body retrieval
|
||||||
// requests. Its estimated body retrieval throughput is updated with that measured
|
// requests. Its estimated body retrieval throughput is updated with that measured
|
||||||
// just now.
|
// just now.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue