Some checks failed
CLI Tests / test-cli (push) Has been cancelled
Cross-Node Transaction Testing / transaction-test (push) Has been cancelled
Deploy to Testnet / deploy-testnet (push) Has been cancelled
Multi-Node Stress Testing / stress-test (push) Has been cancelled
Node Failover Simulation / failover-test (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Blockchain Synchronization Verification / sync-verification (push) Has been cancelled
Cross-Chain Functionality Tests / test-cross-chain-sync (push) Has been cancelled
Cross-Chain Functionality Tests / test-cross-chain-transactions (push) Has been cancelled
Cross-Chain Functionality Tests / test-cross-chain-bridge (push) Has been cancelled
Cross-Chain Functionality Tests / test-multi-chain-consensus (push) Has been cancelled
Cross-Chain Functionality Tests / aggregate-results (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Multi-Chain Island Architecture Tests / test-multi-chain-island (push) Has been cancelled
Multi-Node Blockchain Health Monitoring / health-check (push) Has been cancelled
P2P Network Verification / p2p-verification (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Systemd Sync / sync-systemd (push) Successful in 22s
Prevented RPC service from producing blocks by: - Added AITBC_FORCE_ENABLE_BLOCK_PRODUCTION environment variable (highest priority) - Updated _env_value() helper to check multiple env var names in priority order - Set all block production env vars to false in RPC wrapper script - Added AITBC_FORCE_ENABLE_BLOCK_PRODUCTION=false to systemd service file - Fixed CLI get_balance() to use requests library instead of AITBCHTTPClient - Added 404 handling in
27 lines
729 B
Desktop File
27 lines
729 B
Desktop File
[Unit]
|
|
Description=AITBC Blockchain RPC API
|
|
After=network.target aitbc-blockchain-node.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=root
|
|
Group=root
|
|
WorkingDirectory=/opt/aitbc
|
|
Environment=PATH=/usr/bin:/usr/local/bin:/usr/bin:/bin
|
|
ExecStartPre=/opt/aitbc/scripts/utils/load-keystore-secrets.sh
|
|
EnvironmentFile=/run/aitbc/secrets/.env
|
|
EnvironmentFile=/etc/aitbc/.env
|
|
EnvironmentFile=/etc/aitbc/node.env
|
|
Environment=AITBC_FORCE_ENABLE_BLOCK_PRODUCTION=false
|
|
Environment=enable_block_production=false
|
|
ExecStart=/opt/aitbc/venv/bin/python /opt/aitbc/scripts/wrappers/aitbc-blockchain-rpc-wrapper.py
|
|
Restart=always
|
|
RestartSec=5
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=BlockchainRPC
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|