✅ v0.2 Release Preparation: - Update version to 0.2.0 in pyproject.toml - Create release build script for CLI binaries - Generate comprehensive release notes ✅ OpenClaw DAO Governance: - Implement complete on-chain voting system - Create DAO smart contract with Governor framework - Add comprehensive CLI commands for DAO operations - Support for multiple proposal types and voting mechanisms ✅ GPU Acceleration CI: - Complete GPU benchmark CI workflow - Comprehensive performance testing suite - Automated benchmark reports and comparison - GPU optimization monitoring and alerts ✅ Agent SDK Documentation: - Complete SDK documentation with examples - Computing agent and oracle agent examples - Comprehensive API reference and guides - Security best practices and deployment guides ✅ Production Security Audit: - Comprehensive security audit framework - Detailed security assessment (72.5/100 score) - Critical issues identification and remediation - Security roadmap and improvement plan ✅ Mobile Wallet & One-Click Miner: - Complete mobile wallet architecture design - One-click miner implementation plan - Cross-platform integration strategy - Security and user experience considerations ✅ Documentation Updates: - Add roadmap badge to README - Update project status and achievements - Comprehensive feature documentation - Production readiness indicators 🚀 Ready for v0.2.0 release with agent-first architecture
88 lines
1.5 KiB
Markdown
88 lines
1.5 KiB
Markdown
# Blockchain Node Configuration
|
|
Configure your blockchain node for optimal performance.
|
|
|
|
## Configuration File
|
|
|
|
Location: `~/.aitbc/chain.yaml`
|
|
|
|
## Node Configuration
|
|
|
|
```yaml
|
|
node:
|
|
name: my-node
|
|
network: ait-devnet # or ait-mainnet
|
|
data_dir: /opt/blockchain-node/data
|
|
log_level: info
|
|
```
|
|
|
|
## RPC Configuration
|
|
|
|
```yaml
|
|
rpc:
|
|
enabled: true
|
|
bind_host: 0.0.0.0
|
|
bind_port: 8080
|
|
cors_origins:
|
|
- http://localhost:8009
|
|
- http://localhost:8000
|
|
rate_limit: 1000 # requests per minute
|
|
```
|
|
|
|
## P2P Configuration
|
|
|
|
```yaml
|
|
p2p:
|
|
enabled: true
|
|
bind_host: 0.0.0.0
|
|
bind_port: 7070
|
|
bootstrap_nodes:
|
|
- /dns4/node-1.aitbc.com/tcp/7070/p2p/...
|
|
max_peers: 50
|
|
min_peers: 5
|
|
```
|
|
|
|
## Mempool Configuration
|
|
|
|
```yaml
|
|
mempool:
|
|
backend: database # or memory
|
|
max_size: 10000
|
|
min_fee: 0
|
|
eviction_interval: 60
|
|
```
|
|
|
|
## Database Configuration
|
|
|
|
```yaml
|
|
database:
|
|
adapter: postgresql # or sqlite
|
|
url: postgresql://user:pass@localhost/aitbc_chain
|
|
pool_size: 10
|
|
max_overflow: 20
|
|
```
|
|
|
|
## Validator Configuration
|
|
|
|
```yaml
|
|
validator:
|
|
enabled: true
|
|
key: <VALIDATOR_PRIVATE_KEY>
|
|
block_time: 2 # seconds
|
|
max_block_size: 1000000 # bytes
|
|
max_txs_per_block: 500
|
|
```
|
|
|
|
## Environment Variables
|
|
|
|
```bash
|
|
export AITBC_CHAIN_DATA_DIR=/opt/blockchain-node/data
|
|
export AITBC_CHAIN_RPC_PORT=8080
|
|
export AITBC_CHAIN_P2P_PORT=7070
|
|
```
|
|
|
|
## Next
|
|
|
|
- [Quick Start](./1_quick-start.md) — Get started
|
|
- [Operations](./3_operations.md) — Day-to-day ops
|
|
- [Consensus](./4_consensus.md) — Consensus mechanism
|