refactor: add blockchain sync and network optimization scripts to workflow
All checks were successful
Documentation Validation / validate-docs (push) Successful in 12s
CLI Tests / test-cli (push) Successful in 1m0s
Security Scanning / security-scan (push) Successful in 48s

📋 Workflow Enhancement:
• Added step 6: Blockchain Sync Fix (08_blockchain_sync_fix.sh)
• Renumbered step 6 to 7: Enhanced Transaction Manager (09_transaction_manager.sh)
• Renumbered step 7 to 8: Final Verification (unchanged)
• Added step 9: Complete Workflow orchestrator (10_complete_workflow.sh)
• Added step 10: Network Optimization (11_network_optimizer.sh)
• Renumbered step 8 to 11: Complete Sync (unchanged)

🔧 Script
This commit is contained in:
aitbc1
2026-03-29 16:52:31 +02:00
parent 2b3f9a4e33
commit 0d9ef9b5b7
6 changed files with 438 additions and 6 deletions

View File

@@ -539,7 +539,7 @@ def submit_ai_job(wallet_name: str, job_type: str, prompt: str, payment: float,
return None
def get_balance(wallet_name: str, keystore_dir: Path = DEFAULT_KEYSTORE_DIR,
rpc_url: str = DEFAULT_RPC_URL) -> Optional[Dict]:
"""Get wallet balance and transaction info"""
"""Get wallet balance and transaction info"""
try:
keystore_path = keystore_dir / f"{wallet_name}.json"
if not keystore_path.exists():