mangei/onion-routing

directory: first call to getChain returns error

Closed this issue · 4 comments

the first call to get a chain of nodes doesn't work

only the second one does

it seems it randomly doesnt work

just try pressing getChain a few times

lastHeartbeat is also null sometimes

recommendation: use thread-safe data structures

changed everything at directory to concurrent data structures