Skip to content

Conversation

@reubenyap
Copy link
Member

PR intention

This PR adds I2P support to Firo, allowing nodes and wallets to operate as I2P hidden services. This enhances privacy and censorship resistance for Firo users, addressing the requirements outlined in GitHub issue #1641.

Code changes brief

  • Network Stack Integration: Introduced NET_I2P network type and updated CNetAddr and CService to parse and handle I2P .b32.i2p addresses using a "GarliCat" IPv6 prefix for internal representation.
  • Configuration Options: Added -i2psam=<ip:port> and -i2pacceptincoming command-line options for I2P SAM proxy configuration.
  • Documentation: Created doc/i2p.md with comprehensive setup, configuration, and usage instructions.
  • Testing: Added unit tests in src/test/netbase_tests.cpp to validate I2P address parsing and network properties.

Open in Cursor Open in Web

Integrate I2P as a new network type, enabling anonymous communication via SAM proxy.

Co-authored-by: reuben <reuben@firo.org>
@cursor
Copy link

cursor bot commented Jan 7, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 7, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch cursor/firo-i2p-hidden-services-f4b6

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants