How tari-project/tari works
High-Level Architecture Components
a) Core Protocol Layer:
• Base Node (Blockchain)
• Mempool
• Consensus Engine
• Transaction Processing
• Proof of Work (SHA3 and RandomX/Monero merge mining)
b) Network Layer:
• P2P Communication
• DHT (Distributed Hash Table)
• Tor Integration
• gRPC Services
c) Wallet Layer:
• Console Wallet
• Key Management
• Transaction Services
• Output Management
d) Mining Components:
• SHA3 Miner
• Merge Mining Proxy
• Integration with XMRig
Component Relationships
Key interactions:
Base Node <-> P2P Network <-> Other Nodes
• ↑ ↑
Wallet Services Mempool
• ↑ ↑
Console Wallet Miners
Specific Implementation Details
Technical elements:
• gRPC interfaces between components
• Tor transport layer
• Database backends (LMDB, SQLite)
• Cryptographic components (RandomX, SHA3)
• MMR (Merkle Mountain Range) structures
Key Subsystems to Highlight
Detail these critical subsystems:
a) Mining Infrastructure:
SHA3 Miner -> Base Node
Merge Mining Proxy -> Monero Network
• > Tari Network
b) Wallet Architecture:
Console Wallet -> Key Manager
• > Output Manager
• > Transaction Service
c) Network Communication:
Tor Transport -> P2P Layer -> DHT
• > gRPC Services