tools

util.tools.signingKeyToSHA1(signing_key)[source]

Return the SHA-1 digest of signing_key.

Parameters:signing_key (str) – a relay’s signing key
Returns:str the SHA-1 digest of this signing_key
util.tools.dispatch(d, k)[source]
util.tools.enum(**enums)[source]
util.tools.shutdown()[source]

Destroy all connections, circuits, and streams.

Called right before a shutdown event (e.g. CTRL-C).

Previous topic

exitrequest

This Page