Files
aitbc/dev/scripts/patch_config2.py
oib ccedbace53 chore: remove configuration files and enhance blockchain explorer with advanced search, analytics, and export features
- Delete .aitbc.yaml.example CLI configuration template
- Delete .lycheeignore link checker exclusion rules
- Delete .nvmrc Node.js version specification
- Add advanced search panel with filters for address, amount range, transaction type, time range, and validator
- Add analytics dashboard with transaction volume, active addresses, and block time metrics
- Add Chart.js integration
2026-03-02 15:38:25 +01:00

20 lines
542 B
Python

with open("/home/oib/windsurf/aitbc/apps/blockchain-node/src/aitbc_chain/config.py", "r") as f:
content = f.read()
content = content.replace(
"class ChainSettings(BaseSettings):",
"""from pydantic import BaseModel
class ProposerConfig(BaseModel):
chain_id: str
proposer_id: str
interval_seconds: int
max_block_size_bytes: int
max_txs_per_block: int
class ChainSettings(BaseSettings):"""
)
with open("/home/oib/windsurf/aitbc/apps/blockchain-node/src/aitbc_chain/config.py", "w") as f:
f.write(content)