Difference between revisions of "Networking"
From Internet Computer Wiki
Line 4: | Line 4: | ||
== Networking Adapters == | == 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. | + | 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. Networking adapters are used by [[Bitcoin integration]] and [[HTTPS outcalls]] features. <br> |
The main replica process uses [https://docs.rs/tonic/latest/tonic/transport/index.html gRPC] for communicating with the co-located adapters via Unix domain sockets. | The main replica process uses [https://docs.rs/tonic/latest/tonic/transport/index.html gRPC] for communicating with the co-located adapters via Unix domain sockets. | ||
Revision as of 19:37, 16 November 2022
The page contains technical content relevant for the scope of the application level networking components.
HTTP(s) Endpoints
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. Networking adapters 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.
NNS Managed Firewall Configuration
Rust
Crates
The following crates are heavily used by the networking components
tokio, tower, hyper, tonic