You've already forked specification
wiki commit
This commit is contained in:
committed by
buwiki
parent
003322135b
commit
d5f2a3ed9a
@@ -39,8 +39,8 @@
|
|||||||
- Legacy (Base 58)
|
- Legacy (Base 58)
|
||||||
- Bech32
|
- Bech32
|
||||||
- Cash Address
|
- Cash Address
|
||||||
- Proof of Work
|
- [Proof of Work](/protocol/blockchain/proof-of-work)
|
||||||
- Difficulty Adjustment Algorithm
|
- [Difficulty Adjustment Algorithm](/protocol/blockchain/proof-of-work/difficulty-adjustment-algorithm)
|
||||||
- Legacy DAA
|
- Legacy DAA
|
||||||
- Emergency DAA
|
- Emergency DAA
|
||||||
- BCH Adaptive DAA
|
- BCH Adaptive DAA
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ With a block header, you can:
|
|||||||
|
|
||||||
1. Calculate the hash of the block.
|
1. Calculate the hash of the block.
|
||||||
- The double SHA-256 hash of the block header.
|
- The double SHA-256 hash of the block header.
|
||||||
2. Confirm the proof of work was executed correctly.
|
2. Confirm the [proof of work](/protocol/blockchain/proof-of-work) was executed correctly.
|
||||||
- See [Difficulty Adjustment Algorithm](/protocol/blockchain/proof-of-work/difficulty-adjustment-algorithm) for more details.
|
- See [Difficulty Adjustment Algorithm](/protocol/blockchain/proof-of-work/difficulty-adjustment-algorithm) for more details.
|
||||||
3. Determine the relative location of the block in the blockchain.
|
3. Determine the relative location of the block in the blockchain.
|
||||||
- Using the previous block hash contained in the header
|
- Using the previous block hash contained in the header
|
||||||
@@ -27,7 +27,7 @@ Since validation of all the transactions in the block can be expensive, the abil
|
|||||||
### Difficulty Target Encoding
|
### Difficulty Target Encoding
|
||||||
|
|
||||||
Within the block header, the difficulty target uses a special floating-point representation that helps keep the size of the block header small.
|
Within the block header, the difficulty target uses a special floating-point representation that helps keep the size of the block header small.
|
||||||
While the [Difficulty Adjustment Algorithm](/protocol/blockchain/proof-of-work/difficulty-adjustment-algorithm) attempts to calculate the ideal target (i.e. the value the block hash must be "less than"), it undergoes a lossy conversion when put in the block header:
|
While the difficulty adjustment algorithm attempts to calculate the ideal target (i.e. the value the block hash must be "less than"), it undergoes a lossy conversion when put in the block header:
|
||||||
|
|
||||||
| Field | Length | Format | Description |
|
| Field | Length | Format | Description |
|
||||||
|--|--|--|--|
|
|--|--|--|--|
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
# Proof of Work
|
||||||
|
|
||||||
Reference in New Issue
Block a user