mangei/onion-routing

Create Basic Directory Node

Closed this issue · 6 comments

Create Basic Directory Node

i added the resource for registration and an encryption helper to get us started

added resource for heartbeat: /put hearbeat
added resource for monitoring: /get monitor

TODO:
implement get /chain resource

I think markus is on this - in case anyone has questions ask him.

added resource for chain: get /chain

I added two environmental variables for testing
CHAIN_LENGTH length of a chain (if not set the length of a chain is 3)
CHAIN_NODE_TIMEOUT timeout of the chain nodes in whole seconds (if not set the timeout is 15s)

finished this