Difference between revisions of "Networking"
From Internet Computer Wiki
(→Crates) |
(→Crates) |
||
Line 8: | Line 8: | ||
=== Crates === | === Crates === | ||
− | + | The following crates are heavily used by the networking components<br> | |
+ | [https://docs.rs/tokio/latest/tokio/ tokio], [https://docs.rs/tower/latest/tower/ tower], [https://docs.rs/hyper/latest/hyper/ hyper], [https://docs.rs/tonic/latest/tonic/ tonic] |
Revision as of 11:24, 28 October 2022
The page contains technical content relevant for the scope of the networking team.
Networking adapters
Networking adapters are processes on the ReplicaOS that run next to the main replica process and can issue outgoing calls to the internet. The intent of an adapter is to serve as proxy which sanitises data received externally. They are used by Bitcoin integration and HTTPS outcalls features.
The main replica process uses gRPC for communicating with the co-located adapters via Unix domain sockets.
Rust
Crates
The following crates are heavily used by the networking components
tokio, tower, hyper, tonic