Caleb James DeLisle
|
63ff0a9571
Merge branch 'crashey' of git://github.com/Arceliar/cjdns into crashey
|
9 years ago |
Caleb James DeLisle
|
b0eb89516e
Added the ability to dump links in the node store
|
9 years ago |
Arceliar
|
6305865b0d
Better way to add buckets to dumptable.
|
9 years ago |
Caleb James DeLisle
|
e49eb95368
add a isBestLink to the pathfinder tree
|
9 years ago |
Caleb James DeLisle
|
efdf39c8cb
Merge branch 'parse_ip' of git://github.com/ehmry/cjdns into crashey
|
9 years ago |
Caleb James DeLisle
|
71aaab8e0f
Refactored some admin APIs to return Address data instead of non-standard forms
|
9 years ago |
Emery Hemingway
|
5b274d93cd
AddrTools_parseIp can handle shortened IPs, don't check length
|
9 years ago |
kpcyrd
|
0b6f855899
Allow anon access to NodeStore_getLink
|
9 years ago |
kpcyrd
|
199a318344
Allow anon access to NodeStore_nodeForAddr
|
10 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
|
23cc805347
Move eventBase out of public part of nodeStore
|
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
|
b5874010b5
isPeer() was hilariously screwed up
|
10 years ago |
Caleb James DeLisle
|
e9aad0d066
Simplify List interface and fixed some weird behavior with the last page of dumpTable
|
10 years ago |
Caleb James DeLisle
|
3005cac83c
Removed some old string.h portability stuff and replaced it with CString.h which is easier portability, also made TUNInterface and NetPlatform fully non-portable since they are not intended to be portable and portability code changes from time to time, putting them at risk since they are not often compiled.
|
10 years ago |
Caleb James DeLisle
|
0f3e478936
#1 if a node 'magically changes path', flush all outgoing links from it's next-up peer, #2 squeeze a bit of logic out of NodeStore and put it other places.
|
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
|
15ecfa5565
Gcc thinks these could be used uninitialized
|
10 years ago |
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.
|
10 years ago |
Caleb James DeLisle
|
f70518c9d3
bound the size of the nodestore
|
10 years ago |
Caleb James DeLisle
|
1f1cf83d4e
Work from over the weekend, crashey is less crashey (at least in the sim)
|
11 years ago |
Caleb James DeLisle
|
e569a8cb76
Tuning still needed but this one has the sound of a winner
|
11 years ago |
Caleb James DeLisle
|
cca56ad9a9
Finally got everything switched over to using the new pathfinder
|
11 years ago |
Caleb James DeLisle
|
2c25a476b3
Moved the code over to completely use the new pathfinder
|
11 years ago |
Caleb James DeLisle
|
92059fdaa4
Fixed the routing bug
|
11 years ago |
Caleb James DeLisle
|
76dd24b3ba
Getting closer, wow a lot of crashes though!
|
11 years ago |
Caleb James DeLisle
|
4ed88710b5
way more work on the new pathfinder
|
11 years ago |
Caleb James DeLisle
|
f68d7a1390
Lets tell the user when a link is 1 hop since it's so easy for us to calculate it
|
11 years ago |
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
|
11 years ago |
Caleb James DeLisle
|
874435a80f
If no ip is passed to NodeStore_getNode() rpc call, use the self-node
|
11 years ago |