From 6e3e01cdfe655431933dd0952a4b22edf7a107b1 Mon Sep 17 00:00:00 2001 From: satyakwok Date: Mon, 11 May 2026 05:19:11 +0200 Subject: [PATCH] chore: scrub internal-infrastructure references - deploy/deploy.sh: DEST_HOST is now required (was a hardcoded IP default). - proto/sentrix.proto, src/components/stats_dashboard.rs: incident narratives generalised; private filesystem paths removed. Comment + one-line config edits; no runtime semantics change. --- deploy/deploy.sh | 2 +- proto/sentrix.proto | 2 +- src/components/stats_dashboard.rs | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/deploy/deploy.sh b/deploy/deploy.sh index e954d2d..7eeb5fc 100755 --- a/deploy/deploy.sh +++ b/deploy/deploy.sh @@ -16,7 +16,7 @@ set -euo pipefail -DEST_HOST="${DEST_HOST:-217.15.163.71}" +DEST_HOST="${DEST_HOST:?DEST_HOST must be set — production host IP/DNS}" # Production runs the explorer under a non-privileged service user; ssh # as that user so rsync preserves the file ownership systemd expects. # Per-instance restart needs root via sudo (see `restart()` below) — the diff --git a/proto/sentrix.proto b/proto/sentrix.proto index f6c33d4..2eb7567 100644 --- a/proto/sentrix.proto +++ b/proto/sentrix.proto @@ -12,7 +12,7 @@ syntax = "proto3"; // // Status: v0.1 skeleton. Handlers in crates/sentrix-grpc/src/lib.rs return // tonic::Status::unimplemented until main.rs integration lands. Reference -// design doc: founder-private/audits/2026-05-05-grpc-service-proto-draft.md. +// design: internal Sentrix Labs gRPC service-proto draft (2026-05-05). package sentrix.v1; diff --git a/src/components/stats_dashboard.rs b/src/components/stats_dashboard.rs index fa59f5e..446ffc2 100644 --- a/src/components/stats_dashboard.rs +++ b/src/components/stats_dashboard.rs @@ -90,9 +90,9 @@ async fn fetch_chain_stats(network: Network) -> Result { /// Subset of fields the dashboard cares about. Backed by gRPC v0.4 /// `GetValidatorSet` + `GetMempool` — chain v2.1.72 shipped 2026-05-05 -/// across both mainnet (vps1/vps2/vps3/vps5 simul-start) and testnet -/// (vps4 docker), so the read-only RPCs are now real on both networks. -/// Replaces the previous REST `/sentrix_status_extended` bridge. +/// across both mainnet (4-validator simul-start) and testnet (docker), +/// so the read-only RPCs are now real on both networks. Replaces the +/// previous REST `/sentrix_status_extended` bridge. #[cfg(target_arch = "wasm32")] #[derive(Default)] struct SentrixStatusSubset {