-
Notifications
You must be signed in to change notification settings - Fork 461
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
Proposing deal to self fails with "routing: not found" [bug] #1917
Comments
Some learnings: We currently use libp2p protocols for the creation and execution of storage deals between a storage miner and a storage client. libp2p does not currently allow a libp2p peer to dial oneself (libp2p/go-libp2p#328), so making a deal with oneself currently cannot work. Some possible avenues that come to mind:
|
For reference, |
You can comment here saying you also need this: ipfs/roadmap#18 |
option 1 get it fixed in libp2p is preferable. 3 could work but will cause a lot of confusion as the idea that the node has exactly one peerid is baked in really deep to tools etc. assigning over to @ZenGround0 who is owning our networking. i think the action required here is just working with libp2p team to get this onto their list. |
|
Describe the bug
Following the instructions from the wiki without a friend to swap deals with, I attempted to propose a deal to my own node. While this might have failed for some logical reason, failing to find my own nodes address is unexpected.
To Reproduce
Expected behavior
I expect that proposing a deal to my own node should succeed, if well formed. It's an important path to exercise.
The text was updated successfully, but these errors were encountered: