-
Notifications
You must be signed in to change notification settings - Fork 186
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
refactor to use multiple feeds #2
Conversation
I'm porting Orbit to Go and this would be really helpful. Is there a reason this wasn't merged? |
I see the code severely diverged. I'll try to make it mergable tomorrow! |
@keks we've decided against doing things this way. Although i'm not against being able to open multiple subsriptions for the same topic, its a little difficult to get working correctly (where the closing of subscriptions get a little sticky) |
Can we chat about this tomorrow? I don't think it really makes sense this way so I'd like to find a good solution for this. Edit: I see I misread your post, sorry. I think being able to do that is super important and I would like to know your concerns about this solution so I can figure something out that satisfies all conditions. Will you be on IRC tomorrow (Tuesday) at 17:00 UTC? If not, please propose some later time. Thanks! |
@keks i'll likely be online at that time. Thats 9am for me, so its a tad early, but i've been waking up earlier lately and it should be fine. |
Here are my thoughts. What do you think about this? Note: The version I currently use is the Currently I propose that
That way you could use
as an idiom.
and the process loop would be changed like this:
Note that I added Wow, I guess I just could have changed all of this directly in the code, but I hope I get my intentions across better this way. If you sign off on this copypasta will be my friend :) |
@keks that looks pretty good to me. Good job on writing the whole PR in this PR :P |
@whyrusleeping this can be closed as #10 is merged. |
* Update go.mod * Refactor GossipSub Construction (#1) * Enables non-atomic validation for peer scoring parameters (#499) * decouples topic scoring parameters * adds skiping atomic validation for topic parameters * cleans up * adds skip atomic validation to peer score threshold * adds skip atomic validation for peer parameters * adds test for non-atomic validation * adds tests for peer score * adds tests for peer score thresholds * refactors tests * chore: Update .github/workflows/stale.yml [skip ci] * adds with gossipsub tracker Co-authored-by: libp2p-mgmt-read-write[bot] <104492852+libp2p-mgmt-read-write[bot]@users.noreply.github.com> * decouples options * fixes conflict * reverts back module * fixes peer score helper * Adds send control message to gossipsub router (#2) * adjusts libp2p version (#3) * Update go.mod (#4) * adds app specific rpc handler * Create ci.yml (#5) * Create Makefile (#7) * Revert "Merge branch 'yahya/gossipsub-router-interface'" (#6) This reverts commit 1c91995. * Update ci.yml (#9) * Revert "Merge branch 'master' into yahya/adds-rpc-inspector" This reverts commit 352d747. * Revert "Merge remote-tracking branch 'origin/yahya/adds-rpc-inspector' into yahya/adds-rpc-inspector" This reverts commit 586c5cb. * Revert "Merge branch 'master' into yahya/adds-rpc-inspector" This reverts commit 2e13ee8. * moves app specific inspector to pubsub * removes option from gossipsub * moves app specific rpc inspector up * refactors app specific to return an error Co-authored-by: libp2p-mgmt-read-write[bot] <104492852+libp2p-mgmt-read-write[bot]@users.noreply.github.com>
No description provided.