Ivan Kuznetsov
|
e6cf54a124
|
Refactor NewBlockchain
|
2017-08-28 16:16:45 +07:00 |
Ivan Kuznetsov
|
fdccadfb63
|
Implement DB persistence
|
2017-08-28 13:57:27 +07:00 |
Ivan Kuznetsov
|
85022254ec
|
Implement serialization and deserialization of a block
|
2017-08-28 12:11:51 +07:00 |
Ivan Kuznetsov
|
56cb2de106
|
Add README
|
2017-08-27 08:17:57 +07:00 |
Ivan Kuznetsov
|
fec88e3443
|
Remove a comment
|
2017-08-24 12:20:43 +07:00 |
Ivan Kuznetsov
|
2a9385dd5b
|
Rename ConfirmProof function to Validate
|
2017-08-24 10:35:14 +07:00 |
Ivan Kuznetsov
|
d379fdeae2
|
Simplify 'target'
|
2017-08-22 17:26:12 +07:00 |
Ivan Kuznetsov
|
f94bbb4451
|
Improve ConfirmProof and print it out in main()
|
2017-08-22 11:41:15 +07:00 |
Ivan Kuznetsov
|
35449eb8a6
|
Clean up and refactor proofofwork.go
|
2017-08-21 21:06:52 +07:00 |
Ivan Kuznetsov
|
94f3654c8b
|
Output mining progress
|
2017-08-21 20:51:17 +07:00 |
Ivan Kuznetsov
|
0f23d64aa0
|
Implement Proof-of-Work
|
2017-08-21 17:50:41 +07:00 |
Ivan Kuznetsov
|
cc4a2d8b43
|
Fix it!
|
2017-08-17 13:06:42 +07:00 |
Ivan Kuznetsov
|
9104fae035
|
Rename PrevBlock to PrevBlockHash for clarity
|
2017-08-17 13:04:56 +07:00 |
Ivan Kuznetsov
|
6fbf7ac6b4
|
Make the output more verbose
|
2017-08-16 14:20:18 +07:00 |
Ivan Kuznetsov
|
8a720666c7
|
Use empty PrevBlock in the genesis block
|
2017-08-16 14:12:44 +07:00 |
Ivan Kuznetsov
|
469281645c
|
Use NewBlock in Blockchain.AddBlock
|
2017-08-16 13:55:18 +07:00 |
Ivan Kuznetsov
|
6a8b988a61
|
Fix empty byte array initialization
|
2017-08-16 13:10:41 +07:00 |
Ivan Kuznetsov
|
cb8f5303dd
|
Remove a debug print
|
2017-08-16 13:08:07 +07:00 |
Ivan Kuznetsov
|
18fe4a94c9
|
Refactor Block.SetHash
|
2017-08-16 13:07:30 +07:00 |
Ivan Kuznetsov
|
8767cb3528
|
Improve output
|
2017-08-16 12:33:54 +07:00 |
Ivan Kuznetsov
|
53c83d4ad2
|
Capitalize Block.hash
|
2017-08-16 12:33:15 +07:00 |
Ivan Kuznetsov
|
b97fb423a7
|
Extract Block and Blockchain into separate files
|
2017-08-15 14:29:52 +07:00 |
Ivan Kuznetsov
|
23982003a4
|
Implement blockchain as a storage of blocks
|
2017-08-15 14:28:18 +07:00 |
Ivan Kuznetsov
|
822bde77c9
|
Implement basic blocks
|
2017-08-15 14:20:34 +07:00 |
Ivan Kuznetsov
|
6f3810242b
|
Init
|
2017-08-15 14:05:02 +07:00 |