Files
aitbc/.gitignore
oib 06e48ef34b 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
2026-02-13 22:39:43 +01:00

196 lines
2.7 KiB
Plaintext

# AITBC Monorepo ignore rules
# ===================
# Python
# ===================
__pycache__/
*.pyc
*.pyo
*.pyd
*.so
.venv/
*/.venv/
venv/
env/
*.egg-info/
*.egg
.eggs/
pip-wheel-metadata/
.pytest_cache/
.coverage
htmlcov/
.tox/
.mypy_cache/
.ruff_cache/
# Environment files
*.env
.env.*
!.env.example
.env.local
.env.*.local
# ===================
# Databases
# ===================
*.db
*.sqlite
*.sqlite3
*/data/*.db
data/
# Alembic
alembic.ini
migrations/versions/__pycache__/
# ===================
# Node / JavaScript
# ===================
node_modules/
dist/
build/
.npm/
.pnpm/
yarn.lock
package-lock.json
pnpm-lock.yaml
.next/
.nuxt/
.cache/
# ===================
# Logs & Runtime
# ===================
logs/
*.log
*.log.*
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pids/
*.pid
*.seed
# ===================
# Editor & IDE
# ===================
.idea/
.vscode/
*.swp
*.swo
*~
.project
.classpath
.settings/
# ===================
# Runtime / PID files
# ===================
*.pid
apps/.service_pids
# ===================
# OS Files
# ===================
.DS_Store
.DS_Store?
._*
Thumbs.db
ehthumbs.db
Desktop.ini
# ===================
# Build & Compiled
# ===================
*.o
*.a
*.lib
*.dll
*.dylib
target/
out/
# ===================
# Secrets & Credentials
# ===================
*.pem
*.key
*.crt
*.p12
secrets/
credentials/
.secrets
# ===================
# Temporary Files
# ===================
tmp/
temp/
*.tmp
*.temp
*.bak
*.backup
# ===================
# Windsurf IDE
# ===================
.windsurf/
.snapshots/
# ===================
# Test Results & Artifacts
# ===================
test-results/
**/test-results/
# ===================
# Wallet files (contain keys/balances)
# ===================
home/client/client_wallet.json
home/genesis_wallet.json
home/miner/miner_wallet.json
# Root-level wallet backups (contain private keys)
*.json
# ===================
# Stale source copies
# ===================
src/aitbc_chain/
# ===================
# Project Specific
# ===================
# Coordinator database
apps/coordinator-api/src/*.db
# Blockchain node data
apps/blockchain-node/data/
# Explorer build artifacts
apps/explorer-web/dist/
# Solidity build artifacts
packages/solidity/aitbc-token/typechain-types/
packages/solidity/aitbc-token/artifacts/
packages/solidity/aitbc-token/cache/
# Local test data
tests/fixtures/generated/
# GPU miner local configs
scripts/gpu/*.local.py
# Deployment secrets
scripts/deploy/*.secret.*
infra/nginx/*.local.conf
# ===================
# Documentation
# ===================
# Infrastructure docs (contains sensitive network info)
docs/infrastructure.md
# Workflow files (personal, change frequently)
docs/1_project/3_currenttask.md
docs/1_project/4_currentissue.md