Initial support for per-country exit node counts
- We introduce a new event type,
NewDirectory
, which contains information about the network directory.- In the future, this should probably get emitted whenever we get a new directory downloaded, and contain more information.
- Right now though, it just contains a map with per-country exit node counts in it.
- This should be good enough for #62 (closed) (cc @cyberta), at least for now.
- Annoyingly, to do this, we had to enable the
experimental-api
feature onarti-client
, which then triggered arti#988 (closed) (which we now have to work around, requiringtor-keymgr
to be pulled in).