mirror of
https://github.com/fluencelabs/go-libp2p-kad-dht
synced 2025-04-25 14:52:14 +00:00
comments on vars in dht
This commit is contained in:
parent
b1e34b5e90
commit
b5c20b5573
4
util.go
4
util.go
@ -9,10 +9,10 @@ import (
|
|||||||
// Pool size is the number of nodes used for group find/set RPC calls
|
// Pool size is the number of nodes used for group find/set RPC calls
|
||||||
var PoolSize = 6
|
var PoolSize = 6
|
||||||
|
|
||||||
// We put the 'K' in kademlia!
|
// K is the maximum number of requests to perform before returning failure.
|
||||||
var KValue = 10
|
var KValue = 10
|
||||||
|
|
||||||
// Its in the paper, i swear
|
// Alpha is the concurrency factor for asynchronous requests.
|
||||||
var AlphaValue = 3
|
var AlphaValue = 3
|
||||||
|
|
||||||
// A counter for incrementing a variable across multiple threads
|
// A counter for incrementing a variable across multiple threads
|
||||||
|
Loading…
x
Reference in New Issue
Block a user