Skip to main content

Module testdata_live

Module testdata_live 

Source
Expand description

Test data, downloaded from the live network, and filtered to reduce its size

The parsed forms obtained by netstatus_plain() etc. have retained unknown values iff the retain-unknown cargo feature is enabled.

Modules§

generated_consts 🔒
Automatically generated by testdata-live-download - DO NOT EDIT

Macros§

netstatus_variety 🔒
Define netstatus_V, netstatus_V_unverified and relay_routerstatuses_V

Structs§

PerRelay
Test data for one (selected) relay
PerVariety
Three test data file contents’, one per variety
RelayDocument
Relay-specific parsed test document or fragment

Constants§

NETSTATUS
Network status documents
RELAY_DESCRIPTORS
Relays’ router descriptors and microdescriptors
RELAY_ROUTERSTATUSES
Relays’ routerstatus entries (excerpts from each corresponding network status)

Functions§

netstatus_md
Parsed network status
netstatus_md_unverified
Parsed network status, in unverified form
netstatus_plain
Parsed network status
netstatus_plain_unverified
Parsed network status, in unverified form
netstatus_vote
Parsed network status
netstatus_vote_unverified
Parsed network status, in unverified form
relay_document_by_nick
Find a particular relay’s document, given the relay’s nickname
relay_documents 🔒
Parse and yield a Vec<RelayDocument<_>>
relay_microdescs
Microdescriptors as listed in the consensus
relay_routerdescs
Router descriptors (as listed in the consensus)
relay_routerdescs_unverified
Router descriptors (as listed in the consensus), in unverified form
relay_routerdescs_vote
Router descriptors (as listed in the vote)
relay_routerdescs_vote_unverified
Router descriptors (as listed in the consensus), in unverified form
relay_routerstatuses_md
Parsed routerstatus entries
relay_routerstatuses_plain
Parsed routerstatus entries
relay_routerstatuses_vote
Parsed routerstatus entries
unwrap_bodies 🔒
Turn a Vec<RelayDocument<FooUnverified>> into a Vec<RelayDocument<Foo>>