Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AlphaValue = 3
Alpha is the concurrency factor for asynchronous requests.
View Source
var KValue = 20
K is the maximum number of requests to perform before returning failure.
View Source
var PoolSize = 6
Pool size is the number of nodes used for group find/set RPC calls
Functions ¶
This section is empty.
Types ¶
type DHT ¶
type DHT struct { AutoRefresh bool RtRefreshPeriod time.Duration // contains filtered or unexported fields }
func (*DHT) BetterPeers ¶
func (*DHT) RouteTable ¶
func (dht *DHT) RouteTable() *kb.RouteTable
RouteTable return dht's routeTable
Click to show internal directories.
Click to hide internal directories.