Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
p2p
go-p2p-kad-dht
Commits
2fdad28d
Commit
2fdad28d
authored
Nov 05, 2019
by
Steven Allen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore(doc): fix comments
parent
98cf9149
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dht_bootstrap.go
dht_bootstrap.go
+2
-2
No files found.
dht_bootstrap.go
View file @
2fdad28d
...
...
@@ -43,7 +43,7 @@ func init() {
}
}
//
B
ootstrap
i
//
Start the b
ootstrap
worker.
func
(
dht
*
IpfsDHT
)
startBootstrapping
()
error
{
// scan the RT table periodically & do a random walk on k-buckets that haven't been queried since the given bucket period
dht
.
proc
.
Go
(
func
(
proc
process
.
Process
)
{
...
...
@@ -58,7 +58,7 @@ func (dht *IpfsDHT) startBootstrapping() error {
logger
.
Warningf
(
"bootstrap error: %s"
,
err
)
}
}
else
{
// disable the "auto-bootstrap" ticker so that no more ticks are sent to his channel
// disable the "auto-bootstrap" ticker so that no more ticks are sent to
t
his channel
scanInterval
.
Stop
()
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment