Commit Graph

313 Commits

Author SHA1 Message Date
J. Ayo Akinyele 2a6a7a30ed Better error handling for deserializing objects in ffi to c 2019-09-02 12:00:00 +02:00
J. Ayo Akinyele 473fadb66a
Merge pull request #12 from boltlabs-inc/nizk
nizk: optimize range proofs
2019-08-30 16:33:35 -04:00
Gijs Van Laer 6c2a7147ae nizk: optimize range proofs 2019-08-30 15:55:59 -04:00
J. Ayo Akinyele 2e57633c84 Update Makefile to simplify python unit tests 2019-08-30 15:00:55 -04:00
J. Ayo Akinyele e90d47b987 Updates to libbolt.h 2019-08-30 15:00:04 -04:00
Gijs Van Laer 527868ec09 fix some warnings 2019-08-30 14:57:21 -04:00
J. Ayo Akinyele 07c7179591 Add compute_id() routine to channel token interface 2019-08-30 01:12:16 -04:00
J. Ayo Akinyele a98ef9b69c Minor updates 2019-08-30 00:22:22 -04:00
J. Ayo Akinyele 4c2905e370
Merge pull request #11 from boltlabs-inc/nizk
Nizk: extract PoK of commitment
2019-08-29 14:12:27 -04:00
J. Ayo Akinyele ef5abccfab Refine ffi interface for python/cpp 2019-08-28 02:17:12 -04:00
Gijs Van Laer 080b3d1d18 nizk: add test 2019-08-27 17:39:40 -04: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 ef3be30ea5 Minor update to README 2019-08-19 18:30:09 -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 6ea87ec752 Clean up vars and toml file 2019-08-13 02:18:17 -04:00
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