Open zavalyshyn opened 9 years ago
Note to remember: if we want to distribute the clients without tracker, then we need to set static port for each node. Because we need to send both address:port info to put directly into Peerlist. It's not enough with only address
Related with this and also with the comment on another issue (https://github.com/Telolets/LibtorrentWiBed/issues/13#issuecomment-65508317) there are two appraaches depending on the environment we assume: 1) We assume a environment with a central controller (like wibed): The central controller can learn all the necessary information for each node. For example in WiBed, I can easily add address and port information related to each node. Thus a node would be at any time the database of the server to find the necessary information 2) Without central controller: This scenario is less restricted and should run in every environment. The application runs either with previous knowledge (i.e. standard port) or with information discovery (i.e. with Alfred every node announces it's ip address), or with information retrieval methods (i.e. I ask my neighbour for data and if he doenst have it he asks his neighbours etc.)
So we have to select, when the time comes which scenario is of our interest.
This will be done in Milestone 2, closed for now?
Since we always know which and how many nodes will participate in file distribution we don't really need a Tracker. The idea is to provide each peer necessary information to start downloading at once without a need to contact tracker.
Seems hard to implement for now.