You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
541 B

3 years ago
  1. ---
  2. layout: simple
  3. ---
  4. # block difficulties
  5. we use [hashcash][1] as a mechanism to protect the blockchain from a Sybil Attack.
  6. The difficulty is the number of hexadecimal digit we have to "resolve" in the block hash.
  7. Finding a block hash than match the required difficuly is the "work"
  8. and the hash itself is the [*proof of work*][1].
  9. example: block [Z9Pa9kcag3TBc6EX671u6Zwk7N6M7jTuQ5HPtjzDrpx4f][2] has is matching a difficulty of 4
  10. [1]: /docs/pow.html
  11. [2]: /api/0.0/getblock?hash=Z9Pa9kcag3TBc6EX671u6Zwk7N6M7jTuQ5HPtjzDrpx4f