Commit Graph

24 Commits

Author SHA1 Message Date
Ivan Kuznetsov 0c91da0e52 Wallet file name must depend on node ID 2017-10-01 10:48:51 +07:00
Ivan Kuznetsov 9b9b571028 Fill coinbase transaction data with random bytes 2017-09-19 15:47:03 +07:00
Ivan Kuznetsov 3e491be4d7 Use the UTXO set to send coins 2017-09-17 11:49:59 +07:00
Ivan Kuznetsov a6394c7afa Fix PubKey resetting 2017-09-12 21:10:18 +07:00
Ivan Kuznetsov b6f7626a13 Fix Signature resetting 2017-09-12 21:09:13 +07:00
Ivan Kuznetsov c0b4d6d107 Improve the printchain command 2017-09-10 14:31:01 +07:00
Ivan Kuznetsov 7b6d5695d3 Fix some initializations 2017-09-10 14:11:21 +07:00
Ivan Kuznetsov bf8c5d22e1 Store input sig and key in different fields; rename TXInput.ScriptPubKey to PubKeyHash 2017-09-10 14:05:23 +07:00
Ivan Kuznetsov 7290aaac64 Use Hash funcion to set transaction ID 2017-09-10 13:34:47 +07:00
Ivan Kuznetsov 942120679b Clean up block.go; rework transaction hashing 2017-09-10 12:02:46 +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 7e8c88867d Implement Transaction.Sign and Transaction.Verify 2017-09-08 21:29:34 +07:00
Ivan Kuznetsov 92be537fcd Use public key in transactions 2017-09-08 11:31:34 +07:00
Ivan Kuznetsov e6eed1105f Fix Transaction.SetID 2017-09-08 10:09:04 +07:00
Ivan Kuznetsov 6b400109e9 In the 'printchain' command, print transactions as well 2017-09-08 10:06:19 +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 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 95d3f69363 Implement Blockchain.FindUTXOs 2017-09-03 10:41:45 +07:00
Ivan Kuznetsov 08a211be41 Integrate transactions into the blockchain 2017-09-03 09:45:49 +07:00
Ivan Kuznetsov 2ba0f1bfdd Implement transactions 2017-09-03 09:20:47 +07:00