Caleb James DeLisle
|
b5be1d3beb
refactoring of nodestore, get ready for assertions ! :D
|
vor 9 Jahren |
Caleb James DeLisle
|
33acce27e0
Removed last reminents of Pinned Nodes and tried to avoid adding the same nodes to the external rumormill over and over
|
vor 9 Jahren |
Caleb James DeLisle
|
33815d555b
tuning and improvements to --bench
|
vor 9 Jahren |
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.
|
vor 10 Jahren |
Arceliar
|
c47ec81446
Fix a bug where we never reconnect. Probably possible to clean this up a little.
|
vor 10 Jahren |
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
|
vor 10 Jahren |
Caleb James DeLisle
|
b3567f5626
discoverLinkC() -- a new discoverLink implementation which fixes/splits links shallow-first
|
vor 10 Jahren |
Caleb James DeLisle
|
d2e4b84680
Switched from node->bestParent to Node_getBestParent() and Node_setParentReachAndPath() with appropriate checks
|
vor 10 Jahren |
Caleb James DeLisle
|
f9fdd8163d
Moved setReach() into Node.h so it's really a private field
|
vor 10 Jahren |
Caleb James DeLisle
|
2ab7f135e6
add Node_getReach() to prevent reach from being altered without certain checks, also do not call NodeStore_updateReach() unless a the path is the same as the one stored for the node.
|
vor 10 Jahren |
Caleb James DeLisle
|
f70518c9d3
bound the size of the nodestore
|
vor 10 Jahren |
Caleb James DeLisle
|
f8e1577e23
Removed a duplicated piece of code and defer freeing of links until the end of the discoverNode() cycle
|
vor 10 Jahren |
Arceliar
|
a90055c9d5
Remove obsolete pingspam code.
|
vor 11 Jahren |
Caleb James DeLisle
|
cca56ad9a9
Finally got everything switched over to using the new pathfinder
|
vor 11 Jahren |
Caleb James DeLisle
|
2c25a476b3
Moved the code over to completely use the new pathfinder
|
vor 11 Jahren |
Caleb James DeLisle
|
ec10920ee3
a little less crashey
|
vor 11 Jahren |
Caleb James DeLisle
|
4ed88710b5
way more work on the new pathfinder
|
vor 11 Jahren |
Caleb James DeLisle
|
52f6e43c62
Make it more clear that it is the *inverse* link encoding form number since it is so easy to get this confused
|
vor 11 Jahren |
Caleb James DeLisle
|
dc1133fdaf
Merged in master
|
vor 11 Jahren |
Arceliar
|
fe1b40e887
More reach/latency work.
|
vor 11 Jahren |
Caleb James DeLisle
|
f166bf6d68
Updated NodeStore a bit further
|
vor 11 Jahren |
Caleb James DeLisle
|
1cf68a2b2c
more work done on pathfinder, now it doesn't crach all the time
|
vor 11 Jahren |
Arceliar
|
45fb8b7df4
Switch to pinging once every GMRT, but also track if there's an outstanding ping for that node and do not ping if that's the case.
|
vor 11 Jahren |
Arceliar
|
3a6a0a9998
Allow a couple of missed pings before we assume a route is dead and destroy its reach.
|
vor 11 Jahren |
Caleb James DeLisle
|
e5d059ab13
Begin exporting the encoding schemes of nodes
|
vor 11 Jahren |
Caleb James DeLisle
|
de8352cad6
Now able to export data from new pathfinder
|
vor 11 Jahren |
Caleb James DeLisle
|
0c50b096b3
Beginning work on export of nodes and links
|
vor 11 Jahren |
Arceliar
|
e2e230d4d5
More testing.
|
vor 11 Jahren |
Caleb James DeLisle
|
ccb4220bec
Added versioning to the protocol, still not implemented version 1 yet.
|
vor 12 Jahren |
Micheal Smith
|
69d4044b57
Added modelines to source files.
|
vor 12 Jahren |