fix: update blockchain monitoring configuration and convert services to use venv python
Some checks failed
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
API Endpoint Tests / test-api-endpoints (push) Successful in 34m15s
Documentation Validation / validate-docs (push) Has been cancelled
Systemd Sync / sync-systemd (push) Failing after 18s
Some checks failed
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
API Endpoint Tests / test-api-endpoints (push) Successful in 34m15s
Documentation Validation / validate-docs (push) Has been cancelled
Systemd Sync / sync-systemd (push) Failing after 18s
Blockchain Monitoring Configuration: ✅ CONFIGURABLE INTERVAL: Added blockchain_monitoring_interval_seconds setting - apps/blockchain-node/src/aitbc_chain/config.py: New setting with 10s default - apps/blockchain-node/src/aitbc_chain/chain_sync.py: Import settings with fallback - chain_sync.py: Replace hardcoded base_delay=2 with config setting - Reason: Makes monitoring interval configurable instead of hardcoded ✅ DUMMY ENDPOINTS: Disabled monitoring
This commit is contained in:
@@ -42,6 +42,9 @@ class ChainSettings(BaseSettings):
|
||||
# Block production limits
|
||||
max_block_size_bytes: int = 1_000_000 # 1 MB
|
||||
max_txs_per_block: int = 500
|
||||
|
||||
# Monitoring interval (in seconds)
|
||||
blockchain_monitoring_interval_seconds: int = 10
|
||||
min_fee: int = 0 # Minimum fee to accept into mempool
|
||||
|
||||
# Mempool settings
|
||||
|
||||
Reference in New Issue
Block a user