@cryptotaxi247 / kubo / commits / 058734259

doc: specify iteration order randomization

Brian Tiger Chow committed Dec 28, 2014 at 06:51 UTC 0587342591afbeb60fb0eaac3c668a710b4c0ae5
1 file changed +1 -1
net/mock/interface.go
+1 -1
@@ -26,7 +26,7 @@ type Mocknet interface {
26 // ID is derived from PrivKey
27 AddPeer(ic.PrivKey, ma.Multiaddr) (inet.Network, error)
28
29 - // retrieve things
29 + // retrieve things (with randomized iteration order)
30 Peers() []peer.ID
31 Net(peer.ID) inet.Network
32 Nets() []inet.Network