b36ca2c4f1
* Adding the explorer API * Added explorer-api to workspace * Re-jigged explorer api cargo paths * Fixed compiler warnings * Removing unused code * network-explorer-api: configure state with env var API_STATE_FILE or fall back to default value of `explorer-api-state.json` * network-explorer-api: updates to `Cargo.lock` file after rebasing * network-explorer-api: make clippy happy
17 lines
491 B
Markdown
17 lines
491 B
Markdown
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 |