Cecylia Bocovich
c92a14d612
Use more descriptive error for lox proto functions
...
Request functions for protocols in the Lox library previously returned a
ProofError error type, which is not verbose enough to allow for accurate
debugging.
This commit introduces a new error enum, CredentialError, with several
types that allow for descriptive error messages.
2024-03-12 16:16:04 -04:00
onyinyang
472445a9a5
Add README for rdsys-backend-api, lox-utils and switch to lox-zkp crate
2023-11-23 11:44:05 -05:00
onyinyang
0e960d9156
Make all states serializable
2023-02-06 19:47:04 -05:00
onyinyang
993d01b712
Added results of cargo clippy --fix
2022-10-18 00:51:17 -04:00
onyinyang
d9d349d0f7
Replace big_array with serde_as, cargo fmt likes things to be alphabetical
2022-04-04 00:45:08 -04:00
onyinyang
f6ffdd77bb
Added serialization/deserialization for check_blockage and trust_promotion
2022-04-04 00:45:08 -04:00
Ian Goldberg
4bb77d16e4
Be consistent about the ordering of the parameters in the ZKPs
...
Particularly D
2021-05-05 16:34:12 -04:00
Ian Goldberg
27773123a3
Add a migration type attribute to the Migration credential
2021-05-05 15:25:56 -04:00
Ian Goldberg
0664dd7b45
API for adding bridges and marking them as unreachable
2021-05-05 14:00:07 -04:00
Ian Goldberg
654208769f
Up the max level to 4 and add the ZKP for the max number of blockages allowed in the level up protocol
2021-05-03 15:00:54 -04:00
Ian Goldberg
088071571a
Change the invites_issued attribute of the Lox credential to just count blockages instead
2021-05-03 14:27:11 -04:00
Ian Goldberg
fd73286e78
Complete the level upgrade protocol
2021-05-02 21:45:15 -04:00
Ian Goldberg
33f3de3b68
Dates should just be u32, not u64
2021-05-01 15:33:45 -04:00
Ian Goldberg
8a19376edc
Moved protocol modules into submodules of "proto" module instead of all being at the top level
2021-05-01 15:23:00 -04:00