feat: implement AITBC mesh network deployment infrastructure
✅ Phase 0: Pre-implementation checklist completed - Environment configurations (dev/staging/production) - Directory structure setup (logs, backups, monitoring) - Virtual environment with dependencies ✅ Master deployment script created - Single command deployment with validation - Progress tracking and rollback capability - Health checks and deployment reporting ✅ Validation script created - Module import validation - Basic functionality testing - Configuration and script verification ✅ Implementation fixes - Fixed dataclass import in consensus keys - Fixed async function syntax in tests - Updated deployment script for virtual environment 🚀 Ready for deployment: ./scripts/deploy-mesh-network.sh dev
This commit is contained in:
35
config/smart_contracts_test.json
Normal file
35
config/smart_contracts_test.json
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"escrow": {
|
||||
"default_fee_rate": 0.025,
|
||||
"max_contract_duration": 2592000,
|
||||
"dispute_timeout": 604800,
|
||||
"min_dispute_evidence": 1,
|
||||
"max_dispute_evidence": 10,
|
||||
"min_milestone_amount": 0.01,
|
||||
"max_milestones": 10,
|
||||
"verification_timeout": 86400
|
||||
},
|
||||
"disputes": {
|
||||
"automated_resolution_threshold": 0.8,
|
||||
"mediation_timeout": 259200,
|
||||
"arbitration_timeout": 604800,
|
||||
"voting_timeout": 172800,
|
||||
"min_arbitrators": 3,
|
||||
"max_arbitrators": 5,
|
||||
"community_vote_threshold": 0.6
|
||||
},
|
||||
"upgrades": {
|
||||
"min_voting_period": 259200,
|
||||
"max_voting_period": 604800,
|
||||
"required_approval_rate": 0.6,
|
||||
"min_participation_rate": 0.3,
|
||||
"emergency_upgrade_threshold": 0.8,
|
||||
"rollback_timeout": 604800
|
||||
},
|
||||
"optimization": {
|
||||
"min_optimization_threshold": 1000,
|
||||
"optimization_target_savings": 0.1,
|
||||
"max_optimization_cost": 0.01,
|
||||
"metric_retention_period": 604800
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user