docs: update multi-node workflow for aitbc1 localhost execution
Some checks failed
Documentation Validation / validate-docs (push) Has been cancelled
Some checks failed
Documentation Validation / validate-docs (push) Has been cancelled
- 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)
This commit is contained in:
@@ -37,8 +37,8 @@ The workflow uses the central `/opt/aitbc/.env` file as the base configuration f
|
|||||||
### 1. Prepare aitbc1 (Genesis Authority Node)
|
### 1. Prepare aitbc1 (Genesis Authority Node)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# SSH to aitbc1
|
# We are already on aitbc1 node (localhost)
|
||||||
ssh aitbc1
|
# No SSH needed - running locally
|
||||||
|
|
||||||
# Pull latest code
|
# Pull latest code
|
||||||
cd /opt/aitbc
|
cd /opt/aitbc
|
||||||
@@ -240,14 +240,14 @@ curl -s "http://localhost:8006/rpc/getBalance/$WALLET_ADDR" | jq .
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Check both nodes are in sync
|
# Check both nodes are in sync
|
||||||
echo "=== aitbc1 height ==="
|
echo "=== aitbc1 height (localhost) ==="
|
||||||
ssh aitbc1 'curl -s http://localhost:8006/rpc/head | jq .height'
|
|
||||||
|
|
||||||
echo "=== aitbc height ==="
|
|
||||||
curl -s http://localhost:8006/rpc/head | jq .height
|
curl -s http://localhost:8006/rpc/head | jq .height
|
||||||
|
|
||||||
echo "=== aitbc wallet balance ==="
|
echo "=== aitbc height (remote) ==="
|
||||||
curl -s "http://localhost:8006/rpc/getBalance/$WALLET_ADDR" | jq .
|
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
|
## Environment Management
|
||||||
|
|||||||
Reference in New Issue
Block a user