# PART 3: Super-Syncing Retrofit Tunnel (SSRT™) Technical Manual ## 3.1 The Sequential Replay Problem in CometBFT When new contributors deploy a node or an existing operator recovers from network downtime, the standard CometBFT / Tendermint P2P gossip engine defaults to **sequential block replay**: 1. It downloads block headers and transactions one by one starting from Block #1. 2. On mature networks (Layer 1: 106,400+ blocks; Layer 2: 55,800+ blocks), the node must execute every cryptographic signature check, calculate intermediate Merkle state roots, and process ABCI application updates sequentially. 3. This creates a severe synchronization lag lasting 12 to 24+ hours, locking out contributors from pushing code and causing validators to miss consensus rounds. ## 3.2 The SSRT Solution & Zero Key-Loss Protocol The Super-Syncing Retrofit Tunnel (SSRT) establishes a high-throughput, bare-metal state tunnel directly from Node 2's dedicated SSD pool: - **Multi-Threaded Zstandard Streaming**: Continuous, consistent snapshots compressed with Zstandard (`.tar.zst`) stream at wire speed (100+ MB/s), unpacking full chain state in under 10 seconds. - **Zero Key-Loss Guarantee**: Prior to altering local data directories, SSRT scans, detects, and archives critical cryptographic keys: - `priv_validator_key.json` (Validator identity & consensus voting private key) - `node_key.json` (P2P node authentication key) - `config.toml` & `genesis.json` (P2P topology & network parameters) - **Equivocation & Double-Sign Prevention**: Automatically re-aligns `priv_validator_state.json` to the target snapshot height, ensuring the node does not trigger consensus slashing upon reboot. ## 3.3 Universal CLI Usage ```bash # 1-Line Universal Fast-Sync Command: curl -sSL https://stackchain.net/ssrt.sh | bash # Diagnostics & Status Check (Read-Only): curl -sSL https://stackchain.net/ssrt.sh | bash -s -- --status # Sync Specific Layers: curl -sSL https://stackchain.net/ssrt.sh | bash -s -- --layer 1 curl -sSL https://stackchain.net/ssrt.sh | bash -s -- --layer 2 ```