Skip to content
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

Torpush #1

Draft
wants to merge 2 commits into
base: unstable
Choose a base branch
from
Draft

Torpush #1

wants to merge 2 commits into from

Conversation

ujscale
Copy link

@ujscale ujscale commented Jul 21, 2023

Basic test for torpush format with encode/decode

@ujscale ujscale requested a review from kaiserd July 21, 2023 12:25
@ujscale ujscale self-assigned this Jul 21, 2023
Copy link

@kaiserd kaiserd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added some comments after looking at the code briefly.
@Menduist agreed to give more feedback next week 🙏

tests/testtorpush.nim Outdated Show resolved Hide resolved
tests/testtorpush.nim Outdated Show resolved Hide resolved
@Menduist
Copy link

Adding this feature shouldn't require any modification to nim-libp2p (I think).

What you need to do is:

Once everything is setup, it should be a matter of:

  • Connect to few random peers on the torSwitch
  • For every message publication, use the torGossipSub instead of the regular one

@ujscale
Copy link
Author

ujscale commented Jul 25, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Now/In Progress
3 participants