Skip to content

Move parts of the TunnelCommunity to Rust #1119

Closed
@qstokkink

Description

@qstokkink

Original discussion: Tribler/tribler#6679 (partially reposted here to make it a formal IPv8 issue)

Summary:
The throughput of anonymized Tribler downloads can be almost doubled by implementing TunnelCrypto.encrypt_str and TunnelCrypto.decrypt_str in C.

A proof of concept - credit to @hbiyik - exists here:
https://github.com/qstokkink/py-ipv8/tree/compiled_evp

One change still needs to be made to the proof of concept: in case compilation fails the exisiting pure-Python implementation should be used as a fallback. Secondarily, the concept code could use a cleanup.

[EDIT] The above no longer works and there are no plans to fix the code.

Metadata

Metadata

Assignees

Labels

priority: lowShould be addressed at some point in the future

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions