Commit Graph

256 Commits

Author SHA1 Message Date
J. Ayo Akinyele dd529f9871 reduce deps by not using rand pkg in secp256k1 2019-12-06 22:46:45 -05:00
Gijs Van Laer 9cbc78e30d Change address length 2019-12-05 15:57:59 -05:00
J. Ayo Akinyele a320ca9433 clean up sha2 in utils 2019-12-04 20:47:29 -05:00
J. Ayo Akinyele 7d624cee64 add more utils 2019-12-02 10:27:04 -05:00
J. Ayo Akinyele f8654ab120 add helper test routine for computing secp sigs 2019-12-02 02:24:08 -05:00
J. Ayo Akinyele 5e026cdd98 add secp sig verification to wtp_utils 2019-12-01 12:06:41 -05:00
Gijs Van Laer 8a12077d07 wtp-utils: make params references 2019-11-29 16:01:12 -05:00
Gijs Van Laer 5c065746a2 wtp-utils: add secp-sig reconstruct + channel close reconstruct 2019-11-29 15:22:49 -05:00
J. Ayo Akinyele f25568e1db update reconstruct wallet 2019-11-29 13:34:27 -05:00
J. Ayo Akinyele 82839ccbee add more routines to wtp_utils 2019-11-29 12:49:05 -05:00
J. Ayo Akinyele 3881d0c7b2 Adding helpful utils to simplify Bolt WTPs impl 2019-11-28 03:36:14 -05:00
J. Ayo Akinyele aff41dce68 add BN support to ffishim and py/go api 2019-11-23 00:14:09 -05:00
J. Ayo Akinyele f2e7c83dbf can now instantiate zkchannels on BLS12-381 or BN256 2019-11-22 10:06:13 -05:00
J. Ayo Akinyele 31842d0c73 remove macro rule 2019-11-19 09:18:41 -05:00
J. Ayo Akinyele 92f5d25150 Clean up crates and imports 2019-11-18 23:11:50 -05:00
J. Ayo Akinyele 67d321e30c added func call to generate channel ID from channel token 2019-10-24 01:33:44 -04:00
Gijs Van Laer 75bb446cdf cleanup of warnings and imports 2019-10-18 11:07:03 -04:00
Gijs Van Laer 93789cd49f intermediary: python test for payment with intermediary 2019-10-18 10:14:57 -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
J. Ayo Akinyele 4bcd94ce5a
Merge pull request #24 from boltlabs-inc/intermediary
Intermediary
2019-10-14 10:28:53 -04:00
J. Ayo Akinyele 4dfbd9e7a8 cleaning up channel token hashing 2019-10-12 11:57:42 -04:00
Gijs Van Laer 4f0913b21d intermediary: fix ffishim for multi verify + add go tests for payment with intermediary 2019-10-11 16:54:11 -04:00
Gijs Van Laer b624dd8750 intermediary: add the multi-verifications to go and python 2019-10-11 12:55:30 -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 cdb78f3c7c i64: fix power in i128 2019-09-27 16:40:00 -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 10ad13aacd Fix test 2019-09-17 00:42:20 -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
Gijs Van Laer 54a15061ae nizk: simplify range proof 2019-09-13 11:38:23 -04:00
Gijs Van Laer 697b3b1682 nizk: use same parameters for all range proofs 2019-09-12 17:10:15 -04:00
J. Ayo Akinyele 105ce6f59a Clean up deps 2019-09-12 10:12:23 -04:00
Gijs Van Laer f25ee986b9 nizk: fix pythontests 2019-09-11 10:54:16 -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
Gijs Van Laer cb7791a447 nizk: revert incorrect optimization 2019-09-10 22:21:15 -04:00
J. Ayo Akinyele 70a5a29d24 beginnings of third-party support 2019-09-10 13:11:31 -04:00
J. Ayo Akinyele 6f9167e286 Minor clean up 2019-09-09 11:08:13 -04:00
J. Ayo Akinyele 13ce718507 Add better error handling for verify_revoke_token() and more tests 2019-09-07 02:16:13 +02:00
Gijs Van Laer 2b4ad9208f go: tests for pay and close + makefile 2019-09-05 17:45:12 -04:00
J. Ayo Akinyele cb44a31529 More clean up 2019-09-02 22:44:17 +02:00
J. Ayo Akinyele 332d99b626 More clean up 2019-09-02 16:49:36 +02:00
J. Ayo Akinyele 9bab0870f8 Clean up c++ test code 2019-09-02 16:41:14 +02:00