Summary
rtc-wallet network cannot read live RustChain network metadata from rustchain.org because the Rust wallet client hardcodes GET /network/info, but the production site currently returns nginx's HTML 404 for that path.
Live repro
curl -sk -D - https://rustchain.org/network/info -o -
Actual response observed:
HTTP/1.1 404 Not Found
Content-Type: text/html
Server: nginx
The response body is nginx HTML, not wallet-consumable JSON.
Client contract
The Rust wallet calls this route directly:
rustchain-wallet/src/client.rs: get_network_info() builds {api_url}/network/info
rustchain-wallet/src/bin/rtc_wallet.rs: rtc-wallet network calls client.get_network_info()
The client expects JSON compatible with NetworkInfo: chain_id, network, block_height, peer_count, min_fee, and version.
Expected behavior
https://rustchain.org/network/info should be proxied to the node and return JSON network metadata so the Rust wallet network command works against the default public API URL.
Root cause
The Flask node exposes adjacent status/stat APIs, but there is no /network/info route. The production nginx config also has explicit proxy locations for selected node routes and then falls through to static-site handling, so /network/info currently never reaches the node.
Summary
rtc-wallet networkcannot read live RustChain network metadata from rustchain.org because the Rust wallet client hardcodesGET /network/info, but the production site currently returns nginx's HTML 404 for that path.Live repro
Actual response observed:
The response body is nginx HTML, not wallet-consumable JSON.
Client contract
The Rust wallet calls this route directly:
rustchain-wallet/src/client.rs:get_network_info()builds{api_url}/network/inforustchain-wallet/src/bin/rtc_wallet.rs:rtc-wallet networkcallsclient.get_network_info()The client expects JSON compatible with
NetworkInfo:chain_id,network,block_height,peer_count,min_fee, andversion.Expected behavior
https://rustchain.org/network/infoshould be proxied to the node and return JSON network metadata so the Rust wallet network command works against the default public API URL.Root cause
The Flask node exposes adjacent status/stat APIs, but there is no
/network/inforoute. The production nginx config also has explicit proxy locations for selected node routes and then falls through to static-site handling, so/network/infocurrently never reaches the node.