Commit Graph

143 Commits

Author SHA1 Message Date
J. Ayo Akinyele 92f5d25150 Clean up crates and imports 2019-11-18 23:11:50 -05:00
Gijs Van Laer 75bb446cdf cleanup of warnings and imports 2019-10-18 11:07:03 -04:00
Gijs Van Laer d6a131eedf Merge branch 'master' into channelid 2019-10-17 18:48:20 -04:00
Gijs Van Laer 25445b974e channelid: fix serialization from go and python 2019-10-17 18:44:05 -04:00
Gijs Van Laer 8b6a520c99 channelid: clean up serialization libraries 2019-10-17 18:01:41 -04:00
J. Ayo Akinyele b245690aa9 clean up 2019-10-17 15:58:38 -04:00
J. Ayo Akinyele 8804884979 remove sodium as a dep 2019-10-17 15:48:31 -04:00
Gijs Van Laer 1b640f0ca9 intermediare: update_merchant_state after verifying multiple revoke tokens 2019-10-10 14:45:33 -04:00
Gijs Van Laer 34594fb776 intermediary: fix verifying multiple payment proofs + add verifying multiple revoke tokens 2019-10-10 14:39:43 -04:00
J. Ayo Akinyele 6622e4cbf4 adding routines for intermediaries 2019-10-04 10:32:49 -04:00
Gijs Van Laer 576de0beb6 i64: change values to i64 and update range proof params 2019-09-27 13:02:31 -04:00
J. Ayo Akinyele fa2ba7c6ed Sync Rust bolt api with Go 2019-09-16 15:27:17 -04:00
J. Ayo Akinyele 8672fdb40b Cleaning up warnings in addition to establish interface and c/py/go bindings 2019-09-16 11:58:15 -04:00
Gijs Van Laer c14ed7bad9 nizk: optimize commitment proof partial reveal 2019-09-13 16:16:35 -04:00
J. Ayo Akinyele 105ce6f59a Clean up deps 2019-09-12 10:12:23 -04:00
Gijs Van Laer 3019ad28c9 nizk: fix rebase issues 2019-09-10 22:35:31 -04:00
Gijs Van Laer 8a52a76ce4 nizk: split secret and public params 2019-09-10 22:24:50 -04:00
J. Ayo Akinyele 70a5a29d24 beginnings of third-party support 2019-09-10 13:11:31 -04:00
J. Ayo Akinyele 7d92625c14 Add better error handling for verify_revoke_token() and more tests 2019-09-06 04:45:47 +02:00
J. Ayo Akinyele cb44a31529 More clean up 2019-09-02 22:44:17 +02:00
J. Ayo Akinyele 2a6a7a30ed Better error handling for deserializing objects in ffi to c 2019-09-02 12:00:00 +02:00
Gijs Van Laer cc921e5786 nizk: extract proof of knowledge of a commitment 2019-08-27 16:58:30 -04:00
J. Ayo Akinyele c947a446ea Additional verification to establish prior to issuing close token 2019-08-27 09:56:02 -04:00
J. Ayo Akinyele 3c0f087ff6 Add wtp logic 2019-08-26 11:08:49 -04:00
J. Ayo Akinyele e36ad50857 More cleanup 2019-08-23 00:50:41 -04:00
J. Ayo Akinyele 523121fcdc Extend bolt interface with beginnings of wtp logic for on-chain tx
validation
2019-08-22 20:52:25 -04:00
J. Ayo Akinyele 68ed3a0711 Clean up merchant close and more tests 2019-08-20 19:09:01 -04:00
J. Ayo Akinyele 498263a9cc Add partial reveal for NIZK during establish and unit tests for commit opening 2019-08-19 18:29:26 -04:00
J. Ayo Akinyele aaaccaeba0 More clean up and renaming structs for cust/merch 2019-08-16 12:29:01 -04:00
J. Ayo Akinyele adb38c0efd Clean up 2019-08-12 23:45:57 -04:00
J. Ayo Akinyele 973265508d Rename customer_refund to customer_close 2019-08-12 13:30:42 -04:00
J. Ayo Akinyele d465dcd630 More clean up and better error handling 2019-08-11 05:48:46 -04:00
J. Ayo Akinyele 0421d00f5e More updates and clean up 2019-08-11 03:36:41 -04:00
J. Ayo Akinyele ede04922be More updates to error handling 2019-08-08 02:57:15 -07:00
J. Ayo Akinyele 180504e7ae Add error handling to channel utils 2019-08-08 02:52:52 -07:00
J. Ayo Akinyele beb367acbb Updates to ffishim and adding updated py example 2019-07-31 22:31:10 -04:00
J. Ayo Akinyele 15b0dfd729 Updates to ffishim, serialization routines and clean up 2019-07-31 22:06:57 -04:00
J. Ayo Akinyele 6f31940052 More updates 2019-07-30 17:25:27 -04:00
J. Ayo Akinyele ddc37fb9df cleaning up tests for libbolt 2019-07-30 01:37:32 -04:00
J. Ayo Akinyele 9cf6d734b4 wip ffishim and adding tests for libbolt 2019-07-30 00:53:58 -04:00
J. Ayo Akinyele be2dc562cd Adding serde support to cl structs 2019-07-29 17:13:40 -04:00
J. Ayo Akinyele 1c91cf03fe new libbolt interface with fixes and improvements to internal state management 2019-07-29 01:18:40 -04:00
J. Ayo Akinyele 2cd297ce00 fix channels pub mod 2019-07-28 03:14:06 -04:00
J. Ayo Akinyele 424a693b95 more updates to channel core utils 2019-07-27 15:09:03 -04:00
J. Ayo Akinyele 2848ced5d1 minor updates to channel establish routines for cust/merch 2019-07-23 09:54:53 -04:00
Gijs Van Laer 6572e6a90b Merge branch 'master' into nizk 2019-07-19 16:27:44 -04:00
J. Ayo Akinyele 79d1e25b4d reimplementing channel guts - almost done 2019-07-19 16:26:05 -04:00
Gijs Van Laer 8a26602c50 nizk: replace balances with i32 instead of Fr 2019-07-12 17:20:08 -04:00
Gijs Van Laer eb5827a4d7 Merge branch 'master' into nizk 2019-07-08 16:54:35 -04:00
J. Ayo Akinyele 4df0b05afb Remove serde hacks for rust-secp256k1 (now available as a feature upstream) 2019-07-07 18:09:26 -04:00