chore: standardize configuration, logging, and error handling across blockchain node and coordinator API

- Add infrastructure.md and workflow files to .gitignore to prevent sensitive info leaks
- Change blockchain node mempool backend default from memory to database for persistence
- Refactor blockchain node logger with StructuredLogFormatter and AuditLogger (consistent with coordinator)
- Add structured logging fields: service, module, function, line number
- Unify coordinator config with Database
This commit is contained in:
oib
2026-02-13 22:39:43 +01:00
parent 0cbd2b507c
commit 06e48ef34b
196 changed files with 4660 additions and 20090 deletions

View File

@@ -7,9 +7,9 @@ Wants=network.target
Type=simple
User=debian
Group=debian
WorkingDirectory=/home/debian/aitbc
Environment=PYTHONPATH=/home/debian/aitbc
ExecStart=/home/debian/aitbc/venv/bin/python /home/debian/aitbc/gpu_miner_simple.py
WorkingDirectory=/opt/gpu-miner
Environment=PYTHONPATH=/opt/gpu-miner
ExecStart=/opt/gpu-miner/venv/bin/python /opt/gpu-miner/gpu_miner_simple.py
Restart=on-failure
RestartSec=30
StartLimitInterval=300
@@ -22,7 +22,7 @@ SyslogIdentifier=aitbc-gpu-miner
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ReadWritePaths=/home/debian/aitbc
ReadWritePaths=/opt/gpu-miner
[Install]
WantedBy=multi-user.target