> For the complete documentation index, see [llms.txt](https://docs.dozer.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dozer.finance/protocol/consensus.md).

# Consensus Mechanism

## Overview

Dozer Finance utilizes Hathor Network's innovative consensus mechanism, combining Bitcoin's proven security through merged mining with efficient DAG-based transaction processing. This hybrid approach ensures both security and performance.

## Core Components

### Merged Mining

Through integration with Bitcoin's network, our consensus mechanism inherits robust security while maintaining energy efficiency. This approach provides strong network protection without requiring additional energy expenditure.

### Transaction Processing

The consensus process begins with basic verification, including format validation and signature verification. Network-wide agreement is achieved through consistent application of consensus rules and efficient state transition validation.

## Transaction Ordering

### Block Hash Entropy

Our system implements a unique ordering mechanism based on block hash entropy. This ensures that transaction ordering is both random and deterministic, providing natural protection against MEV exploitation while maintaining predictable finality.

### Settlement Process

Transaction settlement occurs immediately upon validation. The system updates states in real-time and propagates confirmations across the network, ensuring consistent and rapid finalization.

## Security Features

### Network Protection

The integration with Bitcoin's hashpower provides fundamental security against network attacks. This protection is enhanced by distributed validation processes and comprehensive double-spend prevention mechanisms.

### Consensus Guarantees

Our consensus mechanism ensures network-wide agreement on transaction ordering and state transitions. This maintains consistent data integrity and transaction immutability across the network.

## Performance Characteristics

The system achieves instant finality through efficient parallel processing and quick validation. This performance scales linearly with network growth while maintaining resource efficiency.

## Implementation Details

### Node Operations

Nodes maintain network consensus through continuous validation of transactions and blocks. This process includes comprehensive state verification and adherence to network consensus rules.

### System Requirements

The consensus mechanism operates efficiently on standard hardware configurations, requiring only basic processing power and regular network connectivity.

## Future Development

### Ongoing Research

Our team continuously researches potential improvements to the consensus mechanism. Focus areas include enhanced efficiency, increased throughput, and expanded feature sets while maintaining security standards.

### Development Areas

Future improvements will target:

1. Enhanced transaction processing efficiency
2. Improved scalability mechanisms
3. Advanced security features
4. Optimized resource utilization
