Skip to main content

Module server

Module server 

Source
Expand description

Peer server: hosts a peer for thin clients over the public PeerServerService gRPC surface (see docs/design/protocol.md).

Queries execute server-side against the hosted peer’s local database values with per-request fuel and chunked result streams.

Structs§

PeerServerConfig
Peer-server execution limits.
PeerServerSvc
The hosted-peer gRPC service.

Functions§

assemble_query_result
Reassembles a chunked query result on the client side.
serve
Serves the peer-server service until shutdown resolves.
serve_service
Serves a pre-built peer service, allowing process wiring to expose its metrics handle before the server future is awaited.