Privacy RPC And Resource Policy¶
Remote privacy RPC is intentionally bounded. Proof verification is expensive enough that public edge behavior must be explicit.
Current RPC Posture¶
- Read-only pool report is available through
orchard_pool_report. - Remote Orchard batch creation is opt-in.
- Inline JSON is bounded.
- Server-controlled spool paths are used.
- Client-selected file paths are rejected.
- Direct shielded apply is rejected at the public edge.
- Concurrency and rate limits exist for remote verifier work.
- Child-process isolation exists for selected RPC operations.
- User-proven private actions (
private_action_submit) are admitted only by an RPC server started withrpc-serve --allow-private-action-admission; the switch is off unless set (crates/node/src/private_action_rpc.rs). On the live devnet, public submission of shielded actions is off on every validator (as recorded in the handoff of 23 November 2026; the switch is not reported over RPC).
RPC Resource Gates¶
flowchart TD
Request[Incoming privacy RPC request]
Method{Method allowed<br/>for public edge?}
Size[Inline JSON and ciphertext size limits]
Paths[Server-controlled spool path<br/>client file paths rejected]
Rate[Rate limit and concurrency gate]
Isolation[Child-process isolation<br/>for expensive verifier work]
Policy[Privacy policy gate<br/>resource class and action cap]
Execute[Execute bounded operation<br/>pool report or batch creation]
Reject[Reject with explicit error<br/>no direct shielded apply]
Request --> Method
Method -->|read report or bounded create| Size --> Paths --> Rate --> Isolation --> Policy --> Execute
Method -->|direct apply or unknown method| Reject
Size -->|oversized| Reject
Paths -->|client path selected| Reject
Rate -->|over limit| Reject
Policy -->|policy mismatch| Reject
Resource Evidence¶
- malformed proof load;
- oversized proof rejection;
- ciphertext size rejection;
- RPC rate limit;
- RPC concurrency limit;
- RPC child isolation;
- repeated live target-hardware malformed load.
Evidence anchors (May 2026 runs; the reports are archived outside this
repository, see reports/README.md):
reports/testnet-orchard-rpc-concurrency-limit/orchard-rpc-concurrency-limit-v0-20260515T171128Z/testnet-orchard-rpc-concurrency-limit.jsonreports/testnet-orchard-rpc-child-isolation/orchard-rpc-child-isolation-v0-20260515T174034Z/testnet-orchard-rpc-child-isolation.jsonreports/testnet-live-orchard-malformed-edge-load-series/live-orchard-malformed-edge-load-series-20260515T170500Z/testnet-live-orchard-malformed-edge-load-series.json