Casper Ti. Vector
|
2298997092
Manual merge 79a60b9
|
před 4 roky |
Caleb James DeLisle
|
3f6a552535
Add a 'do not disturb' flag to the DHT protocol so that light nodes can opt out of being part of the DHT
|
před 4 roky |
soredake
|
c49cc24869
links update
|
před 7 roky |
Caleb James DeLisle
|
7adf9cc9b9
Removed usage of NumberCompress, poisoned dht code in SUBNODE and added Core_nodeInfo() for getting basic info from the node
|
před 8 roky |
Lars Gierth
|
d3cb49547a
dht: remove dead Node_setCost()
|
před 8 roky |
Caleb James DeLisle
|
54af8cca0c
Change Linker_require() to allow a trailing semicolon
|
před 8 roky |
Arceliar
|
25011ecca6
Get cost working somewhat reasonably.
|
před 9 roky |
Arceliar
|
83e61aee6e
Switch to cost instead of reach. Builds but needs debugging.
|
před 9 roky |
Caleb James DeLisle
|
b5be1d3beb
refactoring of nodestore, get ready for assertions ! :D
|
před 9 roky |
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
|
před 9 roky |
Caleb James DeLisle
|
33815d555b
tuning and improvements to --bench
|
před 9 roky |
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.
|
před 10 roky |
Arceliar
|
c47ec81446
Fix a bug where we never reconnect. Probably possible to clean this up a little.
|
před 10 roky |
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
|
před 10 roky |
Caleb James DeLisle
|
b3567f5626
discoverLinkC() -- a new discoverLink implementation which fixes/splits links shallow-first
|
před 10 roky |
Caleb James DeLisle
|
d2e4b84680
Switched from node->bestParent to Node_getBestParent() and Node_setParentReachAndPath() with appropriate checks
|
před 10 roky |
Caleb James DeLisle
|
f9fdd8163d
Moved setReach() into Node.h so it's really a private field
|
před 10 roky |
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.
|
před 10 roky |
Caleb James DeLisle
|
f70518c9d3
bound the size of the nodestore
|
před 10 roky |
Caleb James DeLisle
|
f8e1577e23
Removed a duplicated piece of code and defer freeing of links until the end of the discoverNode() cycle
|
před 10 roky |
Arceliar
|
a90055c9d5
Remove obsolete pingspam code.
|
před 10 roky |
Caleb James DeLisle
|
cca56ad9a9
Finally got everything switched over to using the new pathfinder
|
před 10 roky |
Caleb James DeLisle
|
2c25a476b3
Moved the code over to completely use the new pathfinder
|
před 10 roky |
Caleb James DeLisle
|
ec10920ee3
a little less crashey
|
před 11 roky |
Caleb James DeLisle
|
4ed88710b5
way more work on the new pathfinder
|
před 11 roky |
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
|
před 11 roky |
Caleb James DeLisle
|
dc1133fdaf
Merged in master
|
před 11 roky |
Arceliar
|
fe1b40e887
More reach/latency work.
|
před 11 roky |
Caleb James DeLisle
|
f166bf6d68
Updated NodeStore a bit further
|
před 11 roky |
Caleb James DeLisle
|
1cf68a2b2c
more work done on pathfinder, now it doesn't crach all the time
|
před 11 roky |