From d98808fad90c5612a35cb2e5e67c5648bce59f66 Mon Sep 17 00:00:00 2001 From: Jeromy Date: Sat, 8 Nov 2014 21:57:11 -0800 Subject: [PATCH] comments on vars in dht --- routing/dht/util.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routing/dht/util.go b/routing/dht/util.go index 3cc812638..00ac38dbc 100644 --- a/routing/dht/util.go +++ b/routing/dht/util.go @@ -9,10 +9,10 @@ import ( // Pool size is the number of nodes used for group find/set RPC calls var PoolSize = 6 -// We put the 'K' in kademlia! +// K is the maximum number of requests to perform before returning failure. var KValue = 10 -// Its in the paper, i swear +// Alpha is the concurrency factor for asynchronous requests. var AlphaValue = 3 // A counter for incrementing a variable across multiple threads