soredake
|
c49cc24869
links update
|
7 years ago |
Lars Gierth
|
d3cb49547a
dht: remove dead Node_setCost()
|
8 years ago |
Arceliar
|
83e61aee6e
Switch to cost instead of reach. Builds but needs debugging.
|
9 years ago |
Caleb James DeLisle
|
b5be1d3beb
refactoring of nodestore, get ready for assertions ! :D
|
9 years ago |
Arceliar
|
f3ce288092
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.
|
10 years ago |
Arceliar
|
e7a8dd6b5d
Store the time each node was last pinged successfully. Reset on path changes. Include it in dumptable. Added support for this in dumptable.js
|
10 years ago |
Caleb James DeLisle
|
c034ecbcee
assertion failures from zero-ish reach
|
10 years ago |
Caleb James DeLisle
|
d2e4b84680
Switched from node->bestParent to Node_getBestParent() and Node_setParentReachAndPath() with appropriate checks
|
10 years ago |
Caleb James DeLisle
|
f9fdd8163d
Moved setReach() into Node.h so it's really a private field
|
10 years ago |
Caleb James DeLisle
|
0fdda4fc72
Replaced all instances of Assert_always() with Assert_true() to standardize on Assert_true() for 'always', Assert_ifParanoid() for assertions which trigger if PARANOIA is enabled and Assert_ifTesting() for asserions which would be triggered by bad nodes in a real network
|
10 years ago |
Caleb James DeLisle
|
4ed88710b5
way more work on the new pathfinder
|
11 years ago |