-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is this project dead? #42
Comments
Hello, I wrote the original software and didn't realise people were starting to get interested in it. This particular implementation has a few problems because using a non-blocking model to manage data in Python is a really bad approach due to the design of the GIL. For this reason it would need to be refactored to use asynchronous callbacks for sockets (not that difficult, really, but the code is messy.) Unfortunately, this would probably mean also breaking some of the hole punching code as it depends deeply on timing to work. It might make more sense to have a separate process running the hole punching code as kind of like a server. It really is painful not having threads in Python :( I haven't had a lot of time recently to fix this but there are other libraries that do p2p networking in Python, I believe. You could checkout this library: https://github.com/ethereum/pydevp2p I don't know how good it is though. |
Thank you for the response. You mentioned this link: pydevp2p What about this one: p2p-today ? (your opinions) I also attempted to run the basic example between Alice and Bob, but that failed because of the hard-coded .sh file (I am running the code in a venv, so I am using |
Het @robertsdotpm. I am currently working on a project that aims to solve the pain of multiprocessing by providing a high level abstraction over EDIT: |
I see that this project is stored under:
StorjOld/pyp2p
Does this mean that this project is no longer being worked on? (it also looks like no code updates have been provided for the past 2 years)
The text was updated successfully, but these errors were encountered: