MCPcopy Index your code

hub / github.com/webtorrent/bittorrent-dht / functions

Functions86 in github.com/webtorrent/bittorrent-dht

↓ 108 callersMethoddestroy
(cb)
client.js:483
↓ 57 callersMethodlisten
(...args)
client.js:479
↓ 53 callersMethodaddress
()
client.js:474
↓ 51 callersMethodaddNode
(node)
client.js:196
↓ 32 callersMethodget
(key, opts, cb)
client.js:345
↓ 29 callersMethodput
(opts, cb)
client.js:257
↓ 16 callersMethodlookup
(infoHash, cb)
client.js:442
↓ 13 callersMethodemit
(values, from)
client.js:458
↓ 12 callersMethod_debug
()
client.js:700
↓ 11 callersMethodannounce
(infoHash, port, cb)
client.js:400
↓ 10 callersMethodtoJSON
()
client.js:238
↓ 6 callersMethod_addPeer
(peer, infoHash, from)
client.js:574
↓ 5 callersFunctiontoBuffer
(str)
client.js:791
↓ 4 callersMethod_checkNodes
(nodes, force, cb)
client.js:169
↓ 4 callersMethod_generateToken
(host, secret)
client.js:716
↓ 4 callersMethod_pingAll
(cb)
client.js:147
↓ 4 callersMethodupdateBucketTimestamp
()
client.js:156
↓ 3 callersMethod_closest
(target, message, onmessage, cb)
client.js:665
↓ 3 callersMethod_sendPing
(node, cb)
client.js:217
↓ 3 callersFunctionencodeSigData
(msg)
client.js:778
↓ 3 callersFunctionsend
(srci, dsti, value)
test/dht_store_mutable.js:472
↓ 2 callersMethod_bootstrap
(populate)
client.js:644
↓ 2 callersMethod_checkAndRemoveNodes
(nodes, cb)
client.js:160
↓ 2 callersMethod_rotateSecrets
()
client.js:721
↓ 2 callersMethod_validateToken
(host, token)
client.js:710
↓ 2 callersFunctioncheck
()
test/dht_store_mutable.js:542
↓ 2 callersFunctioncreateGetResponse
(id, token, value)
client.js:737
↓ 2 callersFunctiondone
()
test/ping.js:28
↓ 2 callersFunctionkp
()
test/live/bep44.js:81
↓ 2 callersFunctionrandomHost
()
test/common.js:10
↓ 2 callersFunctionrandomId
()
test/common.js:22
↓ 2 callersFunctionrandomPort
()
test/common.js:14
↓ 2 callersFunctionyetStillMore
()
test/dht_store_mutable.js:243
↓ 1 callersMethod_onannouncepeer
(query, peer)
client.js:556
↓ 1 callersMethod_onfindnode
(query, peer)
client.js:528
↓ 1 callersMethod_onget
(query, peer)
client.js:579
↓ 1 callersMethod_ongetpeers
(query, peer)
client.js:538
↓ 1 callersMethod_onput
(query, peer)
client.js:596
↓ 1 callersMethod_onquery
(query, peer)
client.js:500
↓ 1 callersMethod_preannounce
(infoHash, port, cb)
client.js:432
↓ 1 callersMethod_preput
(key, opts, cb)
client.js:328
↓ 1 callersMethod_put
(opts, cb)
client.js:288
↓ 1 callersMethod_setBucketCheckInterval
()
client.js:115
↓ 1 callersFunctionaddEdges
()
test/dht_store_mutable.js:448
↓ 1 callersFunctiondecodePeers
(buf)
client.js:755
↓ 1 callersFunctionencodePeer
(host, port)
client.js:747
↓ 1 callersFunctionfindPeers
* Initialize [numInstances] dhts, have one announce an infoHash, and another perform a * lookup. Times out after a while.
test/horde.js:43
↓ 1 callersFunctionmakeFriends
* Add every dht address to the dht "before" it. * This should guarantee that any dht can be located (with enough queries).
test/horde.js:88
↓ 1 callersFunctionparseIp
(buf, offset)
client.js:774
↓ 1 callersFunctionputSecondKey
()
test/dht_store_mutable.js:323
↓ 1 callersFunctionputSomethingElse
()
test/dht_store_mutable.js:225
↓ 1 callersFunctionrandomAddr
()
test/common.js:18
↓ 1 callersFunctionready
()
test/dht_store_mutable.js:23
↓ 1 callersMethodremoveBucketCheckInterval
()
client.js:151
↓ 1 callersMethodremoveNode
(id)
client.js:213
↓ 1 callersFunctionrunAnnounceLookupTest
(numInstances)
test/horde.js:14
FunctionaddRandomNodes
(dht, num)
test/common.js:26
FunctionaddRandomPeers
(dht, num)
test/common.js:36
Methodbootstrap
()
client.js:98
MethodcheckBucket
()
client.js:122
Methodconstructor
(opts = {})
client.js:18
Methoddone
(err)
client.js:370
FunctionfailOnWarningOrError
(t, dht)
test/common.js:5
Functionfill
(n, s)
test/common.js:42
Functionnoop
()
client.js:731
Methodonerror
(err)
client.js:106
Methodonlistening
()
client.js:82
Methodonnode
(node)
client.js:110
Methodonquery
(query, peer)
client.js:90
Methodonreply
(message)
client.js:375
Methodonwarning
(err)
client.js:102
Functionping
()
test/ping.js:20
Methodping
(opts, cb)
client.js:65
MethodqueueNext
()
client.js:140
Functionready
()
test/to-json.js:66
Functionready
()
test/put-get.js:21
Functionready
()
test/dht_store_immutable.js:72
Functionready
()
test/dht_test_vectors.js:28
Methodready
()
client.js:656
MethodrotateSecrets
()
client.js:94
Functionsha1
(buf)
client.js:733
Functionsign
test/common.js:51
Functionsign
(buf)
test/dht_test_vectors.js:33
Functionsign
(buf)
test/live/bep44.js:44
Methodtest
(acc)
client.js:174
FunctiontoNode
(node)
client.js:784