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
This commit is contained in:
19
dev/scripts/patch_config2.py
Normal file
19
dev/scripts/patch_config2.py
Normal file
@@ -0,0 +1,19 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user