In the documentation of DHT protocol for bittorrent,it is given that get_peers method is used for finding nodes with given info_hash.It says that if response contains "values" key,the queried node has returned the information about nodes containing exact info_hash.If node returns "nodes" key,it has returned K nodes closest to the result.Should we recursively call get_peers on returned nodes(closest) in order to reach till exact nodes(with same info_hash)?
How to find nodes with exact info_hash in Bittorrent DHT?
1k Views Asked by Pratik Shinde At
1
There are 1 best solutions below
Related Questions in P2P
- A P2P application with Python
- Peer to Peer Communication without Server in iPhone
- Support P2P in Netty or Mina?
- Native Real Time Communication alternatives to WebRTC
- difference between p2p and client-server node design
- Implementing XOR-MAPPED-ADDRESS attribute on STUN server
- RTMFP / peer-to-peer over public Internet
- MQTT as a centralized communication protocol
- Android - Sending intent over mobile network
- ionic client to server sync and client to client sync
- Can you connect UWP apps peer-to-peer?
- Does the "holy trinity" (Ethereum, Swarm and Whisper) support multimedia streaming?
- How is SIP scaled for high load?
- JXTA on internet
- Cherry pick peers using Rasterbar libtorrent in Python
Related Questions in BITTORRENT
- Torrent not downloading immediately after adding when only 1 seeding peer
- Implementing find node on torrent kademlia routing table
- magnet torrent by private server
- Android fragmented ProgressBar (like defrag or bittorrent)
- How to get responses to ut_metadata piece request ? (node.js Bit Torrent BEP 0009)
- How do I convert a base64 encoded torrent info_hash to a magnet link info_hash? (Linux)
- SHA1 Hash in BitTorrent is not text
- Cherry pick peers using Rasterbar libtorrent in Python
- How could a file be corrupted?
- How does the client divide the file?
- Can applications coexist within the same DHT?
- BitTorrent protocol: Why am I getting extra data with handshakes?
- parsing BEP9(ut_metadata) data message
- NullPointerException on unchanged bittorrent library of BitLet
- Significance of piece index in bittorrent file transfer?
Related Questions in DHT
- Implementing find node on torrent kademlia routing table
- Can applications coexist within the same DHT?
- How to find nodes with exact info_hash in Bittorrent DHT?
- How does a bittorent peer accquires info dictionary when magnet URI is provided?
- the make.sh for fastdht not work.When running it shows "nm: /usr/lib/libc_r.so:no such file"
- Consistent Hashing: what about rehashing?
- How does DHT torrent indexing sites scrape infoHashes efficiently?
- 'dht' does not name a type
- Similar to hash values but something that returns an int
- Chord protocol. Distribuited Hash Table (DHT). Peer to peer. (P2P)
- Algorithms for building a peer to peer search engine with distributed database
- Order-keeping queues that can be paused
- IPFS not announcing CIDs on indirect peers and unable to get through cmd as CID is not propagated using DHT
- Libtorrent Logging through python bindings, possible?
- DHT routing library for Java
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Yes and no. You could use a recursive function if you are the LISP kind. That said, a while loop will do the job. Here is some python code that implement the
FIND_VALUEalgorithm with some comments:This code is based on qadom's peer.py