# Algorithm and Difficulty Adjustment

CKB uses the NC-MAX consensus, an advancement of the Nakamoto consensus, with the independently developed mining algorithm, Eaglesong.

Introductions to the Eaglesong algorithm:

- Introducing Eaglesong, Nervosâ€™s New Hash Function for CKB Proof-of-Work
- Nervos RFC 0010 Eaglesong
- Rust Library on Github

Mining difficulty adjusts with each Epoch, approximately every 4 hours. The adjustment covers:

- Current block time adjustment range: 8s ~ 48s
- Target uncle block rate: 2.5%