Fixed hardcoded IP addresses in production code by replacing them with environment variables or config settings: - apps/blockchain-node/src/aitbc_chain/sync_cli.py: Use AITBC_SYNC_SOURCE and AITBC_SYNC_IMPORT_URL env vars for RPC URLs - apps/blockchain-node/src/aitbc_chain/app.py: Use AITBC_TRUSTED_IPS env var for rate limiting bypass - apps/coordinator-api/src/app/routers/client.py: Use settings.blockchain_rpc_url for RPC endpoint - dev/scripts/dev_heartbeat.py: Use AITBC_LOCAL_RPC and AITBC_GENESIS_RPC env vars for RPC URLs - cli/aitbc_cli.py: Use AITBC_FOLLOWER_HOST and AITBC_FOLLOWER_PORT env vars for network peer display This makes the codebase more portable and configurable for different deployment environments.
Blockchain Node
Documentation has moved to: docs/apps/blockchain/blockchain-node.md
This file has been migrated to the central documentation location. Please update your bookmarks and references to point to the new location.
For the complete documentation including architecture, setup, API reference, and troubleshooting, see the Blockchain Node documentation.