632595b0babf90197540b5a79174a9e9ab0fbaa8
- Add propose_only_if_mempool_not_empty config option (default: True) to skip block proposals when mempool is empty - Add detailed logging for transaction processing in block proposals (sender/recipient validation, balance checks, duplicate detection) - Check for existing transactions in database before adding to prevent duplicates - Improve genesis block creation: check by height and hash, use "genesis" as proposer to avoid hash conflicts - Add proper error handling and rollback for
AITBC - Advanced Intelligence Training Blockchain Consortium
Project Structure
This project has been organized for better maintainability. Here's the directory structure:
📁 Essential Root Files
LICENSE- Project licenseaitbc-cli- Main CLI symlinkREADME.md- This file
📁 Core Directories
aitbc/- Core AITBC Python packagecli/- Command-line interface implementationcontracts/- Smart contractsscripts/- Automation and deployment scriptsservices/- Microservicestests/- Test suites
📁 Configuration
project-config/- Project configuration filespyproject.toml- Python project configurationrequirements.txt- Python dependenciespoetry.lock- Dependency lock file.gitignore- Git ignore rules.deployment_progress- Deployment tracking
📁 Documentation
docs/- Comprehensive documentationREADME.md- Main project documentationSETUP.md- Setup instructionsPYTHON_VERSION_STATUS.md- Python compatibilityAITBC1_TEST_COMMANDS.md- Testing commandsAITBC1_UPDATED_COMMANDS.md- Updated commandsREADME_DOCUMENTATION.md- Detailed documentation
📁 Development
dev/- Development tools and examples.windsurf/- IDE configurationpackages/- Package distributionsextensions/- Browser extensionsplugins/- System plugins
📁 Infrastructure
infra/- Infrastructure as codesystemd/- System service configurationsmonitoring/- Monitoring setup
📁 Applications
apps/- Application componentsservices/- Service implementationswebsite/- Web interface
📁 AI & GPU
gpu_acceleration/- GPU optimizationai-ml/- AI/ML components
📁 Security & Backup
security/- Security reports and fixesbackup-config/- Backup configurationsbackups/- Data backups
📁 Cache & Logs
venv/- Python virtual environmentlogs/- Application logs.mypy_cache/,.pytest_cache/,.ruff_cache/- Tool caches
Quick Start
# Setup environment
cd /opt/aitbc
source venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Run CLI
./aitbc-cli --help
# Run training
./scripts/training/master_training_launcher.sh
# Cross-node communication training
./scripts/training/openclaw_cross_node_comm.sh
Recent Achievements
Cross-Node Agent Communication (April 2026)
- Successfully implemented autonomous agent messaging between blockchain nodes
- Ping-pong test completed: Agents on
aitbcandaitbc1successfully exchanged messages - Transaction-based messaging: Agents communicate via blockchain transaction payloads
- Autonomous agent daemon: Listens for messages and replies automatically
- Block confirmed: Cross-node communication verified in Block 26952
Multi-Node Blockchain Network
- Genesis Node (aitbc1): Height 26952+, operational at 10.1.223.40:8006
- Follower Node (aitbc): Height 26952+, operational at 10.1.223.93:8006
- Synchronization: Nodes synchronized with manual sync workaround
- RPC Services: Running on both nodes
Blockchain Synchronization Fixes
- Rate limiting disabled: Removed 1-second import rate limit on
/rpc/importBlock - Issue documented:
/rpc/blocks-rangeendpoint missing transaction data - Workaround implemented: Direct database queries for transaction retrieval
- Manual sync procedure: Database copy method for rapid synchronization
Development
See docs/SETUP.md for detailed setup instructions.
Documentation
Recent Documentation Updates
- Cross-Node Communication Guide - Implementation guide for multi-node agent messaging
- Blockchain Synchronization Issues - Detailed documentation of sync fixes and workarounds
- Cross-Node Training Module - Training workflow for agent communication
- OpenClaw Documentation - Complete OpenClaw integration documentation
Core Documentation
- Main Documentation - Comprehensive project documentation
- Setup Instructions - Installation and configuration guide
- Python Compatibility - Python version requirements
Security
See security/SECURITY_VULNERABILITY_REPORT.md for security status.
License
See LICENSE for licensing information.
Languages
Python
65.7%
Shell
16.7%
TypeScript
5.8%
JavaScript
5.8%
HTML
3.1%
Other
2.9%