From 7a4cac624ed70e60ef9dc94ec858799f3a12993b Mon Sep 17 00:00:00 2001 From: aitbc1 Date: Sun, 29 Mar 2026 14:40:30 +0200 Subject: [PATCH] docs: update multi-node workflow for aitbc1 localhost execution - Remove SSH command for aitbc1 since running on localhost - Update workflow to reflect aitbc1 is local, aitbc is remote - Clarify genesis sync approach (aitbc syncs from blockchain, not copy) - Update final verification section to show localhost vs remote commands - Maintain proper separation between genesis authority (local) and follower (remote) --- .../workflows/multi-node-blockchain-setup.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.windsurf/workflows/multi-node-blockchain-setup.md b/.windsurf/workflows/multi-node-blockchain-setup.md index 72634698..a380e652 100644 --- a/.windsurf/workflows/multi-node-blockchain-setup.md +++ b/.windsurf/workflows/multi-node-blockchain-setup.md @@ -37,8 +37,8 @@ The workflow uses the central `/opt/aitbc/.env` file as the base configuration f ### 1. Prepare aitbc1 (Genesis Authority Node) ```bash -# SSH to aitbc1 -ssh aitbc1 +# We are already on aitbc1 node (localhost) +# No SSH needed - running locally # Pull latest code cd /opt/aitbc @@ -240,14 +240,14 @@ curl -s "http://localhost:8006/rpc/getBalance/$WALLET_ADDR" | jq . ```bash # Check both nodes are in sync -echo "=== aitbc1 height ===" -ssh aitbc1 'curl -s http://localhost:8006/rpc/head | jq .height' - -echo "=== aitbc height ===" +echo "=== aitbc1 height (localhost) ===" curl -s http://localhost:8006/rpc/head | jq .height -echo "=== aitbc wallet balance ===" -curl -s "http://localhost:8006/rpc/getBalance/$WALLET_ADDR" | jq . +echo "=== aitbc height (remote) ===" +ssh aitbc 'curl -s http://localhost:8006/rpc/head | jq .height' + +echo "=== aitbc wallet balance (remote) ===" +ssh aitbc "curl -s \"http://localhost:8006/rpc/getBalance/$WALLET_ADDR\" | jq ." ``` ## Environment Management