Valentin Lorentz
|
98c704ce1c
Replace address checks by function calls.
|
преди 7 години |
soredake
|
c49cc24869
links update
|
преди 7 години |
Kubuxu
|
a38e58b1c7
Remove usage of Bits_memcpyConst and Bits_memmoveConst
|
преди 9 години |
Arceliar
|
ab2b62cfde
Cost bugfixes and tuning
|
преди 9 години |
Arceliar
|
83e61aee6e
Switch to cost instead of reach. Builds but needs debugging.
|
преди 9 години |
Caleb James DeLisle
|
3f77989801
Using UINT64_MAX as an int64 makes -1
|
преди 9 години |
Caleb James DeLisle
|
054fd2d9ab
Use long long because otherwise it's going to be screwy on 32bit machines
|
преди 9 години |
Caleb James DeLisle
|
7fb3c8b161
Drop checkpeers() which is re-doing splitlinks, also fix blacklist and name it blacklist which is more intuitive
|
преди 9 години |
Caleb James DeLisle
|
d6da03f534
Attempt again to fix splitLinks which was not working correctly at all
|
преди 9 години |
Caleb James DeLisle
|
b03bd47c8f
refactor splitLinks to only use the most recent unsplit links and to keep refilling when links are taken out
|
преди 9 години |
Caleb James DeLisle
|
1378493233
Added a new rumorMill for splitting links which are bestParent links
|
преди 9 години |
Arceliar
|
31c735c93c
Try to have the janitor passively split links a little more efficiently.
|
преди 9 години |
Blake Burghgrave
|
767c30777b
Be less eager to discover paths, and check that we still know the destination before pinging from the linkMill.
|
преди 9 години |
Caleb James DeLisle
|
0af9323b69
Improve splitLinks and prevent re-pinging the same nodes over and over from nodeMill and linkMill
|
преди 9 години |
Caleb James DeLisle
|
12720d9d1c
make janitor refuse to ping a node which it has already pinged within 30 seconds ago, this will suppress some resonant conditions
|
преди 9 години |
Caleb James DeLisle
|
f7b7ae1e1e
Make rumormills accessable for debugging purposes
|
преди 9 години |
Caleb James DeLisle
|
258a2c4a46
it all seems to work well enough
|
преди 9 години |
Caleb James DeLisle
|
ec8c4fdd62
Added -c to search to allow for more exhaustive searches, also sort sessionStats
|
преди 9 години |
Caleb James DeLisle
|
ff287fbbff
getpeers should not splice the address in order to be clearer
|
преди 9 години |
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 години |
Arceliar
|
c47ec81446
Fix a bug where we never reconnect. Probably possible to clean this up a little.
|
преди 10 години |
Arceliar
|
534c1955d0
Janitor response callbacks should always check links to orphaned nodes.
|
преди 10 години |
Arceliar
|
29f5ba73e4
Segfaultin' 2: Electric Boogaloo
|
преди 10 години |
Arceliar
|
e09ea3bbef
typo == segfault
|
преди 10 години |
Arceliar
|
a7f9c21a3a
Use node ping time information in janitor
|
преди 10 години |
Arceliar
|
b90ed55ac9
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.
|
преди 10 години |
Arceliar
|
b680ff3be3
return
|
преди 10 години |
Arceliar
|
247d5d2dd6
Make checkPeers return a bool for if it did anything. Have tryExistingNode try checkPeers on the node before pinging it. Modify linkMill/nodeMill/tryRandomLink priorities, the mills now eventually empty.
|
преди 10 години |
Arceliar
|
e9b1e28b30
Janitor stuff. For the nodeMill, require that nodes are in some way useful (e.g. needed for keyspace or are an unknown hop on someone's best path). Add checkPeers to dht maintenance.
|
преди 10 години |
Caleb James DeLisle
|
2155c56cc8
Janitor was adding ffff nodes to the DHT RM and splitLinks was flooding the linkFinder RM
|
преди 10 години |