mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-01-18 21:32:35 +01:00
Peer: fix JavaDoc about number of buckets
This commit is contained in:
parent
78cc85dc1e
commit
8faf61ae0c
@ -1586,7 +1586,7 @@ public class Peer extends PeerSocketHandler {
|
||||
/**
|
||||
* Returns a moving average of the last N ping/pong cycles. If {@link Peer#sendPing()} has never
|
||||
* been called or we did not hear back the "pong" message yet, returns empty. The moving average
|
||||
* window is 5 buckets.
|
||||
* window is {@link #PING_MOVING_AVERAGE_WINDOW} buckets.
|
||||
* @return moving average, or empty
|
||||
*/
|
||||
public Optional<Duration> pingInterval() {
|
||||
|
Loading…
Reference in New Issue
Block a user