The server's Gate-0 policy (Rust GatePolicy), built from the trust
settings: allowAllConsumers → 'open_dev', otherwise 'protected'
(only the admission ALPNs are open until a peer is admitted). Successful
consumer / delegated admission admits the peer into gate.store;
gate.admit() / gate.revoke() manage peers directly.
The /healthz /readyz /metrics listener (Rust), when the config
enables it (healthPort, healthEnabled; ASTER_HEALTH_*). Use it to
add readiness checks: server.health?.check('db').set(true).
The aster1... connection address for clients.
Hex endpoint ID of this server's node.
Whether the server is running.
List of services hosted by this server.
Start the node and prepare for serving. Idempotent.
On first call, auto-imports aster-rpc.generated.js from the
working directory (unless generated was passed explicitly),
registers the generated metadata, then registers all services.
Start accepting connections. Blocks until close() is called.
Stop accepting connections and close the node.
Create a local in-process transport for testing.
High-level Aster RPC server.
Creates an IrohNode, serves RPC over QUIC, handles consumer admission, and prints a startup banner.
Example