Skip to main content

Module types

Module types 

Source
Expand description

Shared types of the stable inference address (card mesh-placement-19).

Structs§

ChainAudit
Audit into the ExoChain.
ProxyLimits
Hard limits. Every one bounds something a client or a peer controls.
ProxyRequest
A request that passed validation: nothing here can name a host.

Enums§

Method
Methods the proxy forwards. Anything else is refused.
ProxyError
Why a request was not served.
Target
Where a role is served right now.

Traits§

MeshDialer
The mesh side of the proxy. The implementation is the only authority on who is admitted: dial must return a stream only to a peer that passed admission and whose id was verified against the connection (an authenticated Noise channel), never to an address a client named.
ProxyAudit
Where security-relevant proxy decisions are recorded (the chain, in production). Per-request traffic is not recorded, only binds, refusals and exposure changes.
ResponseSink
Receives a response as it is produced (so a streamed completion is relayed as it arrives, not buffered).

Functions§

qualifies
A peer’s standing is good enough to serve inference: admission was enforced (not observe or off), the peer is a full node (not a leaf or legacy device), and its scope is trusted.