Ivan Kuznetsov
|
57f3680551
|
Blockchain file name must depend on node ID
|
2017-10-01 10:42:34 +07:00 |
Ivan Kuznetsov
|
47737a28af
|
FindAllUTXO → FindUTXO
|
2017-09-17 12:44:43 +07:00 |
Ivan Kuznetsov
|
99d1134beb
|
Update the UTXO set after mining a new block
|
2017-09-17 12:21:24 +07:00 |
Ivan Kuznetsov
|
3e491be4d7
|
Use the UTXO set to send coins
|
2017-09-17 11:49:59 +07:00 |
Ivan Kuznetsov
|
0b7d2ac63f
|
Remove Blockchain.FindUTXO
|
2017-09-17 11:33:58 +07:00 |
Ivan Kuznetsov
|
cb78220abb
|
Remove the 'address' argument from NewBlockchain, since it's not used anymore
|
2017-09-17 10:43:23 +07:00 |
Ivan Kuznetsov
|
01b9dd2eab
|
Implement Blockchain.FindAllUTXO
|
2017-09-17 10:04:28 +07:00 |
Ivan Kuznetsov
|
56ccd7c8ca
|
Implement rewards
|
2017-09-17 09:16:50 +07:00 |
Ivan Kuznetsov
|
bb70b4924b
|
Clean up blockchain.go; improve TXInput and TXOutput
|
2017-09-10 12:45:15 +07:00 |
Ivan Kuznetsov
|
fc0c819c43
|
Extract some structs into separate files
|
2017-09-10 10:54:58 +07:00 |
Ivan Kuznetsov
|
2ce04f8f59
|
Implement transactions signing and verification
|
2017-09-10 10:34:39 +07:00 |
Ivan Kuznetsov
|
92be537fcd
|
Use public key in transactions
|
2017-09-08 11:31:34 +07:00 |
Ivan Kuznetsov
|
d107d924a8
|
Final fixes
|
2017-09-05 21:35:45 +07:00 |
Ivan Kuznetsov
|
e89846d490
|
Rework UTXO related functions
|
2017-09-05 14:33:33 +07:00 |
Ivan Kuznetsov
|
f4ae5168b0
|
Minor improvements
|
2017-09-05 12:26:29 +07:00 |
Ivan Kuznetsov
|
c748768da2
|
genesisCoinbase → genesisCoinbaseData
|
2017-09-05 11:34:47 +07:00 |
Ivan Kuznetsov
|
32dd771eef
|
Rename Transaction.GetHash to SetID; add Transaction.ID field
|
2017-09-04 11:32:24 +07:00 |
Ivan Kuznetsov
|
326ecb828c
|
Rename TXInput.LockedBy and TXOutput.Unlock methods
|
2017-09-04 11:26:30 +07:00 |
Ivan Kuznetsov
|
78dbfc69b6
|
Minor improvements
|
2017-09-04 11:02:24 +07:00 |
Ivan Kuznetsov
|
6388b20f32
|
Fix unspent transactions finding
|
2017-09-03 11:35:36 +07:00 |
Ivan Kuznetsov
|
751d791399
|
Implement 'createblockchain' command
|
2017-09-03 11:17:10 +07:00 |
Ivan Kuznetsov
|
f83ccd7b4c
|
Rework Blockchain.FindUTXOs
|
2017-09-03 11:01:02 +07:00 |
Ivan Kuznetsov
|
95d3f69363
|
Implement Blockchain.FindUTXOs
|
2017-09-03 10:41:45 +07:00 |
Ivan Kuznetsov
|
46a1654c5a
|
Fix blocks adding to the blockchain
|
2017-09-03 09:56:43 +07:00 |
Ivan Kuznetsov
|
08a211be41
|
Integrate transactions into the blockchain
|
2017-09-03 09:45:49 +07:00 |
Ivan Kuznetsov
|
54b6c07b6c
|
Add an information print when there's no blockchain
|
2017-08-29 16:27:33 +07:00 |
Ivan Kuznetsov
|
a93e1e96c9
|
Store a DB connection in Blockchain
|
2017-08-28 16:28:23 +07:00 |
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
|
469281645c
|
Use NewBlock in Blockchain.AddBlock
|
2017-08-16 13:55:18 +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 |