Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos in lib/replicator.js comments #598

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/replicator.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
- Which blocks does the Peer have available (tracked in remoteBitfield)
- Which blocks are you actively looking for from this peer (tracked in missingBlocks)
- How many blocks are currently inflight (tracked in inflight)
The Peer uses this information to decide which blocks to request form the peer in response to _requestRange requests and the like.
The Peer uses this information to decide which blocks to request from the peer in response to _requestRange requests and the like.
*/

const b4a = require('b4a')
Expand Down Expand Up @@ -1416,7 +1416,7 @@ module.exports = class Replicator {
this.oninvalid = oninvalid
this.ondownloading = null // optional external hook for monitoring downloading status
this.peers = []
this.findingPeers = 0 // updateable from the outside
this.findingPeers = 0 // updatable from the outside
this.destroyed = false
this.downloading = false
this.activeSessions = 0
Expand Down
Loading