Commit Graph

342 Commits

Author SHA1 Message Date
J. Ayo Akinyele adb38c0efd Clean up 2019-08-12 23:45:57 -04:00
J. Ayo Akinyele c5c475dfe6 Clean up 2019-08-12 22:47:21 -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 628c167748
Merge pull request #10 from boltlabs-inc/nizk
Nizk updates
2019-08-09 07:31:07 -07:00
Gijs Van Laer 95122147b4 nizk: make range proof independent + check for identity + partial reveal 2019-08-08 16:21:01 +02:00
Gijs Van Laer 4a478cb19f nizk: fix for negative epsilon 2019-08-08 14:41:59 +02: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 afef20dc4f Clean up comments 2019-07-31 23:11:02 -04: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 0636409640 remove channels.rs 2019-07-28 03:12:13 -04:00
J. Ayo Akinyele 3c456d003a updates to channel utils 2019-07-28 02:37:24 -04:00
J. Ayo Akinyele 424a693b95 more updates to channel core utils 2019-07-27 15:09:03 -04:00
J. Ayo Akinyele 1b1ba22699 adding payment api to customer wallet 2019-07-26 04:18:54 -04:00
J. Ayo Akinyele 783dcea35b close and pay tokens now generated and verified correctly 2019-07-25 20:39:36 -04:00
J. Ayo Akinyele 25d5354e93
Merge pull request #9 from boltlabs-inc/nizk
Nizk updates to suport variable-sized messages
2019-07-24 17:22:51 -04:00
Gijs Van Laer 8d47463550 nizk: fix for closing message 2019-07-24 17:13:56 -04:00
Gijs Van Laer bd7d381528 Merge branch 'nizk' of github.com:boltlabs-inc/libbolt into nizk 2019-07-23 16:30:15 -04:00
Gijs Van Laer db71866b2c nizk: update proof of linear relationship 2019-07-23 16:29:45 -04:00
J. Ayo Akinyele b0fa32f533 more minor updates 2019-07-23 14:19:56 -04:00
Gijs Van Laer 69b1d01dbf nizk: update proof of linear relationship 2019-07-23 14:08:19 -04:00
J. Ayo Akinyele 2848ced5d1 minor updates to channel establish routines for cust/merch 2019-07-23 09:54:53 -04:00
J. Ayo Akinyele e7160f0f68
Merge pull request #8 from boltlabs-inc/nizk
Nizk completion
2019-07-21 17:41:05 -04:00
Gijs Van Laer 9aaec97e3e nizk: better u param for range proofs/TODO: optimize 2019-07-21 15:13:18 -04:00
Gijs Van Laer 51ada703ed nizk: reuse randomness for same values within different parts of proof 2019-07-21 14:55:38 -04:00
J. Ayo Akinyele ddbae8980e
Merge pull request #7 from boltlabs-inc/nizk
Nizk updates
2019-07-21 11:07:47 -04:00
Gijs Van Laer 20650bc7b0 nizk: pass optional random values for signature commitment 2019-07-21 11:02:36 -04:00
Gijs Van Laer 2e5d0d5a29 Merge branch 'master' into nizk 2019-07-21 10:07:59 -04:00
Gijs Van Laer e79d4bbed2 nizk: create setup phase 2019-07-21 10:05:27 -04:00
J. Ayo Akinyele 5a72d92897 updates to channel init 2019-07-21 10:01:05 -04:00
Gijs Van Laer 6572e6a90b Merge branch 'master' into nizk 2019-07-19 16:27:44 -04:00
Gijs Van Laer e0f82b28a6 nizk: i32 instead of i64 2019-07-19 16:27:15 -04:00
J. Ayo Akinyele 79d1e25b4d reimplementing channel guts - almost done 2019-07-19 16:26:05 -04:00
Gijs Van Laer 48980fd64c nizk: add commitments of range proof to challenge hash 2019-07-19 15:19:28 -04:00
Gijs Van Laer 761332e35d nizk: range proof over larger commitments + add range proof to nizk 2019-07-19 15:04:56 -04:00
Gijs Van Laer 0aabbb1b78 nizk: integrate range proof - part1 2019-07-12 19:52:16 -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 4c4e96fe4f nizk: split prove commit and response phase of CCS08 2019-07-12 16:43:48 -04:00
Gijs Van Laer 2c981ece8f nizk: extract commitment from range proof as a parameter 2019-07-12 14:15:00 -04:00
Gijs Van Laer 2fa95343f6 nizk: cleanup method + compute challenge during verification 2019-07-12 11:01:40 -04:00
Gijs Van Laer fa69707614 nizk: flip commitment to group 1 2019-07-12 10:46:25 -04:00