Commit Graph

  • e67e6a9838 [gateway] using the ingress filter for incoming (mix) connections Jędrzej Stuczyński 2023-10-26 17:06:45 +01:00
  • d9cfec125a [mixnode] using the egress filter for outgoing packets Jędrzej Stuczyński 2023-10-26 16:39:46 +01:00
  • a72414e359 using parking_lot::RwLock instead of tokio::RwLock Jędrzej Stuczyński 2023-10-26 16:35:55 +01:00
  • 81548eba3f setting initial provider values at construction Jędrzej Stuczyński 2023-10-26 16:06:56 +01:00
  • 527fc5dfdd [mixnode] using the ingress filter for incoming connections Jędrzej Stuczyński 2023-10-26 15:53:22 +01:00
  • 4fabb7a44c creating correct filters based on whether node is a gateway or isnt bonded at all Jędrzej Stuczyński 2023-10-26 15:12:04 +01:00
  • b401123d59 starting the provider inside the mixnode Jędrzej Stuczyński 2023-10-26 14:49:10 +01:00
  • 8f83fd784f module responsible for updating paths allowed for forward travel Jędrzej Stuczyński 2023-10-26 12:22:18 +01:00
  • 867e92c9f5 'thiserror' implementation for verloc error Jędrzej Stuczyński 2023-10-24 15:21:43 +01:00
  • 65895db582 chore: update tokio-related dependencies Jędrzej Stuczyński 2023-10-24 15:08:59 +01:00
  • 07a86afb54 generate ecash key on client upgrade Simon Wicky 2023-12-01 15:48:47 +01:00
  • 3098eb8544 add config migration for clients Simon Wicky 2023-12-01 14:49:33 +01:00
  • f2ab3e0972 add small note on nym-api Simon Wicky 2023-12-01 14:23:57 +01:00
  • 785634b824 fix sql migrations Simon Wicky 2023-12-01 10:51:21 +01:00
  • f6d00ba196 increase api timeout for ecash Simon Wicky 2023-11-24 10:52:19 +01:00
  • 1dd208dd4c prevent shutdown to be dropped in online mode Simon Wicky 2023-11-23 11:32:50 +01:00
  • 49d22ab791 add serial number to payments Simon Wicky 2023-11-23 10:20:59 +01:00
  • d97244fb27 add value to payment Simon Wicky 2023-11-23 09:39:33 +01:00
  • 8093932c7b online mode on gateway Simon Wicky 2023-11-23 09:25:17 +01:00
  • e0f36537db add value to ecash wallets Simon Wicky 2023-11-23 09:11:52 +01:00
  • 2bb130c204 prepare new api endpoint Simon Wicky 2023-11-23 09:08:53 +01:00
  • 338613362d offline/online toggle for gateway Simon Wicky 2023-11-22 10:13:45 +01:00
  • 770324cf95 name change in preparation for online setup Simon Wicky 2023-11-22 09:41:03 +01:00
  • 9c6555663a persist pending credentials on reboot Simon Wicky 2023-11-21 09:55:07 +01:00
  • 9255e32d08 set ticker missed behavior Simon Wicky 2023-11-10 11:20:36 +01:00
  • f35f2649ef tweak to not try_send every time Simon Wicky 2023-11-10 10:54:15 +01:00
  • 7514fa3ca6 async credential sending Simon Wicky 2023-11-09 15:16:42 +01:00
  • 976b6d9ada bump up the bandwidth a bit Simon Wicky 2023-11-08 10:18:24 +01:00
  • 9d030bef94 fix sql migration Simon Wicky 2023-11-07 11:49:11 +00:00
  • ddfd503962 change parameters serialization so it's not random Simon Wicky 2023-11-07 10:30:54 +00:00
  • b8803376ff conversion to keypairauth elsewhere Simon Wicky 2023-11-06 11:50:32 +01:00
  • 3afb4c5041 use api ecash key for issuance Simon Wicky 2023-11-06 11:13:52 +01:00
  • f8a881af59 use stored ecash keypair for the api Simon Wicky 2023-11-06 11:06:49 +01:00
  • 14b974d2e1 add ecash key to api Simon Wicky 2023-11-06 10:47:15 +01:00
  • 3bf105301a fix route for coconut api Simon Wicky 2023-11-06 09:36:45 +01:00
  • 61cf4ea0c7 distribute parameters to all components Simon Wicky 2023-11-03 14:20:32 +01:00
  • d559d9a113 hard code ecash parameters Simon Wicky 2023-11-03 09:06:27 +00:00
  • 575282fe32 add consumed update to wallet Simon Wicky 2023-11-02 15:06:07 +01:00
  • 3e3c8a5467 add ecash params to api Simon Wicky 2023-11-02 11:34:36 +01:00
  • 0603273a49 remove secret key from credential storage Simon Wicky 2023-11-01 09:51:21 +01:00
  • dcfae92bab use stored ecash key when using credentials Simon Wicky 2023-10-31 15:56:18 +01:00
  • 9e925fd4ce config file template update Simon Wicky 2023-10-31 15:16:42 +01:00
  • 5792b89917 use ecash key for credential issuance Simon Wicky 2023-10-31 14:26:23 +01:00
  • d5bfa732c6 add ecash keypair to client Simon Wicky 2023-10-31 11:44:51 +01:00
  • 89644e5476 use identity key as provider pk Simon Wicky 2023-10-31 09:28:53 +01:00
  • 7057170381 Move generate payinfo as implementation of the struct aniampio 2023-10-24 15:11:58 +01:00
  • ada02fe631 Improve function performance and readability aniampio 2023-10-24 15:02:19 +01:00
  • 7836f5771b Add function generating the payinfo aniampio 2023-10-24 14:49:56 +01:00
  • 46c53eb1a5 credentials storage on gateway and api Simon Wicky 2023-10-27 14:39:09 +02:00
  • 506693a8a5 wip double spending detection Simon Wicky 2023-10-27 09:33:16 +02:00
  • cece0bb80e add traits to ecashcredential Simon Wicky 2023-10-27 09:32:53 +02:00
  • 56d36974fa add params in ecashcredential Simon Wicky 2023-10-25 11:29:58 +02:00
  • c0713a5a13 add payinfo to credential Simon Wicky 2023-10-24 14:11:17 +02:00
  • 74536467b6 impl payment flow Simon Wicky 2023-10-24 10:34:51 +02:00
  • c1c58a7476 update ecash credential Simon Wicky 2023-10-23 15:15:06 +02:00
  • bc9d4b4682 add secret-key for ecash credential storage Simon Wicky 2023-10-23 14:03:44 +02:00
  • e41796b157 WIP spending ecash Simon Wicky 2023-10-23 11:27:06 +02:00
  • 5a831b6482 swap VerificationKey for VerificationKeyAuth Simon Wicky 2023-10-20 15:41:27 +02:00
  • 4de642315d add get_next_ecash_cred for storage Simon Wicky 2023-10-20 15:19:18 +02:00
  • 1091f1341c issuance cli side Simon Wicky 2023-10-20 13:06:21 +02:00
  • ea0dbfea03 ecash issuance api side Simon Wicky 2023-10-20 13:06:03 +02:00
  • dd323ce493 update bls12_381 dependency Simon Wicky 2023-10-18 14:17:16 +02:00
  • 954f76e241 Optimize the identification function aniampio 2023-10-17 14:13:23 +01:00
  • a09dc8e462 Add byte calculation for divisible ecash aniampio 2023-08-07 21:19:25 +01:00
  • f623bfed4c Add Wallet, Partial Wallet and Payment to and from bytes converstion aniampio 2023-08-07 11:47:38 +01:00
  • e6bcfb697c Increase benchmark duration aniampio 2023-01-09 14:11:49 +00:00
  • a70843b940 Update in divisible ecash benchmark aniampio 2022-09-27 13:13:01 +01:00
  • 8a21e4ae25 Benchmarks: change the number of public keys aniampio 2022-08-31 12:51:04 +03:00
  • d7f4590239 Update compact benchmarks aniampio 2022-08-31 11:55:15 +03:00
  • cd2f7a30d2 Remove spend verification from the identify function aniampio 2022-08-10 18:57:00 +01:00
  • 23b9e4d48a Update benchmarks aniampio 2022-08-03 18:58:52 +01:00
  • fecb67ded7 Update for compact e-cash - remove requirement for security tag aniampio 2022-08-03 15:46:15 +01:00
  • 3ffa367de1 Update benchmarks aniampio 2022-07-20 14:19:23 +01:00
  • 3691110db8 Add verification of the payments inside identify; speed up the identify checks aniampio 2022-07-19 13:18:42 +01:00
  • dd527e4295 Update the spend function for compact ecash - multi spend aniampio 2022-07-15 01:45:58 +01:00
  • 778f5bf5e5 Add duplicate payinfo check for identify aniampio 2022-07-14 23:33:15 +01:00
  • 761d09534f Update spend function in the compact ecash aniampio 2022-07-14 21:12:26 +01:00
  • 4a7e44b9c7 Add test for identification - case of no double spending aniampio 2022-06-23 16:56:59 +01:00
  • db69158b4b Add aggregation and e2e test aniampio 2022-06-23 14:49:01 +01:00
  • 40af8ebf47 Fix the eq 15 for the spend proof aniampio 2022-06-09 13:08:21 +01:00
  • f8e78c7fcc Update the verification function for structure preserving signature aniampio 2022-06-07 22:17:12 +01:00
  • 05ddbf2fba Add draft of signature verification function aniampio 2022-05-26 13:19:41 +01:00
  • 31e9c0004a Move the index for signature retrival aniampio 2022-05-26 13:12:05 +01:00
  • e4cfdc9888 3 out of 4 pairing tests in the zk proof pass aniampio 2022-05-26 13:06:44 +01:00
  • 0df62df780 Fix signatures tau_l aniampio 2022-05-25 00:28:52 +01:00
  • 3687600587 Shifting indices in setup - eq 4 test still passing aniampio 2022-05-24 23:53:58 +01:00
  • 64dd6c2b8c Add eq checks aniampio 2022-05-24 23:31:40 +01:00
  • aa018769c2 Add bilinear equations into the zk proof; the last eq passes the tests aniampio 2022-05-24 21:16:43 +01:00
  • 2ec2613a89 Define spend instance and witness structs aniampio 2022-05-12 20:57:16 +01:00
  • 15d10ab027 Add spend and spend verification functions; fix breaking test for proof of withdrawal aniampio 2022-05-10 13:21:53 +01:00
  • 0fc5b97dfb Add issuance and issuance verification - but one of the tests is failing aniampio 2022-04-28 13:05:54 +01:00
  • 7632e524c0 Add key generation functions aniampio 2022-04-25 17:12:09 +03:00
  • 49721177fc Update the structure preserving signature to work in the setup function as well aniampio 2022-04-25 15:39:10 +03:00
  • 7f0f2b056f Add benchmarks aniampio 2022-04-19 22:46:58 +03:00
  • cec35ee4d0 Update get range proof signature function to return an error aniampio 2022-04-19 16:55:57 +03:00
  • 5f545675e1 Add into the zk proof the proof that l is within the range aniampio 2022-04-19 16:35:16 +03:00
  • 49ac369ce2 Add struct for the divisible ecash crate aniampio 2022-04-01 16:22:25 +01:00
  • dfcc87167b Add test for succesfull identification aniampio 2022-04-01 12:45:57 +01:00
  • ee95596abf Fix the issue with two gamma equations aniampio 2022-04-01 10:55:26 +01:00
  • 23ce9de873 Add S and T into the zk proof for spend aniampio 2022-03-28 19:00:42 +01:00