Initial commit

This commit is contained in:
Andrew Stone
2019-12-12 23:11:10 -05:00
commit 739644595b
45 changed files with 994 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
The block header appears in several P2P messages. It's serialization format is as follows:
| 4 bytes | 32 bytes | 32 bytes | 4 bytes | 4 bytes | 4 bytes
|----|---------------|-----------|------------|---------|------
| version | hash of previous block | hash of merkle root | block time in epoch seconds | difficulty in "bits" format | nonce