Commit Graph

73 Commits

Author SHA1 Message Date
onyinyang fe60fcfc2a Added timing 2022-04-04 00:45:10 -04:00
onyinyang cbd5370361 Changed printout statements and reverted to multithreaded testing 2022-04-04 00:45:10 -04:00
onyinyang f54cff45a7 Added tests for different sized bridges 2022-04-04 00:45:10 -04:00
onyinyang 00e0667ed0 Added perfstat time outputs for each test 2022-04-04 00:45:10 -04:00
onyinyang 7c94c68b44 Remove open invitation buckets from blockages, add test for 75% 2022-04-04 00:45:10 -04:00
onyinyang 18f082ab84 Fixed bug that still blocked spares 2022-04-04 00:45:10 -04:00
onyinyang 8ebcd4cec3 Changed blockage test to only block non-spare buckets 2022-04-04 00:45:10 -04:00
onyinyang 628ecaf4a4 Add more bridges for consistency, printout units
Committer: ltulloch <ltulloch@uwaterloo.ca>
2022-04-04 00:45:10 -04:00
onyinyang 272555f3c8 Corrected error causing response handling stdev anomaly, adjusted test size for blockages 2022-04-04 00:45:09 -04:00
onyinyang 2a6988e742 Add tests for varying percentages of blocked bridge 2022-04-04 00:45:09 -04:00
onyinyang 10959e1110 Updated print statements and number of users 2022-04-04 00:45:09 -04:00
onyinyang 752237d881 Add blockage migration stats test 2022-04-04 00:45:09 -04:00
onyinyang 7716f3e37d Added all tests but details of blockage migration 2022-04-04 00:45:09 -04:00
onyinyang e504c6ce37 Modularized duplicate code and added more tests 2022-04-04 00:45:09 -04:00
onyinyang f1ba7e8066 Fixed issues identified during live code review 2022-04-04 00:45:09 -04:00
onyinyang 56a33da691 Added statistics for open invite 1000 users 2022-04-04 00:45:09 -04:00
onyinyang f970344f2c Added timing and measurements to all methods, TODO printout tests 2022-04-04 00:45:09 -04:00
onyinyang 7a0e2dcf93 Removed types for deserialized objects 2022-04-04 00:45:09 -04:00
onyinyang 2e10c0ec9f Added timing and perfstat struct for open invite 2022-04-04 00:45:08 -04:00
onyinyang 668cf86893 Added serialized sizes for request and response in open invite 2022-04-04 00:45:08 -04:00
onyinyang 795fadeaef Replace big_array with serde_as, cargo fmt likes things to be alphabetical 2022-04-04 00:45:08 -04:00
onyinyang b7da28d684 Added serialization/deserialization for check_blockage and trust_promotion 2022-04-04 00:45:08 -04:00
onyinyang 504ce0014b Added serialization and deserialization for all but check blockage and trust promotion 2022-04-04 00:45:08 -04:00
onyinyang e0a02b66bc Fixed comments from code review 2022-04-04 00:45:08 -04:00
onyinyang 3eb6aedfaf Added Bridgeline to open-entry 2022-04-04 00:45:08 -04:00
Ian Goldberg a56ac87868 Change IssuerPubKey constructor to be more functional 2021-06-05 16:25:39 -04:00
Ian Goldberg 596cf10ea5 The complete blockage migration protocol 2021-05-05 18:22:32 -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 74bae2cf8e The complete check blockage protocol 2021-05-05 16:29:25 -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 cf19bf80ee Make an easier to use test harness 2021-05-04 18:27:26 -04:00
Ian Goldberg b0290f5480 Complete the redeem invitation protocol 2021-05-04 17:48:40 -04:00
Ian Goldberg dd505ccfd7 The request message of the redeem invitation protocol 2021-05-04 15:48:11 -04:00
Ian Goldberg 8b517aa4c8 Complete the issue invitation protocol 2021-05-04 14:22:51 -04:00
Ian Goldberg a6d98dde73 The response message of the issue invitation protocol 2021-05-04 12:03:22 -04:00
Ian Goldberg d924b98060 The request message of the issue invitation protocol 2021-05-03 19:06:05 -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 86cd2f54d7 More Rust cleanups 2021-05-03 14:14:31 -04:00
Ian Goldberg 15e9a1a72a Remove noop migration credentials 2021-05-03 14:13:13 -04:00
Ian Goldberg ecef59392b Fix the rust in a couple of places 2021-05-03 11:44:42 -04:00
Ian Goldberg fd73286e78 Complete the level upgrade protocol 2021-05-02 21:45:15 -04:00
Ian Goldberg aa097dc447 Change the policy for invites_remaining in the level up protocol
Before, the number of invitations at the new level were _added_ to a
user's credential.  Now, it _replaces_ the old value.
2021-05-02 18:10:59 -04:00
Ian Goldberg f7b3d242bb The request message of the level upgrade protocol 2021-05-01 22:26:13 -04:00
Ian Goldberg 5bfbccf193 Check the MACs on the Bucket Reachability credentials in the tests 2021-05-01 17:19:34 -04:00
Ian Goldberg ba13545b3c Create Bucket Reachability credentials and put them in buckets as appropriate 2021-05-01 17:13:40 -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
Ian Goldberg ab864fae45 Handle the case where the migration table has illegal entries for some reason 2021-05-01 11:56:25 -04:00