Privacy-Scoped Execution Extensions (CantonExEx · /_exex)
Stream real-time post-commit and pruning notifications into in-process Rust channels or 0600 JSONL audit files under strict party-level visibility scopes (ExExPartyScope) without stalling ledger commits.
How CantonExEx Works & Non-Blocking Guarantees
Real-time risk circuit breakers, matching-engine mirrors, and compliance audit sinks need immediate notification when transactions commit, yet a slow or stalled downstream consumer must never block ledger commits or BFT ordering threads.
Four Visibility Scopes (ExExPartyScope) & Zero-Payload Masking
To preserve Canton's sub-transaction privacy guarantees across internal hooks and log sinks, every CantonExEx subscriber must declare one of the four explicit ExExPartyScope variants at registration time.
Consuming Events: In-Process Rust Channels vs. Zero-Code CLI JSONL
Inside a host Rust application, register channels via CantonNodeBuilder::install_exex or node.subscribe_exex_with_backfill to receive mpsc::Receiver<ExExNotification> directly. When running a standalone node via CLI without custom Rust code, pass --exex-jsonl to oltenrs node json-api (or node participant run) to stream events into an owner-only (0600) file and inspect live delivery counters via GET /_exex.
Switch language (KO) · LLMs.txt · oltenrs Home