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

I2P support #2745

Closed
wants to merge 9 commits into from
Closed

I2P support #2745

wants to merge 9 commits into from

Conversation

ignopeverell
Copy link
Contributor

See #2712 for background.

Adds necessary configuration bits to enable I2P in various modes,
unused for now but will soon. Also add peer address wrappers for
I2P so those addresses can be understood and exchanged between
peers. Doesn't compile yet as serde needs to be supported in
i2p-rs first.
p2p/src/types.rs Show resolved Hide resolved
p2p/src/types.rs Outdated
/// Whether this is an classic IP address
pub fn is_ip(&self) -> bool {
if let PeerAddr::I2p(_) = self {
return true;
Copy link
Contributor

Choose a reason for hiding this comment

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

shouldn't it be false? or just replace the body with !self.is_i2p()

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch! Will fix.

@chisa0a
Copy link

chisa0a commented Apr 30, 2019

What remains on this PR? Would really love to start testing this out, and get Grin running over I2P by default.

Is there anyway I can help?

@chisa0a
Copy link

chisa0a commented May 1, 2019

@ignopeverell I started work on rebasing this branch on current master (1.1.0-beta2 - b9db129), and completing the remaining P2P work (per our discussion on Gitter).

Submitted a PR against your branch with my rebase work (basically just minor fixups), to make further collaboration/merging a bit easier.

@chisa0a
Copy link

chisa0a commented Jun 12, 2019

@ignopeverell ping. I removed the rebase onto 1.1.0 (now it's still on 1.0.3), and completed a large amount of remaining work for I2P connections.

Please review the work in that PR, and merge if you approve. After the merge, a rebase onto 1.1.0 would be immensely helpful for future collaboration. Thank you for your initial work in supporting I2P.

@quentinlesceller
Copy link
Member

Closing that PR since we are going in another direction. Hope you'll understand @ignopeverell :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants