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:
43
config/consensus_test.json
Normal file
43
config/consensus_test.json
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"network_name": "consensus-test",
|
||||
"chain_id": "consensus-test",
|
||||
"validators": [
|
||||
{
|
||||
"address": "0x1234567890123456789012345678901234567890",
|
||||
"stake": 1000.0,
|
||||
"role": "proposer"
|
||||
},
|
||||
{
|
||||
"address": "0x2345678901234567890123456789012345678901",
|
||||
"stake": 1000.0,
|
||||
"role": "validator"
|
||||
},
|
||||
{
|
||||
"address": "0x3456789012345678901234567890123456789012",
|
||||
"stake": 1000.0,
|
||||
"role": "validator"
|
||||
},
|
||||
{
|
||||
"address": "0x4567890123456789012345678901234567890123",
|
||||
"stake": 1000.0,
|
||||
"role": "validator"
|
||||
},
|
||||
{
|
||||
"address": "0x5678901234567890123456789012345678901234",
|
||||
"stake": 1000.0,
|
||||
"role": "validator"
|
||||
}
|
||||
],
|
||||
"consensus": {
|
||||
"type": "multi_validator_poa",
|
||||
"block_time": 5,
|
||||
"rotation_interval": 10,
|
||||
"fault_tolerance": 1
|
||||
},
|
||||
"slashing": {
|
||||
"double_sign_slash": 0.5,
|
||||
"unavailable_slash": 0.1,
|
||||
"invalid_block_slash": 0.3,
|
||||
"slow_response_slash": 0.05
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user