Switch LSNC to a new path value metric that test higher and has better path length resolution when paths are short.
Make the search trigger in Ducttape.c at least kind-of sane, so we only search when we don't alrady know a path to the destination node.
Try to refresh reach regardless of if we have a direct path or not, prevents bug where we have all 0-reach paths and never try to refresh any of them.
Search for new routes if we already know some but they're terrible.
Merge branch 'master' of https://github.com/cjdelisle/cjdns into reach_test
Merge branch 'master' of https://github.com/cjdelisle/cjdns into reach_test
Merge branch 'master' of https://github.com/cjdelisle/cjdns into reach_test
Merge branch 'master' of https://github.com/cjdelisle/cjdns into reach_test
Trying to further reduce number of pings sent in worse case scenario.
Manual merge
Try to cut down on CPU usage by not calling refreshReach every single packet
Manual merge
Cleanup of pingspam code to get it back in a pseudoworking state
Merge branch 'crashey' of https://github.com/cjdelisle/cjdns into reach_test
Merge branch 'crashey' of https://github.com/cjdelisle/cjdns into reach_test
Move reach-refreshing stuff to janitor. Replace pingspam with much, much less frequent searchspam.
Remove obsolete pingspam code.
Awkward whitespace was annoying me.
Always keep a sarch going for our nearest possible keyspace neighbor.
Less ugly.