2a98f7482d
* Remove migration code * Added function to iterate over delegation of variable type * Add unit tests * Refactored some naming and reused mix/gateway functionality * Borrow bucket instead of move * Linked with existing delegations function * Migration of left-over delegations * Remove unused imports * Put a gateway test as well, next to the mix one * Expose queries for all delegations * Change break point * Added client side calls to the new queries * Fix clippy * Added pagination and read check tests * Fix gateway test from the last commit * Test functions for (de)serialization of identity and owner (in)to storage keys * Add delegation function unit test * Feature guard import * Changed UnpackedDelegation from type to struct * Remove mutable parameter and put start_after in returned value * Made all delegations into iterator for OOM safety * Fix clippy * Add test for delegations iterator size in memory * Change map with if let for ease of read * Use DENOM instead of hardcoded value
Network Explorer API
An API that can:
- calculate how many nodes are in which country, by checking the IPs of all nodes against an external service
- serve "hello world" via HTTP
TODO:
- record the number of mixnodes on a given date and write to a file for later retrieval
- store the nodes per country state in a variable
- grab mixnode description info via reqwest and serve it (avoid mixed-content errors)
- serve it all over http
- dependency injection
- tests