Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
30 views

I’m experimenting with the Python Kademlia library to build a small peer-to-peer DHT. I start three servers, bootstrap them in a chain, store a value, then stop one node and try to store/get again—but ...
0 votes
0 answers
32 views

I'm working on a P2P messenger for college and cannot seem to figure out how the library works. I apologize if I'm missing something but I don't see how I can use my custom ValueTypes. This is one of ...
0 votes
1 answer
88 views

Im reading bittorrent dht extension 44 and want to make a new extension similar to the get/put messages but to save multiple values at the same hash and with a different verification algorithm, but ...
0 votes
1 answer
98 views

In IPFS, imagine that I add a file that contains the text "Hello everyone" to the network. Then I get a certain Content Identifier (CID). If someone else also adds a file that contains the text "Hello ...
0 votes
1 answer
91 views

I've installed kademlia DHT with pip install kademlia. I have 3 nodes. 1 initial node that other nodes can bootstrap with and 2 other nodes. When 1 node goes offline (not the initial node), the other ...
user avatar
-2 votes
2 answers
117 views

I have this code but after 12 hours of running it only found 5 infohashes. What can I do to increase this number? import DHT from 'bittorrent-dht'; import magnet from 'magnet-uri'; import WebTorrent ...
chovy's user avatar
  • 76.2k
2 votes
0 answers
172 views

I am trying to understand lib2p2 Rust by looking at the rust libp2p examples in the rust libp2p github repo and substrate network module as well. My question is, If I am building a peer to peer ...
2 votes
0 answers
695 views

I was basically trying to follow this tutorial https://medium.com/rahasak/libp2p-pubsub-peer-discovery-with-kademlia-dht-c8b131550ac7 but I couldn't get it to work. First some assumptions, please ...
0 votes
1 answer
183 views

I'm attempting to implement the DHT protocol using python, but having troubles getting a response from a public DHT node (router.bittorrent.com:6881). Interestingly, the Node JS variant that I wrote ...
user avatar
0 votes
1 answer
162 views

I'm developing a torrent client in Dart, but while implementing utp socket I see no way to announce the utp port looking at the specifications of the main peer discovery mechanisms bep0003 bep0005 I ...
0 votes
1 answer
92 views

I was reading bep 10 and I'm trying to fit the article to the packets I've captured. essentially through what I understand a client (the initiator) would begin by sending a normal handshake message (...
orraz1's user avatar
  • 43
0 votes
1 answer
140 views

I just finished implementing mainline dht with a flat based routing table. I recall from kademilia something about an updated peer list and efficient key republishing and I started to wonder if after ...
raz's user avatar
  • 29
0 votes
1 answer
449 views

So far I assumed a client would just search for peers in the dht and use bep 9 in order to get the metadata, however when trying it myself and opening Wireshark I couldn't find any usage of bep 9. ...
raz's user avatar
  • 29
1 vote
1 answer
90 views

I'm trying to implement mainline dht. While implementing I found it easier to use multithreading to handle requests and send requests at the same time. But it's impossible for a singular port to both ...
raz's user avatar
  • 29
1 vote
1 answer
144 views

I am reading bep 5 and trying to understand how a token value is generated. As I understand the token value is a randomly generated value that is used in a get_peers query for safety. This same token ...
raz's user avatar
  • 29

15 30 50 per page
1
2 3 4 5
...
19

AltStyle によって変換されたページ (->オリジナル) /