From 9bf964ee6985cb86b5cd49e334b2e07710002b6f Mon Sep 17 00:00:00 2001 From: 1HXb9KMAtwNJqz4egi6hJx08EQgJajiBTH <1HXb9KMAtwNJqz4egi6hJx08EQgJajiBTH@reference.cash> Date: Thu, 2 Jan 2020 14:18:09 -0500 Subject: [PATCH] wiki commit --- home.md | 6 +++--- protocol/blockchain/proof-of-work.md | 13 +++++++++++++ 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/home.md b/home.md index 8f41d38..d20c18b 100644 --- a/home.md +++ b/home.md @@ -44,9 +44,9 @@ - Legacy DAA - Emergency DAA - BCH Adaptive DAA - - Mining - - Stratum Protocol - - Mining Pools + - Mining + - Stratum Protocol + - Mining Pools - Forks - Bip-16 - [Bip-34](/protocol/forks/bip-0034) diff --git a/protocol/blockchain/proof-of-work.md b/protocol/blockchain/proof-of-work.md index 441c6c1..0c04980 100644 --- a/protocol/blockchain/proof-of-work.md +++ b/protocol/blockchain/proof-of-work.md @@ -1,2 +1,15 @@ # Proof of Work +Bitcoin Cash uses a [hashcash](https://en.wikipedia.org/wiki/Hashcash)-like algorithm as a primary metric for validating new blocks. +The [block header](/protocol/blockchain/block/block-header) is hashed, its nonce is changed, and it is hashed again, until the resulting hash begins with an expected number of zero-bits. +This repeated hashing with an updated nonce is referred to as mining. +For more information on how the number of zero-bits required is determined, see [Difficulty Adjustment Algorithm](/protocol/blockchain/proof-of-work/difficulty-adjustment-algorithm). +For more information on how mining is performed in practice, see [Mining](/protocol/blockchain/proof-of-work/mining). + +Because SHA-256 is used to hash block headers, and it is not known how to find a input matching a certain output format, the proof-of-work system employed by Bitcoin Cash distributes the following quasi-randomly to the individual that successfully creates a block that meets the proof-of-work requirements: + + 1. The responsibility of determining which transactions will appear in the block. + 2. The receipt of the block reward for the block. + 3. The receipt of the fees for the block. + +This is only quasi-random because the likelihood of building a block with an appropriate hash is directly proportional to the computational power (often referred to as hashing power), available to each individual mining blocks. \ No newline at end of file