Commit Graph

963 Commits

Author SHA1 Message Date
aitbc
984a5f7c9a Change blockchain node and RPC services to use venv Python interpreter and update node service entry point
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
- Update aitbc-blockchain-node.service ExecStart from blockchain_simple.py to aitbc_chain.combined_main module
- Update aitbc-blockchain-rpc.service ExecStart from /usr/bin/python3 to /opt/aitbc/venv/bin/python
- Ensures both services use virtual environment Python interpreter for consistency
2026-04-15 08:46:16 +02:00
aitbc
ad50f1fede Add ProtectSystem=no to wallet daemon systemd service to allow database writes for SQLite WAL mode
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
2026-04-15 08:42:51 +02:00
aitbc
904515b020 Remove ProtectSystem and ReadWritePaths security settings from blockchain node systemd service
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
- Remove ProtectSystem=strict to allow broader filesystem access
- Remove ReadWritePaths directive as it's no longer needed without ProtectSystem
2026-04-15 08:36:34 +02:00
aitbc
dc259fce1b Change Python interpreter from system python3 to venv python in blockchain sync service
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
- Update ExecStart to use /opt/aitbc/venv/bin/python instead of /usr/bin/python3
- Ensures service uses virtual environment Python interpreter for consistency
2026-04-15 08:33:30 +02:00
aitbc
23840edc11 Remove restrictive systemd security settings and expand ReadWritePaths for blockchain node service
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
- Remove StartLimitBurst and StartLimitIntervalSec from aitbc-blockchain-node systemd service
- Change ReadWritePaths from /var/lib/aitbc/data/blockchain to /var/lib/aitbc/data to allow broader data directory access
2026-04-15 08:31:30 +02:00
aitbc
9bb4791a97 Add error handling for chmod operations in database initialization and remove restrictive systemd security settings
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
- Add try-except blocks around os.chmod calls in init_db to ignore OSError exceptions
- Add comments noting permission errors are ignored for read-only filesystems in containers
- Wrap chmod for database file, WAL-shm, and WAL-wal files with error handling
- Remove StartLimitBurst and StartLimitIntervalSec from agent-coordinator systemd service
- Remove ProtectSystem, ProtectHome, and ReadWritePaths security
2026-04-15 08:29:03 +02:00
aitbc
a79057ce35 Add directory creation for agent coordinator data and logs in systemd service
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
- Add ExecStartPre to create /var/lib/aitbc/data/agent-coordinator and /var/log/aitbc/agent-coordinator directories
- Ensures required directories exist before service starts
2026-04-15 08:22:09 +02:00
aitbc
d3415413b3 Add hash conflict detection and cleanup across chains in import operations and improve database initialization
Some checks failed
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
API Endpoint Tests / test-api-endpoints (push) Has been cancelled
- Add hash conflict detection in import_block to delete existing blocks with same hash
- Add hash conflict cleanup in import_chain before importing blocks
- Add logging for hash conflict deletions showing affected chains
- Add WAL file permission setting in init_db for .db-shm and .db-wal files
- Add test_import_chain_clears_hash_conflicts_across_chains to verify cross-chain hash cleanup
2026-04-15 08:17:35 +02:00
aitbc
dab867499c Add network command live RPC integration with multi-node probing and blockchain.env configuration
Some checks failed
Security Scanning / security-scan (push) Has been cancelled
CLI Tests / test-cli (push) Has been cancelled
- Add read_blockchain_env helper to parse /etc/aitbc/blockchain.env configuration
- Add normalize_rpc_url helper to parse and normalize RPC endpoint URLs
- Add probe_rpc_node to query /health and /rpc/head endpoints with latency tracking
- Add get_network_snapshot to probe local node and p2p_peers from config
- Update network status to show real connected node count and sync status
- Update network peers to show actual peer endpoints and connection
2026-04-14 13:31:10 +02:00
aitbc
ffd05769df Add p2p_node_id configuration setting and make node-id argument optional with fallback chain
Some checks failed
Security Scanning / security-scan (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Systemd Sync / sync-systemd (push) Has been cancelled
- Add p2p_node_id field to ChainSettings with empty string default
- Add p2p_node_id to .env.example configuration file
- Change --node-id argument from required to optional with default empty string
- Add node_id resolution with fallback chain: args.node_id -> settings.p2p_node_id -> settings.proposer_id
- Add validation to raise ValueError if no node_id can be resolved
- Update systemd service to use ${
2026-04-14 13:12:00 +02:00
aitbc
f9fb3ea053 Fix chain import/export to handle duplicates, add metadata fields, and improve datetime parsing
Some checks failed
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
- Add chain_id field to Block creation in import_block endpoint
- Remove await from synchronous session.commit in import_block
- Add _serialize_optional_timestamp helper to handle various timestamp formats
- Add _parse_datetime_value helper with proper datetime parsing and error handling
- Add _select_export_blocks to filter duplicate blocks by height during export
- Add _dedupe_import_blocks to filter
2026-04-14 12:33:44 +02:00
aitbc
2db82e3759 Add duplicate block filtering and chain-scoped deletion to chain import/export
Some checks failed
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
- Add DISTINCT clause to block query in export_chain to prevent duplicate blocks in export
- Add chain_id filter to all delete operations in import_chain (blocks, accounts, transactions)
- Add commit after deletions before starting imports to ensure clean state
- Add duplicate block filtering by height before import to prevent UNIQUE constraint violations
- Add logging for deletion operations showing chain_id being cleared
2026-04-14 09:20:32 +02:00
aitbc
74e5a880b0 Add logging and error handling to gossip subscriber setup in blockchain node
Some checks failed
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
- Add info logs for gossip subscriber setup start and completion
- Add try-except blocks around transactions and blocks topic subscriptions
- Add success logs after each subscription
- Add error logs with exception details if subscription fails
- Add early return if subscription fails to prevent further processing
- Add logging for gossip backend initialization with backend type and URL
- Add success log after gossip backend initialization compl
2026-04-14 08:56:24 +02:00
aitbc
26989e969a Comment out mempool empty check in PoA proposer to enable continuous block creation during testing
Some checks failed
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
- Comment out propose_only_if_mempool_not_empty check in _propose_block
- Add note that check is disabled for testing purposes
- Allows block proposal even when mempool is empty
- Enables continuous block creation regardless of transaction availability
2026-04-13 23:40:41 +02:00
aitbc
7ff5159e94 Fix chain import to preserve account chain_id and conditionally clear accounts
Some checks failed
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
- Add chain_id field to account export data
- Use account's chain_id from import data if available, fallback to root chain_id
- Only clear existing accounts if import data contains accounts to replace
- Prevents clearing accounts when importing chain data without account information
2026-04-13 23:35:04 +02:00
aitbc
60edf85047 Fix chain import to use correct delete syntax and preserve chain_id from imported data
Some checks failed
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
- Remove unused sqlalchemy.func import
- Replace select().delete() with delete() for proper SQLModel syntax in import_chain
- Add chain_id extraction from first block if not provided in import_data root
- Add chain_id field to Block creation during import to ensure consistency
- Remove redundant session.close() in export_chain finally block (session_scope handles cleanup)
2026-04-13 23:29:31 +02:00
aitbc
d7fb2eae95 Fix async/sync mismatch in chain export/import and remove duplicate import_block code
Some checks failed
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
- Replace manual session creation with session_scope() in export_chain
- Convert query results to lists to avoid lazy loading issues after session close
- Remove await from session.execute calls in import_chain (use synchronous queries)
- Change force_sync back to async and restore await on import_chain call
- Remove 69 lines of duplicate import_block implementation at end of file
2026-04-13 23:20:04 +02:00
aitbc
d409cb30d0 Fix async/sync mismatch in chain export/import RPC endpoints
Some checks failed
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
- Replace async session_scope with synchronous SQLAlchemy session in export_chain
- Remove await from session.execute calls in export_chain (use synchronous queries)
- Remove await from session.commit in import_chain
- Change force_sync from async to sync function
- Remove await from import_chain call in force_sync
- Add proper session cleanup with try/finally block in export_chain
2026-04-13 22:49:04 +02:00
aitbc
79516a4388 Add manual chain export/import RPC endpoints and fix chain_id in wallet adapter
Some checks failed
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
CLI Tests / test-cli (push) Has been cancelled
- Add /export-chain endpoint to export full blockchain state (blocks, accounts, transactions) as JSON
- Add /import-chain endpoint to import chain state with backup and data clearing
- Add /force-sync endpoint to trigger reorg by fetching and importing peer's chain state
- Fix duplicate import_block implementation (remove redundant async with _import_lock block)
- Fix wallet adapter to use chain_id=ait-testnet instead of ait
2026-04-13 22:41:28 +02:00
aitbc
9bfa27f518 Fix CLI transaction nonce to use blockchain account state instead of timestamp
Some checks failed
CLI Tests / test-cli (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
API Endpoint Tests / test-api-endpoints (push) Has been cancelled
Documentation Validation / validate-docs (push) Has been cancelled
Staking Tests / test-staking-service (push) Has been cancelled
Staking Tests / test-staking-integration (push) Has been cancelled
Staking Tests / test-staking-contract (push) Has been cancelled
Staking Tests / run-staking-test-runner (push) Has been cancelled
- Replace hardcoded nonce=0 in send_transaction with actual account nonce from blockchain
- Replace timestamp-based nonce in agent_operations with actual account nonce from blockchain
- Add RPC account endpoint query to fetch current nonce before transaction creation
- Add error handling with fallback to nonce=0 if RPC query fails
- Ensures transactions use correct sequential nonce values for proper ordering
2026-04-13 22:12:39 +02:00
aitbc
7c51f3490b Remove outdated GPU marketplace endpoint and fix staking service logic
- Remove duplicate `/marketplace/gpu/{gpu_id}` endpoint from marketplace_gpu.py
- Remove marketplace_gpu router inclusion from main.py (already included elsewhere)
- Fix staking service staker_count logic to check existing stakes before increment/decrement
- Add minimum stake amount validation (100 AITBC)
- Add proper error handling for stake not found cases
- Fix staking pool update to commit and refresh after modifications
- Update CLI send_transaction to use chain
2026-04-13 22:07:51 +02:00
aitbc
da630386cf Implement marketplace-blockchain payment integration: add buy/orders commands, marketplace transaction RPC endpoint, password-free transactions
Some checks failed
CLI Tests / test-cli (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
2026-04-13 20:57:31 +02:00
aitbc
c53ecd5349 Fix CLI wallet balance to query blockchain database and add RPC account endpoint 2026-04-13 20:49:57 +02:00
aitbc
4c300d0d4e Set default propose_only_if_mempool_not_empty to False for continuous block creation
Some checks failed
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
2026-04-13 20:14:47 +02:00
aitbc
830d8abf76 Fix signal handling conflict in combined_main.py and add missing imports
Some checks failed
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
2026-04-13 20:09:43 +02:00
aitbc
4a7936d201 consensus: add error handling for state root computation and database initialization
Some checks failed
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
- Wrap _compute_state_root in try/except to handle failures during genesis block creation
- Return None and log warning when state root computation fails (e.g., when accounts don't exist yet)
- Add error handling in init_db to ignore "already exists" errors when creating tables
- Improve robustness of database initialization for concurrent or repeated startup scenarios
2026-04-13 19:35:09 +02:00
aitbc
b74dfd76e3 consensus: integrate state root computation and validation with state transition system
Some checks failed
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Documentation Validation / validate-docs (push) Has been cancelled
- Add _compute_state_root helper function to compute Merkle Patricia Trie state root from account state
- Replace direct balance/nonce updates with state_transition.apply_transaction in block proposal
- Compute and set state_root for both regular blocks and genesis block
- Add state root verification in sync.py after importing blocks
- Add application-layer database validation with DatabaseOperationValidator class
2026-04-13 19:16:54 +02:00
aitbc
b3bec1041c docs: update version to v0.3.1 and add release notes for test cleanup and milestone tracking fix
Some checks failed
Documentation Validation / validate-docs (push) Has been cancelled
- Bump version from v0.3.0 to v0.3.1 in MASTER_INDEX.md (April 13, 2026)
- Update docs/README.md version from 6.0 to 6.1 with test cleanup focus
- Update production ready status date from March 18 to April 13, 2026
- Add v0.3.1 release section with milestone tracking fix and test cleanup achievements
- Document removal of 12 legacy test files and conftest consolidation
- Add migration notes for legacy
2026-04-13 18:32:56 +02:00
aitbc
ecb76a0ef9 docs: update mastery plan to v2.0 with multi-chain support, hub/follower topology, and workflow integration
Some checks failed
Documentation Validation / validate-docs (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
CLI Tests / test-cli (push) Has been cancelled
Package Tests / test-python-packages (map[name:aitbc-agent-sdk path:packages/py/aitbc-agent-sdk]) (push) Has been cancelled
Package Tests / test-python-packages (map[name:aitbc-core path:packages/py/aitbc-core]) (push) Has been cancelled
Package Tests / test-python-packages (map[name:aitbc-crypto path:packages/py/aitbc-crypto]) (push) Has been cancelled
Package Tests / test-python-packages (map[name:aitbc-sdk path:packages/py/aitbc-sdk]) (push) Has been cancelled
Package Tests / test-javascript-packages (map[name:aitbc-sdk-js path:packages/js/aitbc-sdk]) (push) Has been cancelled
Package Tests / test-javascript-packages (map[name:aitbc-token path:packages/solidity/aitbc-token]) (push) Has been cancelled
- Bump version from 1.0 to 2.0 in OPENCLAW_AITBC_MASTERY_PLAN.md
- Add comprehensive workflow integration section with links to multi-node setup, operations, marketplace, and production workflows
- Document multi-chain runtime support (ait-testnet, ait-devnet) with shared database and chain-aware RPC
- Document hub/follower topology with island management and P2P network architecture
- Add new
2026-04-13 18:22:47 +02:00
aitbc
bc96e47b8f fix: stabilize multichain hub and follower sync flow
Some checks failed
CLI Tests / test-cli (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
2026-04-13 14:31:23 +02:00
aitbc
d72945f20c network: add hub registration, Redis persistence, and federated mesh join protocol
Some checks failed
CLI Tests / test-cli (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Documentation Validation / validate-docs (push) Has been cancelled
API Endpoint Tests / test-api-endpoints (push) Has been cancelled
Systemd Sync / sync-systemd (push) Has been cancelled
- Change default P2P port from 7070 to 8001 in config and .env.example
- Add redis_url configuration option for hub persistence (default: redis://localhost:6379)
- Implement DNS-based hub registration/unregistration via HTTPS API endpoints
- Add Redis persistence for hub registrations with 1-hour TTL
- Add island join request/response protocol with member list and blockchain credentials
- Add GPU marketplace tracking (offers, bids, providers) in hub manager
- Add
2026-04-13 11:47:34 +02:00
aitbc
fefa6c4435 config: add island federation and NAT traversal support for federated mesh architecture
Some checks failed
CLI Tests / test-cli (push) Has been cancelled
Documentation Validation / validate-docs (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
- Add island configuration fields (island_id, island_name, is_hub, island_chain_id, hub_discovery_url, bridge_islands)
- Add NAT traversal configuration (STUN/TURN servers and credentials)
- Add DEFAULT_ISLAND_ID using UUID for new installations
- Extend PeerNode with public_address, public_port, island_id, island_chain_id, and is_hub fields
- Update DiscoveryMessage to include island metadata and public endpoint
2026-04-13 08:57:34 +02:00
aitbc
57c53c2fc3 docs: update achievements and roadmap to reflect multi-node blockchain synchronization completion
Some checks failed
Documentation Validation / validate-docs (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
- Update README achievements section with multi-node sync details (gossip backend, PoA fixes, transaction sync)
- Add Stage 29 completion in roadmap with comprehensive synchronization fixes
- Document OpenClaw agent communication test success (transaction 0xdcf365...)
- Update done.md with recent synchronization fixes and documentation updates
- Update block heights from 26952 to 27201 across all documentation
2026-04-10 16:19:43 +02:00
aitbc
68fa807256 consensus: improve block proposal timing and return status, fix transaction field mapping in sync
Some checks failed
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
- Add initial sleep before first proposal to prevent immediate block creation
- Return bool from _propose_block to indicate if block was actually proposed
- Wait for next slot only after successful proposal, use regular interval after skipped proposals
- Add 1s sleep after proposal errors to prevent tight error loops
- Add parent_hash, proposer, and state_root fields to /rpc/blocks-range response
- Fix transaction field mapping
2026-04-10 16:10:45 +02:00
aitbc
632595b0ba config: add option to prevent empty block proposals and improve genesis block handling
Some checks failed
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
- 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
2026-04-10 15:32:44 +02:00
aitbc
56100f0099 docs: add cross-node agent communication achievements and fix blockchain sync issues
Some checks failed
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Documentation Validation / validate-docs (push) Has been cancelled
CLI Tests / test-cli (push) Has been cancelled
Systemd Sync / sync-systemd (push) Has been cancelled
- Document successful cross-node agent messaging implementation in README
- Add ping-pong test completion (Block 26952) between aitbc and aitbc1 nodes
- Document blockchain synchronization fixes (rate limiting disabled, blocks-range workaround)
- Add recent documentation links (cross-node communication, sync issues, training modules)
- Fix /rpc/blocks-range endpoint to include transaction data with include_tx parameter
2026-04-10 13:54:37 +02:00
aitbc
748264e44d cli: add missing agent action parameters to argument extraction
Some checks failed
CLI Tests / test-cli (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
- Add agent, message, to, and content parameters to handle_agent_action kwargs extraction
- Fixes agent communication commands that require these parameters (send, receive, broadcast)
2026-04-10 13:31:14 +02:00
aitbc
084dcdef31 docs: update refactoring summary and mastery plan to reflect completion of all 11 atomic skills
Some checks failed
Security Scanning / security-scan (push) Has been cancelled
Documentation Validation / validate-docs (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
- Mark Phase 2 as completed with all 11/11 atomic skills created
- Update skill counts: AITBC skills (6/6), OpenClaw skills (5/5)
- Move aitbc-node-coordinator and aitbc-analytics-analyzer from remaining to completed
- Update Phase 3 status from PLANNED to IN PROGRESS
- Add Gitea-based node synchronization documentation (replaces SCP)
- Clarify two-node architecture with same port (8006) on different I
2026-04-10 12:46:09 +02:00
aitbc
6bfd78743d cli: fix argument parsing for extended CLI commands
Some checks failed
Security Scanning / security-scan (push) Has been cancelled
CLI Tests / test-cli (push) Has been cancelled
- Add argument parsing for marketplace buy/sell commands (--item, --price)
- Add argument parsing for economics commands (--type, --target, --node, --nodes)
- Add argument parsing for analytics commands (--type, --target)
- Add argument parsing for performance commands (--target, --strategy)
- Add argument parsing for compliance commands (--standard, --format)
- Add argument parsing for script run command (--file)
- Add argument parsing for api commands (--endpoint)
- Add argument parsing for resource commands (--amount, --type, --target)
- Add argument parsing for ollama commands (--model)
- Add argument parsing for ai status job-id command
- Add argument parsing for automate monitor command
- Add argument parsing for cluster coordinate command (--action)

This fixes the CLI commands that were not properly parsing arguments,
ensuring all extended CLI features work correctly with their parameters.
2026-04-10 11:03:27 +02:00
aitbc
468222c7da bakcup
Some checks failed
Documentation Validation / validate-docs (push) Has been cancelled
2026-04-10 10:51:30 +02:00
aitbc
b2ab628ba2 chore: remove obsolete backup directories from March 2026
- Deleted backup_20260329_183359 (block height 2222, 3 accounts, 4 transactions)
- Deleted dependency_backup_20260331_204119 (pyproject.toml, requirements files)
- Deleted pre_deployment_20260402_120429 (config examples and environment templates)
2026-04-10 10:49:57 +02:00
aitbc1
d9b2aa03b0 Merge branch 'main' of http://gitea.bubuit.net:3000/oib/aitbc 2026-04-09 20:18:30 +02:00
aitbc1
de6b47110d security: sync dependency vulnerability fixes from genesis node 2026-04-09 20:18:17 +02:00
aitbc
bb352f27e3 security: fix critical and high dependency vulnerabilities
Some checks failed
Python Tests / test-python (push) Has been cancelled
- Updated aiohttp to 3.12.14 (CVE-2025-53643 request smuggling)
- Updated requests to 2.32.4 (CVE-2024-47081 credential leak)
- Updated gunicorn to 23.0.0 (HTTP request smuggling)
- Updated cryptography to 46.0.7 (security fixes)
- Updated pyyaml to 6.0.2 (security fixes)
- Updated pillow to 11.1.0 (security fixes)
- Updated opencv-python to 4.11.0 (security fixes)
- Updated numpy to 2.2.0 (security fixes)
- Updated pandas to 2.2.3 (security fixes)
- Updated httpx to 0.28.1 (security fixes)
- Updated fastapi to 0.115.6 (security fixes)
- Updated uvicorn to 0.34.0 (security fixes)
- Updated redis to 5.2.1 (security fixes)
- Updated websockets to 14.1.0 (security fixes)
- Updated asyncio-mqtt to 0.16.2 (security fixes)
- Updated aiosqlite to 0.20.1 (security fixes)
- Updated asyncpg to 0.30.0 (security fixes)
- Updated pydantic to 2.10.4 (security fixes)
- Updated pydantic-settings to 2.13.1 (security fixes)
- Updated python-dotenv to 1.1.0 (security fixes)
- Updated sentry-sdk to 2.20.0 (security fixes)
- Updated structlog to 25.1.0 (security fixes)
- Updated aiofiles to 25.1.0 (security fixes)
- Updated sqlalchemy to 2.0.49 (security fixes)
- Updated sqlalchemy[asyncio] to 2.0.49 (security fixes)
- Updated alembic to 1.18.4 (security fixes)
- Updated sqlmodel to 0.0.38 (security fixes)
- Updated slowapi to 0.1.9 (security fixes)
- Updated limits to 5.8.0 (security fixes)
- Updated prometheus-client to 0.21.1 (security fixes)
- Updated pynacl to 1.6.2 (security fixes)
- Updated ecdsa to 0.19.2 (security fixes)
- Updated base58 to 2.1.1 (security fixes)
- Updated bech32 to 1.2.0 (security fixes)
- Updated web3 to 7.15.0 (security fixes)
- Updated eth-account to 0.13.7 (security fixes)
- Updated pytest to 9.0.3 (security fixes)
- Updated pytest-asyncio to 1.3.0 (security fixes)
- Updated black to 26.3.1 (security fixes)
- Updated flake8 to 7.3.0 (security fixes)
- Updated ruff to 0.15.10 (security fixes)
- Updated mypy to 1.20.0 (security fixes)
- Updated isort to 8.0.1 (security fixes)
- Updated pre-commit to 4.5.1 (security fixes)
- Updated bandit to 1.9.4 (security fixes)
- Updated pydocstyle to 6.3.0 (security fixes)
- Updated pyupgrade to 3.21.2 (security fixes)
- Updated safety to 3.7.0 (security fixes)
- Updated click to 8.3.2 (security fixes)
- Updated rich to 14.3.3 (security fixes)
- Updated typer to 0.24.1 (security fixes)
- Updated tabulate to 0.10.0 (security fixes)
- Updated colorama to 0.4.6 (security fixes)
- Updated keyring to 25.7.0 (security fixes)
- Updated orjson to 3.11.8 (security fixes)
- Updated msgpack to 1.1.2 (security fixes)
- Updated python-multipart to 0.0.24 (security fixes)
- Updated python-dateutil to 2.9.0 (security fixes)
- Updated pytz to 2026.1 (security fixes)
- Updated schedule to 1.2.2 (security fixes)
- Updated psutil to 6.1.0 (security fixes)
- Updated torch to 2.11.0 (security fixes)
- Updated torchvision to 0.26.0 (security fixes)
2026-04-09 20:12:09 +02:00
aitbc
3e01754b36 Merge remote changes with P2P mempool sync fix
Some checks failed
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
2026-04-09 14:19:27 +02:00
aitbc
da05c5f50f Fix P2P mempool sync after git merge - restore mempool sync loop task and fix indentation 2026-04-09 14:17:31 +02:00
aitbc1
bc0e17cf73 Merge branch 'main' of http://gitea.bubuit.net:3000/oib/aitbc 2026-04-09 14:15:05 +02:00
aitbc1
88db347df8 Add P2P mempool sync and cleanup legacy services 2026-04-09 14:15:00 +02:00
aitbc
ca7da25b9d feat: add mempool initialization to P2P service and increase sync frequency
Some checks failed
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
- Added mempool initialization in main() using settings configuration
- Added support for database backend with mempool.db path resolution
- Added debug logging for mempool sync loop iteration with transaction count
- Reduced mempool sync interval from 2 seconds to 1 second for faster propagation
- Fixed indentation in mempool sync loop transaction iteration
2026-04-09 14:13:59 +02:00
aitbc
96fe4ca9af feat: add mempool synchronization background task to P2P network service
Some checks failed
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled
- Added mempool_sync_loop background task initialization in start() method
- Registered mempool task in _background_tasks list for lifecycle management
- Enables automatic mempool synchronization across P2P mesh network
2026-04-09 14:05:54 +02:00