17 Commits

Author SHA1 Message Date
Mark Spanbroek
2ac173f87c Update to questionable 0.5.0 2021-04-12 16:29:44 +02:00
Mark Spanbroek
f7d06a995b Rename: PrivateKey -> EthPrivateKey, PublicKey -> EthPublicKey 2021-04-07 09:15:26 +02:00
Mark Spanbroek
b05d4e2e72 Do not expose secp256k1 api 2021-04-06 14:00:10 +02:00
Mark Spanbroek
9e16807145 Use upraises for exception tracking 2021-04-06 11:44:33 +02:00
Mark Spanbroek
cbc69a69e6 Fix compilation errors with Nim 1.2.6 2021-03-17 15:34:55 +01:00
Mark Spanbroek
9efcf21722 Use func where possible 2021-03-17 12:22:00 +01:00
Mark Spanbroek
48e27a9bd1 Verify signatures 2021-03-16 10:19:13 +01:00
Mark Spanbroek
c680d34a18 Recover ethereum address from signature 2021-03-15 17:36:16 +01:00
Mark Spanbroek
c824a3edd1 Update to latest version of questionable 2021-03-15 11:23:02 +01:00
Mark Spanbroek
405ba8efd4 Add == operator for Outcomes 2021-03-09 16:49:16 +01:00
Mark Spanbroek
a945698ec6 Add convenience initializer to Outcome 2021-03-09 16:48:47 +01:00
Mark Spanbroek
b758751211 Add Destination (abstraction for either channel id or eth address) 2021-03-09 14:02:01 +01:00
Mark Spanbroek
c87ed22036 Extract public/private key logic into separate module 2021-03-09 13:16:54 +01:00
Mark Spanbroek
63b9b5452f Rename: Channel -> ChannelDefinition
To avoid name clash with upcoming channel abstraction
in the wallet.
2021-03-09 12:41:51 +01:00
Mark Spanbroek
f7dda63c04 Move common imports into a "basics" module 2021-03-09 11:07:35 +01:00
Mark Spanbroek
4afe88965c Use questionable library for handling Option and Result 2021-03-09 09:37:27 +01:00
Mark Spanbroek
2e9896c13a Move everything into nitro/protocol 2021-03-04 11:30:32 +01:00