Commit Graph

372 Commits

Author SHA1 Message Date
J. Ayo Akinyele 595cd87b90
Merge pull request #8 from boltlabs-inc/master
Syncing ZF repo
2019-12-10 16:38:53 -05:00
J. Ayo Akinyele dd529f9871 reduce deps by not using rand pkg in secp256k1 2019-12-06 22:46:45 -05:00
J. Ayo Akinyele 70865a9f69 revert version of hex to sync with librustzcash 2019-12-06 12:57:58 -05:00
J. Ayo Akinyele 426b0b1a16
Merge pull request #29 from boltlabs-inc/addresslength
Change address length
2019-12-05 16:15:36 -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
J. Ayo Akinyele 312a9dfd43
Merge pull request #28 from boltlabs-inc/wtp-utils
wtp-utils: add secp-sig reconstruct + channel close reconstruct
2019-11-29 16:09:06 -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 bd050d7da6 Add staticlib option to Cargo 2019-11-19 09:41:08 -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 69880545d8
Merge pull request #27 from boltlabs-inc/dependabot/cargo/secp256k1-0.16.0
build(deps): update secp256k1 requirement from 0.15.0 to 0.16.0
2019-11-08 10:00:10 -05:00
dependabot-preview[bot] 59b6525921
build(deps): update secp256k1 requirement from 0.15.0 to 0.16.0
Updates the requirements on [secp256k1](https://github.com/rust-bitcoin/rust-secp256k1) to permit the latest version.
- [Release notes](https://github.com/rust-bitcoin/rust-secp256k1/releases)
- [Changelog](https://github.com/rust-bitcoin/rust-secp256k1/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-bitcoin/rust-secp256k1/compare/0.15.0...0.16.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-06 06:39:15 +00:00
J. Ayo Akinyele 67d321e30c added func call to generate channel ID from channel token 2019-10-24 01:33:44 -04:00
J. Ayo Akinyele 2561ece47f
Merge pull request #7 from boltlabs-inc/master
Sync'ing with Bolt Labs - libbolt fork
2019-10-21 14:47:00 -04:00
J. Ayo Akinyele eef6e8e0dc
Merge branch 'master' into master 2019-10-21 14:46:28 -04:00
J. Ayo Akinyele 19a24d8896 updates 2019-10-21 14:44:37 -04:00
J. Ayo Akinyele bb6aa17978
Merge pull request #26 from boltlabs-inc/intermediary
Intermediary: python tests + cleanup
2019-10-18 12:44:56 -04:00
Gijs Van Laer 75bb446cdf cleanup of warnings and imports 2019-10-18 11:07:03 -04:00
Gijs Van Laer e749ec22fa channel_id: fix bolt_test 2019-10-18 10:17:40 -04:00
Gijs Van Laer 93789cd49f intermediary: python test for payment with intermediary 2019-10-18 10:14:57 -04:00
J. Ayo Akinyele 6e14d3b3d9 fix zkChannelParams in Go struct 2019-10-17 19:15:47 -04:00
J. Ayo Akinyele 4246cee4e6 updates to README and Go lib 2019-10-17 19:13:12 -04:00
J. Ayo Akinyele 061219fc5d more updates to README 2019-10-17 19:01:32 -04:00
J. Ayo Akinyele d70009a72f
Merge pull request #25 from boltlabs-inc/channelid
ChannelID instead of pk_c
2019-10-17 19:00:55 -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
J. Ayo Akinyele e56074615f update README 2019-10-17 18:36:11 -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 e376f0e43d
Merge pull request #23 from boltlabs-inc/dependabot/cargo/sodiumoxide-0.2.5
build(deps): update sodiumoxide requirement from 0.0.16 to 0.2.5
2019-10-16 12:51:21 -04:00
J. Ayo Akinyele 4bcd94ce5a
Merge pull request #24 from boltlabs-inc/intermediary
Intermediary
2019-10-14 10:28:53 -04:00
dependabot-preview[bot] 8708be4e0a
build(deps): update sodiumoxide requirement from 0.0.16 to 0.2.5
Updates the requirements on [sodiumoxide](https://github.com/sodiumoxide/sodiumoxide) to permit the latest version.
- [Release notes](https://github.com/sodiumoxide/sodiumoxide/releases)
- [Changelog](https://github.com/sodiumoxide/sodiumoxide/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sodiumoxide/sodiumoxide/compare/sodiumoxide-0.0.16...0.2.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-14 10:22:33 +00: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 56009d423f go: deserialize everything 2019-10-11 13:42:02 -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