Commit Graph

24 Commits

Author SHA1 Message Date
Mark Spanbroek 9208af338f Introduce acknowledgements 2021-06-30 17:18:19 +02:00
Mark Spanbroek 1db30e9ee7 Rename TxHash to Hash and move into its own module
Reason: we'll need hashes for more than just transactions
2021-06-30 17:09:01 +02:00
Mark Spanbroek 2b51646c8f Include validator in transaction hash 2021-06-30 14:19:29 +02:00
Mark Spanbroek b0b40d3829 Change Transaction.example to ensure uniqueness 2021-06-30 14:19:29 +02:00
Mark Spanbroek c054636381 Add validator to transactions 2021-06-30 13:49:55 +02:00
Mark Spanbroek 96908b01b5 Rename TxOutput.amount -> TxOutput.value 2021-06-30 12:37:33 +02:00
Mark Spanbroek a7ef3b6b34 Speed up tests 2021-06-30 11:26:27 +02:00
Mark Spanbroek e17c7cfedc Transaction validation 2021-06-30 11:23:04 +02:00
Mark Spanbroek 44c4bb56a2 Add transaction store 2021-06-30 11:22:28 +02:00
Mark Spanbroek f35395bf3b Introduce example keys and genesis for Alice en Bob 2021-06-29 17:10:30 +02:00
Mark Spanbroek 7fac1c9c94 Simplify imports 2021-06-29 15:24:11 +02:00
Mark Spanbroek 5194a88f2f Add Wallet 2021-06-29 15:18:41 +02:00
Mark Spanbroek b0babf9962 Add convenience method for signing transaction 2021-06-29 15:17:53 +02:00
Mark Spanbroek 1a0a96705b Check transaction signature 2021-06-29 15:10:03 +02:00
Mark Spanbroek f65ad13904 Check validity of outputs when initializing Transaction 2021-06-29 11:00:40 +02:00
Mark Spanbroek cc353875c8 Add signatures to transaction 2021-06-28 17:08:05 +02:00
Mark Spanbroek 14d7abd451 Aggregation of public keys and signatures 2021-06-28 16:57:50 +02:00
Mark Spanbroek 5661469aee Transactions 2021-06-28 15:10:40 +02:00
Mark Spanbroek 2fbf826655 Add examples to simplify tests requiring keys 2021-06-28 14:03:48 +02:00
Mark Spanbroek 1257b42a65 Conversion of public key to bytes 2021-06-28 12:55:12 +02:00
Mark Spanbroek 483d60707f Use func where possible 2021-06-28 10:15:03 +02:00
Mark Spanbroek b28954e75c Add BLS signatures 2021-06-28 10:10:15 +02:00
Mark Spanbroek 6c5113e08a Introduce BLS based keys 2021-06-24 14:43:17 +02:00
Mark Spanbroek 0342502830 Boilerplate 2021-06-24 07:11:43 +02:00