Expand description
Application node for SCP deployments.
scp-node provides ApplicationNode, a concrete SDK type that composes
an SCP relay, an identity, and storage into a single deployable unit. It is
the “one box” deployment pattern – relay + participant + storage on one
machine.
See spec section 18.6 and ADR-032 in .docs/adrs/phase-2.md.
Re-exports§
pub use http::BroadcastContext;pub use projection::ProjectedContext;
Modules§
- bridge_
auth - DID-signed bearer token authentication for bridge HTTP endpoints.
- bridge_
handlers - HTTP handlers for bridge endpoints.
- dev_api
- Dev API handlers for local development and diagnostics.
- http
- HTTP routing for
ApplicationNode. - projection
- Broadcast projection registry and key management.
- tls
- ACME-based TLS provisioning for
ApplicationNode.
Structs§
- Application
Node - A complete SCP application node composing relay, identity, and storage.
- Application
Node Builder - Builder for
ApplicationNode. - Default
NatStrategy - Default NAT strategy using real STUN probing,
UPnP, and bridge relay. - HasDomain
- Marker: domain has been set on the builder.
- HasIdentity
- Marker: identity has been configured on the builder.
- HasNo
Domain - Marker: zero-config (no domain) mode has been explicitly selected (§10.12.8).
- Identity
Handle - Handle to the node’s DID identity.
- NoDomain
- Marker: domain has not been set on the builder.
- NoIdentity
- Marker: identity has not been configured on the builder.
- Relay
Handle - Handle to the running relay server.
Enums§
- Node
Error - Errors produced by
ApplicationNodeconstruction and operation. - Reachability
Tier - Result of the NAT tier selection process during zero-config deployment (spec section 10.12.8).
Constants§
- DEFAULT_
HTTP_ BIND_ ADDR - Default bind address for the public HTTP server (
0.0.0.0:8443). - DEFAULT_
PROJECTION_ RATE_ LIMIT - Default per-IP rate limit for broadcast projection endpoints (requests per second).
Traits§
- NatStrategy
- Strategy for NAT probing and tier selection (spec section 10.12.8).
- TlsProvider
- Strategy for TLS certificate provisioning (spec section 18.6.3).
Functions§
- builder
- Returns a new
ApplicationNodeBuilder.