Commits on Nov 21, 2014
Commits on Nov 19, 2014
  1. Try to make paths a little more stable. When a node is pinged into ob…

    …livion, break the link to it (to prevent it from being re-adopted).
    Arceliar committed Nov 19, 2014
Commits on Nov 14, 2014
  1. Go back to guessing instead of trying to try every bestParent change.…

    … Try to make guesses cause fewer flappy routes. Track the time each link was last tested, use either the least recently tested link or the node's test time when deciding how old our info about a node is. Move tryExistingNode out of the conditional chain in the janitor, to prevent it from being blocked during bootstrapping (when we're most vulnerable to blackholes anyway). Misc code cleanup.
    Arceliar committed Nov 14, 2014
Commits on Nov 13, 2014
  1. Remove some commented out code

    Arceliar committed Nov 13, 2014
Commits on Nov 12, 2014
  1. Try to fix some blackholes.

    Arceliar committed Nov 12, 2014
Commits on Nov 11, 2014
  1. typo == segfault

    Arceliar committed Nov 11, 2014
  2. If the newly discovered node is actually the worst in the table, it w…

    …ill return a dangling pointer
    cjdelisle committed Nov 11, 2014
  3. Store the time each node was last pinged successfully. Reset on path …

    …changes. Include it in dumptable. Added support for this in dumptable.js
    Arceliar committed Nov 11, 2014
Commits on Nov 9, 2014
  1. Since the mills eventually empty, we can move the random node ping to…

    … after them. This should speed up bootstrapping and recovery after a disconnect, but have ~no effect once we reach a full maintenance state.
    Arceliar committed Nov 9, 2014
  2. return

    Arceliar committed Nov 9, 2014
  3. Make checkPeers return a bool for if it did anything. Have tryExistin…

    …gNode try checkPeers on the node before pinging it. Modify linkMill/nodeMill/tryRandomLink priorities, the mills now eventually empty.
    Arceliar committed Nov 9, 2014
  4. Janitor stuff. For the nodeMill, require that nodes are in some way u…

    …seful (e.g. needed for keyspace or are an unknown hop on someone's best path). Add checkPeers to dht maintenance.
    Arceliar committed Nov 9, 2014
Commits on Nov 8, 2014
  1. re-pinging a bad node is not causing problems but it should not be do…

    …ne if the node is ffff
    cjdelisle committed Nov 8, 2014
Commits on Nov 7, 2014