Bug
The setup.sh summary prints a balance-check command that points to a non-existent route:
curl -sk '$NODE_URL/wallet/$WALLET_NAME' | python3 -m json.tool
That path returns 404 on the active node shape.
Reproduction
Using the same wallet/miner ID from a local miner run:
curl -sk -o /tmp/wallet_path.out -w '%{http_code} %{size_download}\n' \
'https://bulbous-bouffant.metalseed.net/wallet/RTC219810c1e939b0f1a8887a5528949da0e5c97b78'
Result:
The node endpoint used by the miner works:
curl -sk 'https://bulbous-bouffant.metalseed.net/balance/RTC219810c1e939b0f1a8887a5528949da0e5c97b78'
Result:
{"amount_i64":0,"balance_rtc":0.0,"miner_pk":"RTC219810c1e939b0f1a8887a5528949da0e5c97b78"}
The public docs also consistently point users at the wallet balance endpoint shape:
curl -sk 'https://rustchain.org/wallet/balance?miner_id=YOUR_WALLET_NAME'
Expected behavior
The setup summary should print a command that works with the documented wallet-balance endpoint, e.g.
curl -sk "$NODE_URL/wallet/balance?miner_id=$WALLET_NAME" | python3 -m json.tool
Fix
I added this correction to PR #5711 along with the detached miner log buffering fix:
#5711
Bug
The
setup.shsummary prints a balance-check command that points to a non-existent route:That path returns 404 on the active node shape.
Reproduction
Using the same wallet/miner ID from a local miner run:
Result:
The node endpoint used by the miner works:
curl -sk 'https://bulbous-bouffant.metalseed.net/balance/RTC219810c1e939b0f1a8887a5528949da0e5c97b78'Result:
{"amount_i64":0,"balance_rtc":0.0,"miner_pk":"RTC219810c1e939b0f1a8887a5528949da0e5c97b78"}The public docs also consistently point users at the wallet balance endpoint shape:
curl -sk 'https://rustchain.org/wallet/balance?miner_id=YOUR_WALLET_NAME'Expected behavior
The setup summary should print a command that works with the documented wallet-balance endpoint, e.g.
Fix
I added this correction to PR #5711 along with the detached miner log buffering fix:
#5711