chore: update file permissions to executable across repository

- Change file mode from 644 to 755 for all project files
- Add chain_id parameter to get_balance RPC endpoint with default "ait-devnet"
- Rename Miner.extra_meta_data to extra_metadata for consistency
This commit is contained in:
oib
2026-03-06 22:17:54 +01:00
parent bb5363bebc
commit 15427c96c0
1794 changed files with 43849 additions and 530 deletions

0
apps/blockchain-node/src/aitbc_chain/__init__.py Normal file → Executable file
View File

0
apps/blockchain-node/src/aitbc_chain/app.py Normal file → Executable file
View File

0
apps/blockchain-node/src/aitbc_chain/config.py Normal file → Executable file
View File

View File

0
apps/blockchain-node/src/aitbc_chain/consensus/poa.py Normal file → Executable file
View File

View File

View File

View File

0
apps/blockchain-node/src/aitbc_chain/database.py Normal file → Executable file
View File

View File

0
apps/blockchain-node/src/aitbc_chain/gossip/broker.py Normal file → Executable file
View File

0
apps/blockchain-node/src/aitbc_chain/gossip/relay.py Normal file → Executable file
View File

0
apps/blockchain-node/src/aitbc_chain/logger.py Normal file → Executable file
View File

0
apps/blockchain-node/src/aitbc_chain/main.py Normal file → Executable file
View File

0
apps/blockchain-node/src/aitbc_chain/mempool.py Normal file → Executable file
View File

0
apps/blockchain-node/src/aitbc_chain/metrics.py Normal file → Executable file
View File

0
apps/blockchain-node/src/aitbc_chain/models.py Normal file → Executable file
View File

View File

View File

View File

2
apps/blockchain-node/src/aitbc_chain/rpc/router.py Normal file → Executable file
View File

@@ -300,7 +300,7 @@ async def get_receipts(limit: int = 20, offset: int = 0) -> Dict[str, Any]:
@router.get("/getBalance/{address}", summary="Get account balance")
async def get_balance(address: str) -> Dict[str, Any]:
async def get_balance(address: str, chain_id: str = "ait-devnet") -> Dict[str, Any]:
metrics_registry.increment("rpc_get_balance_total")
start = time.perf_counter()
with session_scope() as session:

0
apps/blockchain-node/src/aitbc_chain/rpc/websocket.py Normal file → Executable file
View File

0
apps/blockchain-node/src/aitbc_chain/sync.py Normal file → Executable file
View File