Commit Graph

7073 Commits

Author SHA1 Message Date
Simon Wicky e0f36537db add value to ecash wallets 2023-12-07 09:48:29 +01:00
Simon Wicky 2bb130c204 prepare new api endpoint 2023-12-07 09:48:29 +01:00
Simon Wicky 338613362d offline/online toggle for gateway 2023-12-07 09:48:29 +01:00
Simon Wicky 770324cf95 name change in preparation for online setup 2023-12-07 09:48:29 +01:00
Simon Wicky 9c6555663a persist pending credentials on reboot 2023-12-07 09:48:27 +01:00
Simon Wicky 9255e32d08 set ticker missed behavior 2023-12-07 09:48:12 +01:00
Simon Wicky f35f2649ef tweak to not try_send every time 2023-12-07 09:48:12 +01:00
Simon Wicky 7514fa3ca6 async credential sending 2023-12-07 09:48:12 +01:00
Simon Wicky 976b6d9ada bump up the bandwidth a bit 2023-12-07 09:46:00 +01:00
Simon Wicky 9d030bef94 fix sql migration 2023-12-07 09:46:00 +01:00
Simon Wicky ddfd503962 change parameters serialization so it's not random 2023-12-07 09:46:00 +01:00
Simon Wicky b8803376ff conversion to keypairauth elsewhere 2023-12-07 09:46:00 +01:00
Simon Wicky 3afb4c5041 use api ecash key for issuance 2023-12-07 09:46:00 +01:00
Simon Wicky f8a881af59 use stored ecash keypair for the api 2023-12-07 09:46:00 +01:00
Simon Wicky 14b974d2e1 add ecash key to api 2023-12-07 09:46:00 +01:00
Simon Wicky 3bf105301a fix route for coconut api 2023-12-07 09:46:00 +01:00
Simon Wicky 61cf4ea0c7 distribute parameters to all components 2023-12-07 09:46:00 +01:00
Simon Wicky d559d9a113 hard code ecash parameters 2023-12-07 09:45:43 +01:00
Simon Wicky 575282fe32 add consumed update to wallet 2023-12-07 09:45:39 +01:00
Simon Wicky 3e3c8a5467 add ecash params to api 2023-12-07 09:45:15 +01:00
Simon Wicky 0603273a49 remove secret key from credential storage 2023-12-07 09:45:15 +01:00
Simon Wicky dcfae92bab use stored ecash key when using credentials 2023-12-07 09:45:13 +01:00
Simon Wicky 9e925fd4ce config file template update 2023-12-07 09:45:00 +01:00
Simon Wicky 5792b89917 use ecash key for credential issuance 2023-12-07 09:45:00 +01:00
Simon Wicky d5bfa732c6 add ecash keypair to client 2023-12-07 09:45:00 +01:00
Simon Wicky 89644e5476 use identity key as provider pk 2023-12-07 09:44:57 +01:00
aniampio 7057170381 Move generate payinfo as implementation of the struct 2023-12-07 09:43:36 +01:00
aniampio ada02fe631 Improve function performance and readability 2023-12-07 09:43:07 +01:00
aniampio 7836f5771b Add function generating the payinfo 2023-12-07 09:42:23 +01:00
Simon Wicky 46c53eb1a5 credentials storage on gateway and api 2023-12-07 09:41:55 +01:00
Simon Wicky 506693a8a5 wip double spending detection 2023-12-07 09:41:53 +01:00
Simon Wicky cece0bb80e add traits to ecashcredential 2023-12-07 09:41:14 +01:00
Simon Wicky 56d36974fa add params in ecashcredential 2023-12-07 09:41:12 +01:00
Simon Wicky c0713a5a13 add payinfo to credential 2023-12-07 09:40:26 +01:00
Simon Wicky 74536467b6 impl payment flow 2023-12-07 09:40:23 +01:00
Simon Wicky c1c58a7476 update ecash credential 2023-12-07 09:40:00 +01:00
Simon Wicky bc9d4b4682 add secret-key for ecash credential storage 2023-12-07 09:40:00 +01:00
Simon Wicky e41796b157 WIP spending ecash 2023-12-07 09:40:00 +01:00
Simon Wicky 5a831b6482 swap VerificationKey for VerificationKeyAuth 2023-12-07 09:40:00 +01:00
Simon Wicky 4de642315d add get_next_ecash_cred for storage 2023-12-07 09:40:00 +01:00
Simon Wicky 1091f1341c issuance cli side 2023-12-07 09:39:58 +01:00
Simon Wicky ea0dbfea03 ecash issuance api side 2023-12-07 09:39:45 +01:00
Simon Wicky dd323ce493 update bls12_381 dependency 2023-12-07 09:39:45 +01:00
aniampio 954f76e241 Optimize the identification function 2023-12-07 09:39:19 +01:00
aniampio a09dc8e462 Add byte calculation for divisible ecash 2023-12-07 09:39:19 +01:00
aniampio f623bfed4c Add Wallet, Partial Wallet and Payment to and from bytes converstion 2023-12-07 09:39:19 +01:00
aniampio e6bcfb697c Increase benchmark duration 2023-12-07 09:39:19 +01:00
aniampio a70843b940 Update in divisible ecash benchmark 2023-12-07 09:39:19 +01:00
aniampio 8a21e4ae25 Benchmarks: change the number of public keys 2023-12-07 09:39:19 +01:00
aniampio d7f4590239 Update compact benchmarks 2023-12-07 09:39:19 +01:00