refactor: centralize all dynamic data to /opt/aitbc/data directory

- Move blockchain data from apps/blockchain-node/data to centralized data directory
- Update configuration files to reference new data paths
- Remove old data directory structure
- Maintain existing database files and chain data
This commit is contained in:
2026-03-23 09:47:51 +01:00
parent e1184bcc13
commit 81e96f102f
3 changed files with 3 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ def deploy_to_container(container_name, genesis_config):
print(f"🧹 Clearing existing blockchain data on {container_name}...")
subprocess.run([
'ssh', container_name,
'sudo rm -f /opt/aitbc/apps/blockchain-node/data/chain.db'
'sudo rm -f /opt/aitbc/data/chain.db'
], check=False)
# Initialize new genesis