Some checks failed
Blockchain Synchronization Verification / sync-verification (push) Successful in 4s
Documentation Validation / validate-docs (push) Successful in 12s
Documentation Validation / validate-policies-strict (push) Successful in 3s
Integration Tests / test-service-integration (push) Failing after 12s
Multi-Node Blockchain Health Monitoring / health-check (push) Successful in 3s
P2P Network Verification / p2p-verification (push) Successful in 2s
Python Tests / test-python (push) Successful in 10s
Security Scanning / security-scan (push) Successful in 31s
- Add status fields to Receipt model (status, claimed_at, claimed_by) - Add RECEIPT_CLAIM handling to state_transition.py with validation and reward minting - Add type field to Transaction model for reliable transaction type storage - Update router to use TransactionRequest model to preserve type field - Update poa.py to extract type from mempool transaction content and store only original payload - Add RECEIPT_CLAIM to GasType enum with gas schedule
56 lines
1.9 KiB
Plaintext
56 lines
1.9 KiB
Plaintext
# AITBC Node-Specific Environment Configuration Template
|
|
# Copy this file to /etc/aitbc/node.env and customize for each node
|
|
# This file contains variables unique to each node - DO NOT share across nodes
|
|
|
|
# =========================
|
|
# Node Identity
|
|
# =========================
|
|
# Unique identifier for this node (must be different for each node)
|
|
NODE_ID=node-<unique-uuid-here>
|
|
|
|
# =========================
|
|
# P2P Configuration
|
|
# =========================
|
|
# P2P node identity (must be unique for each node)
|
|
# Auto-generated by setup.sh, or generate manually: node-$(uuidgen | tr -d '-')
|
|
p2p_node_id=node-<unique-uuid-here>
|
|
|
|
# Proposer ID (PoA authority/block proposer)
|
|
# Each node should have its own unique proposer_id
|
|
# Auto-generated by setup.sh, or generate manually: ait1$(uuidgen | tr -d '-')
|
|
proposer_id=ait1<unique-uuid-here>
|
|
|
|
# Set false on follower/non-proposer nodes
|
|
# enable_block_production=false
|
|
|
|
# P2P Peers (comma-separated list of peer nodes)
|
|
# List other nodes in the network that this node should connect to
|
|
# Format: hostname:port (e.g., "aitbc1:7070,aitbc2:7070")
|
|
p2p_peers=aitbc1:7070
|
|
|
|
# =========================
|
|
# Trusted Propers
|
|
# =========================
|
|
# For follower nodes - list of trusted proposer addresses
|
|
# Leave empty for proposer nodes
|
|
trusted_proposers=
|
|
|
|
# =========================
|
|
# Node-Specific Host Bindings (optional)
|
|
# =========================
|
|
# Override default host bindings if needed for this specific node
|
|
# NODE_HOST=0.0.0.0
|
|
# NODE_PORT=7070
|
|
|
|
# =========================
|
|
# Setup Instructions
|
|
# =========================
|
|
# 1. Copy this template: cp /opt/aitbc/examples/node.env.example /etc/aitbc/node.env
|
|
# 2. Edit /etc/aitbc/node.env and set unique values for:
|
|
# - NODE_ID (unique per node)
|
|
# - p2p_node_id (unique per node)
|
|
# - proposer_id (unique per node)
|
|
# - p2p_peers (list other nodes in network)
|
|
# 3. Restart services: systemctl restart aitbc-blockchain-p2p
|
|
# 4. Verify connectivity: journalctl -fu aitbc-blockchain-p2p
|