Commit Graph

156 Commits

Author SHA1 Message Date
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
Gijs Van Laer e4c1129a20 nizk: start implementation of nizk 2019-07-03 19:05:27 -04:00
Gijs Van Laer 5222e07a89 ccs08: performance tests 2019-06-28 17:44:14 -04:00
Gijs Van Laer 12937dc0ee Merge branch 'ped92-generics' into ccs08 2019-06-14 19:00:58 -04:00
Gijs Van Laer 3e516083ae ped92: Pedersen commitment using Generics 2019-06-14 18:54:18 -04:00
Gijs Van Laer 37ab55bc72 ccs08: basics for ccs08 implementation 2019-06-14 18:14:06 -04:00
J. Ayo Akinyele 7c8a81e0cd Add Blind signature scheme by Pointcheval-Sanders 2019-06-14 03:24:15 -04:00
J. Ayo Akinyele 60bae2df3e Cleaned up version of CL sigs 2019-06-13 02:52:20 -04:00
J. Ayo Akinyele bd8571e23f Add CL sigs variant (by Pointcheval-Sanders) and debugging code for ffi to py 2019-06-08 14:22:20 -04:00
J. Ayo Akinyele c1e2fbe349 Updates to serialization routine for establish-phase1 2019-03-31 03:52:07 -04:00
J. Ayo Akinyele e2dc5adc06 Clean up libbolt customer interface and ffi shim re: refund token and wallet 2019-03-24 03:06:47 -04:00
J. Ayo Akinyele ce52d01371 Add csp to channel token for customer 2019-03-23 15:58:46 -04:00
Gabe Kaptchuk 3d5d4a2291 adding rapidjson parser and better interface for libbolt.h 2019-03-19 22:03:32 -04:00
Gabe Kaptchuk 9fdad515dc a bunch of updates that allow exposing three new functions. makefile updated to test cpp interface 2019-03-18 01:25:14 -04:00
Gabe Kaptchuk a60e4f2390 refactor to make code more readable 2019-03-07 00:31:29 -05:00
J. Ayo Akinyele 9d610d1f49 Suppress warning 2019-03-05 22:58:40 -05:00
Gabe Kaptchuk cbc0ad24ef exposing decommit functionality 2019-03-05 20:05:05 -05:00
Gabe Kaptchuk 711fa83400 rest of the functions 2019-03-03 17:43:20 -05:00
Gabe Kaptchuk bc47543314 two more functions ffis complete and tested. 2019-03-02 22:48:47 -05:00
Gabe Kaptchuk 2892555017 automerge 2019-03-02 22:18:09 -05:00
Gabe Kaptchuk d77ca4957c more functions. Added a hot fix for a sepc256k1 serde impl bug 2019-03-02 22:17:24 -05:00
J. Ayo Akinyele 232460f9f0 Minor improvements 2019-02-28 00:35:07 -05:00
Gabe Kaptchuk 523543b8ec switching over to a python class interface and now returning dictionaries 2019-02-26 17:10:40 -08:00
Gabe Kaptchuk b816027e64 adding a bunch more ffishim functions. Functionality is incomplete, but everything is properly serializing. Lots of TODOs left 2019-02-26 14:52:47 -05:00
Gabe Kaptchuk 4ff930fdf8 Merge branch 'master' of github.com:boltlabs-inc/libbolt 2019-02-19 18:10:23 -05:00
Gabe Kaptchuk 006f431fd0 rest of functions exposed and testing in python. Erroring out in first establish call rn 2019-02-19 18:02:53 -05:00
Gabe Kaptchuk 2d08655292 Up to bi_init_customer serializing 2019-02-19 15:27:39 -05:00
Gabe Kaptchuk 574aa693eb intermediary step with serializing data out to python 2019-02-19 12:01:51 -05:00
J. Ayo Akinyele 07b30d9703 WIP changes to pay protocol for merchant in phase 1 2019-02-14 11:55:23 -05:00
J. Ayo Akinyele 912a75eeb8 Clean up 2019-02-13 22:18:54 -05:00
J. Ayo Akinyele c28cdfe62d Fix tests and remove bin/ dir 2019-02-13 09:39:41 -05:00
J. Ayo Akinyele 0b6fc74945 Pick channel ids based on hash of channel public key to ensure uniqueness 2019-02-13 09:30:18 -05:00
J. Ayo Akinyele 8a951bd3c3 Minor updates based on rust-secp256k1 changes 2019-02-12 01:59:29 -05:00
J. Ayo Akinyele 211d8e51ea Updates to dependencies 2018-12-22 15:35:13 -05:00
J. Ayo Akinyele 46887b361b fix build - breaking changes from bulletproofs upstream. This closes #4 2018-10-04 14:38:10 -04:00
J. Ayo Akinyele 549c2ab228 updating use of bulletproofs to the latest version 2018-09-08 13:59:50 -04:00
J. Ayo Akinyele 5dabcf5e04 more docs 2018-08-24 03:31:46 -04:00
J. Ayo Akinyele c297ef8c50 cleaning up and prep for uni impl 2018-08-24 03:18:36 -04:00
J. Ayo Akinyele f0bd5546cf more api updates to README 2018-08-17 02:00:06 -04:00
J. Ayo Akinyele af5ff70399 add api description to README and clean up vars 2018-08-16 18:05:01 -04:00
J. Ayo Akinyele 5ac39d5860 clean up and adding more comments 2018-08-15 10:29:02 -04:00
Dimitris Apostolou 6b3c9fcc67
Fix typos 2018-08-15 10:47:02 +03:00
J. Ayo Akinyele 6b875d2135 more clean up - prep for release 2018-08-14 13:00:44 -04:00
J. Ayo Akinyele ae5558e90b more clean up 2018-08-14 08:28:01 -04:00
J. Ayo Akinyele 054e646965 clean up 2018-08-13 23:57:23 -04:00
J. Ayo Akinyele 7cd78d391a updates 2018-08-13 18:18:14 -04:00
J. Ayo Akinyele fb261a917b add third-party payment option 2018-08-13 18:16:02 -04:00
J. Ayo Akinyele ca4f790cee sync libbolt with latest version of curve25519-dalek and bulletproofs 2018-08-10 03:13:57 -04:00
J. Ayo Akinyele ffbc8d8830 add check to make sure balance update differs by payment increment 2018-08-10 03:01:50 -04:00
J. Ayo Akinyele ecfefcbaf6 add third-party payments unit tests 2018-07-30 03:06:06 -04:00
J. Ayo Akinyele cb8fd7f274 more clean up 2018-07-29 20:44:08 -04:00
J. Ayo Akinyele 76227f2d46 remove old code 2018-07-25 22:59:47 -04:00
J. Ayo Akinyele 48005fffe0 adding more tests for libbolt 2018-07-25 22:19:03 -04:00
J. Ayo Akinyele c6b43fb749 minor clean up 2018-07-25 15:17:51 -04:00
J. Ayo Akinyele 33ca35d1ec more unit tests and cleaning up 2018-07-25 00:56:41 -04:00
J. Ayo Akinyele 7a4b273dce adding tests to each module 2018-07-24 21:42:07 -04:00
J. Ayo Akinyele 26e2f3d641 complete integration of bullet proofs 2018-07-22 00:22:21 -04:00
J. Ayo Akinyele 4c2007b112 some cleanup 2018-07-14 23:00:12 -04:00
J. Ayo Akinyele 717c36e85f some refactoring 2018-07-14 21:17:00 -04:00
J. Ayo Akinyele ee09e20b43 add uni directional beginnings 2018-06-25 01:06:36 -04:00
J. Ayo Akinyele 26842ecae9 clean up -- moving zkp proof compiler to a new repo 2018-06-24 23:14:02 -04:00
J. Ayo Akinyele 4548c73055 add proper opening of wpk in pay protocol 2018-06-23 13:54:01 -04:00
J. Ayo Akinyele 3cda586784 adding hooks to setup to disable extra verifications in establish/pay protocols 2018-06-20 01:14:56 -04:00
J. Ayo Akinyele b4d63eef9e updates 2018-06-18 23:19:53 -04:00
J. Ayo Akinyele c6c6fb6776 more improvements 2018-06-18 14:07:19 -04:00
J. Ayo Akinyele 17254d9710 minor updates 2018-06-15 01:18:20 -04:00
J. Ayo Akinyele d9471ca850 more clean up 2018-06-14 23:50:00 -04:00
J. Ayo Akinyele 375baafd1b clean up 2018-06-14 21:07:18 -04:00
J. Ayo Akinyele 4773ef793c cleaning up naming in pay protocol 2018-06-13 22:24:18 -04:00
J. Ayo Akinyele 57ef036426 payment protocol completion with tests 2018-06-13 20:28:37 -04:00
J. Ayo Akinyele 157e4884f9 proof of knowledge for valid sigs working 2018-06-12 14:30:24 -04:00
J. Ayo Akinyele 7c965f8659 updates -- sync'ing bases 2018-06-11 14:05:24 -04:00
J. Ayo Akinyele 50b728dd4e more improvements - pay protocol 2018-06-11 03:31:27 -04:00
J. Ayo Akinyele 09c70f7266 ceckpoint on libbolt resolve alg 2018-06-10 02:00:01 -04:00
J. Ayo Akinyele 623cb0c873 signifcant improvements 2018-06-09 03:14:50 -04:00
J. Ayo Akinyele 1ff493b6e1 more improvements 2018-06-08 21:20:15 -04:00
J. Ayo Akinyele f8e7f06766 more fixes and improvements 2018-06-08 02:57:46 -04:00
J. Ayo Akinyele be2953b872 more improvements 2018-06-05 22:57:44 -04:00
J. Ayo Akinyele 364794f2c6 several improvements to libbolt 2018-06-05 13:26:16 -04:00
J. Ayo Akinyele b98767ae7f minor tweaks to lib 2018-05-11 16:21:35 -04:00
J. Ayo Akinyele 7a63dc3938 more minor changes 2018-05-10 17:08:42 -04:00
J. Ayo Akinyele 651bd08065 more updates 2018-05-06 21:50:37 -04:00
J. Ayo Akinyele 7ca8df6c16 more tweaks to design \& implementation 2018-04-08 03:46:17 -04:00
J. Ayo Akinyele ea8042373f work in progress -- finally commiting more primitives needed for uni scheme 2018-04-07 15:01:27 -04:00
J. Ayo Akinyele b611b78d6e updates to bolt uni scheme and design doc 2018-04-06 02:44:31 -04:00
J. Ayo Akinyele 891edc3acb work in progress -- zkp 2018-04-02 10:47:19 -04:00
J. Ayo Akinyele 6550d5cf12 finally adding initial zkp.rs (not working yet) 2018-03-25 23:54:47 -04:00
J. Ayo Akinyele c0694a98e9 clean up and still working on establish/pay alg impl 2018-03-25 23:20:05 -04:00