Implement the mining software
This commit is contained in:
@@ -158,7 +158,7 @@ A "block transfer" message is sent back in response to a "block request" message
|
||||
| protocol version = 0 (BE) | 2 |
|
||||
| capable version = 0 (BE) | 2 |
|
||||
| type = 7 (BE) | 1 |
|
||||
| padding (nullbytes) | 220 |
|
||||
| padding (nullbytes) | 252 |
|
||||
|
||||
The node should answer to a "Mining task request" with a "Mining task response"
|
||||
|
||||
@@ -173,6 +173,7 @@ The node should answer to a "Mining task request" with a "Mining task response"
|
||||
| previous hash | 32 |
|
||||
| timestamp (unix time in seconds, BE) | 8 |
|
||||
| difficulty sum (BE) | 32 |
|
||||
| threshold | 32 |
|
||||
|
||||
The node tells the miner "timestamp", "previous hash", "difficulty sum" and "transaction" for the new block.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user