How broxus/tycho works
Core Protocol Layer
• DAG implementation with its subcomponents:
• Anchor stage
• Commit mechanism
• Verifier
• Producer
• TVM execution environment
Network Layer (from /network directory)
• DHT (Distributed Hash Table) component
• Overlay network implementation
• Public overlay
• Private overlay
• Connection management
• Peer-to-peer communication
Storage Layer (from /storage directory)
• Block storage
• State storage
• Internal queue storage
• Mempool storage
• Connections to RocksDB
Collator Component (from /collator directory)
• Execution manager
• Internal queue management
• Mempool handling
• Validator implementation
Core Services (from /core directory)
• Block strider
• Blockchain RPC
• Overlay client
Layer Organization
• In vertical layers: Network → Consensus → Execution → Storage
• Cross-cutting concerns like RPC and CLI interfaces on the sides
Specific details
• DAG consensus flow
• Block processing pipeline
• Validator interaction patterns
• Storage hierarchy