- Added comprehensive bounds checking to prevent buffer overruns in multicall parsing - Implemented graduated validation system (Strict/Moderate/Permissive) to reduce false positives - Added LRU caching system for address validation with 10-minute TTL - Enhanced ABI decoder with missing Universal Router and Arbitrum-specific DEX signatures - Fixed duplicate function declarations and import conflicts across multiple files - Added error recovery mechanisms with multiple fallback strategies - Updated tests to handle new validation behavior for suspicious addresses - Fixed parser test expectations for improved validation system - Applied gofmt formatting fixes to ensure code style compliance - Fixed mutex copying issues in monitoring package by introducing MetricsSnapshot - Resolved critical security vulnerabilities in heuristic address extraction - Progress: Updated TODO audit from 10% to 35% complete 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
70 lines
1.7 KiB
YAML
70 lines
1.7 KiB
YAML
global_limits:
|
|
connection_timeout: 30s
|
|
idle_timeout: 300s
|
|
max_concurrent_connections: 50
|
|
read_timeout: 60s
|
|
write_timeout: 30s
|
|
monitoring:
|
|
enabled: true
|
|
log_slow_requests: true
|
|
metrics_interval: 60s
|
|
slow_request_threshold: 5s
|
|
track_provider_performance: true
|
|
provider_pools:
|
|
execution:
|
|
failover_enabled: true
|
|
health_check_interval: 30s
|
|
max_concurrent_connections: 20
|
|
providers:
|
|
- Primary RPC
|
|
strategy: reliability_first
|
|
read_only:
|
|
failover_enabled: true
|
|
health_check_interval: 30s
|
|
max_concurrent_connections: 25
|
|
providers:
|
|
- Primary WSS
|
|
strategy: websocket_preferred
|
|
providers:
|
|
- features:
|
|
- reading
|
|
- real_time
|
|
health_check:
|
|
enabled: true
|
|
interval: 30s
|
|
timeout: 60s
|
|
http_endpoint: ""
|
|
name: Primary WSS
|
|
priority: 1
|
|
rate_limit:
|
|
burst: 600
|
|
max_retries: 3
|
|
requests_per_second: 300
|
|
retry_delay: 1s
|
|
timeout: 60s
|
|
type: standard
|
|
ws_endpoint: wss://arbitrum-mainnet.core.chainstack.com/53c30e7a941160679fdcc396c894fc57
|
|
- features:
|
|
- execution
|
|
- transaction_submission
|
|
health_check:
|
|
enabled: true
|
|
interval: 60s
|
|
timeout: 30s
|
|
http_endpoint: https://arbitrum-mainnet.core.chainstack.com/53c30e7a941160679fdcc396c894fc57
|
|
name: Primary RPC
|
|
priority: 1
|
|
rate_limit:
|
|
burst: 400
|
|
max_retries: 3
|
|
requests_per_second: 200
|
|
retry_delay: 1s
|
|
timeout: 30s
|
|
type: standard
|
|
ws_endpoint: ""
|
|
rotation:
|
|
fallover_enabled: true
|
|
health_check_required: true
|
|
retry_failed_after: 5m
|
|
strategy: priority_based
|