Ryan Tharp
|
7baf69ae00
|
update seedNode format in config, try ip_url as fallback
|
5 years ago |
Ryan Tharp
|
06e1a0eec3
|
window.lokiFeatureFlags.onionRequestPaths => onionRequestHops, needPaths => nodesNeededPerPaths
|
5 years ago |
Ryan Tharp
|
cc4664e27f
|
buildNewOnionPaths() now uses onionRequestPaths control, include count of paths in log
|
5 years ago |
Ryan Tharp
|
b119a1d0d4
|
findMatchingSnode => compareSnodes
|
5 years ago |
Ryan Tharp
|
f6233b91a9
|
getSwarmNodesForPubKey make fetching hashes optional and off by default, get version summary when all downloaded, _getVersion retry bug fix, other notes
|
5 years ago |
Ryan Tharp
|
73b6401097
|
additional lint-full
|
5 years ago |
Ryan Tharp
|
3f5a667989
|
remove separate version pool vars, loki_primitive refactor, make sure _getAllVerionsForRandomSnodePool can't stack, exception clean up, findMatchingSnode refactor, getSwarmNodesForPubKey() now loads the lasthash, getNodesMinVersion is no longer async, _getSnodesForPubkey no longer takes a snode
|
5 years ago |
Ryan Tharp
|
90d2bbb338
|
refactor refreshRandomPool into small functions, exception clean up
|
5 years ago |
Maxim Shishmarev
|
804b4e54ac
|
Merge pull request #1041 from msgmaxim/lns
API implementation for LNS
|
5 years ago |
Maxim Shishmarev
|
932ea23ceb
|
API implementation for LNS
|
5 years ago |
Ryan Tharp
|
9ade8cbb1e
|
using undefined instead of false
|
5 years ago |
Ryan Tharp
|
62169e74f6
|
clear refreshRandomPoolPromise lock so you can refresh your randomPool, handle edge case if not enough snodes in randomPool for guards
|
5 years ago |
Ryan Tharp
|
75ef07048a
|
make sure retries is set
|
5 years ago |
Ryan Tharp
|
a7981b1645
|
add some notes
|
5 years ago |
Ryan Tharp
|
6fdde32948
|
convert reduce back to for...of loop per Maxim, markRandomNodeUnreachable() make handle edge removal cases and optimize snode lookup
|
5 years ago |
Ryan Tharp
|
40951f0579
|
this.versionsRetrieved, handle ECONNREFUSED as bad otherwise retry in 1s, randomize list of snodes, only report status every 10%
|
5 years ago |
Ryan Tharp
|
91b254d355
|
versionMap reverse lookup, markRandomNodeUnreachable removes from versionPools now, lint
|
5 years ago |
Ryan Tharp
|
330b2b1b16
|
sort random pool into versions, getRandomProxySnodeAddress to use 2.0.2 or newer versions
|
5 years ago |
Maxim Shishmarev
|
d9759bb40a
|
Explicitly throw on error
|
5 years ago |
Maxim Shishmarev
|
0221e7b8c0
|
fix linter warnings
|
5 years ago |
Maxim Shishmarev
|
f2ef69f00d
|
Handle timeouts in guard testing; address some review comments
|
5 years ago |
Maxim Shishmarev
|
b786df8045
|
Remove limit on requested nodes
|
5 years ago |
Maxim Shishmarev
|
3a746109ea
|
Path building for onion requests
|
5 years ago |
Ryan Tharp
|
7a0e972ca4
|
refactor getRandomPoolLength out of markRandomNodeUnreachable
|
5 years ago |
Ryan Tharp
|
4bb2e83cb3
|
lint
|
5 years ago |
Ryan Tharp
|
99679741c1
|
some renames, improve refresh random pool failures better
|
5 years ago |
Ryan Tharp
|
241e64b94b
|
lint
|
5 years ago |
Ryan Tharp
|
e3545fa338
|
change unreachableNode 2nd param to object, put lock around getRandomSnodeAddress so they can't stack, markRandomNodeUnreachable returns remaining count, adjust logging
|
5 years ago |
Mikunj
|
a09e370e1d
|
Added testing on pull request
Disable proxy in tests.
|
5 years ago |
Ryan Tharp
|
4a55040688
|
improve code quality
|
5 years ago |
Ryan Tharp
|
69dcfa2845
|
getSwarmNodes refactor to include results from RANDOM_SNODES_TO_USE nodes, make refreshSwarmNodesForPubKey return filteredNodes, initialiseRandomPool() retries 3 times with delays
|
5 years ago |
Ryan Tharp
|
0223f40de2
|
lint
|
5 years ago |
Ryan Tharp
|
4a65a5aa12
|
handle JSON parsing error
|
5 years ago |
Ryan Tharp
|
3bba0571a0
|
markRandomNodeUnreachable() refactor, notes/logging
|
5 years ago |
Ryan Tharp
|
739ac4ce4e
|
include useful info on error
|
5 years ago |
Maxim Shishmarev
|
3f58dea035
|
Remove mixpanel
|
5 years ago |
Maxim Shishmarev
|
02320334f0
|
Remove P2P
|
5 years ago |
Ryan Tharp
|
f2233c20c7
|
add missing semicolon
|
5 years ago |
Ryan Tharp
|
e51a030dc9
|
include log
|
5 years ago |
Ryan Tharp
|
6ab16d7e56
|
fix case so function exists, give a warning when initialiseRandomPool or getSwarmNodes fail
|
5 years ago |
Ryan Tharp
|
1a785a2435
|
fix getSwarmNodes exception handler, lint
|
5 years ago |
Maxim Shishmarev
|
a195c98061
|
Add a feature flag for snode proxy
|
5 years ago |
Ryan Tharp
|
51eaa90823
|
use window.mixpanel, remove eventEmitter
|
6 years ago |
Ryan Tharp
|
88b44390bf
|
Desktop Analytics
|
6 years ago |
sachaaaaa
|
3beb6004db
|
Fix last hash all being NULL in database
|
6 years ago |
Beaudan Brown
|
9beea2cbd3
|
Enforce curlies completely and lint with new settings
|
6 years ago |
Beaudan Brown
|
27976a053c
|
Save the last retrieved message for public chats on the conversation
|
6 years ago |
Beaudan
|
1c9fe5b9f5
|
Make sure we are purging nodes from retrieve swarm list, and also filter 0.0.0.0 ips when getting snodes from wrong swarm error
|
6 years ago |
Beaudan
|
df2c4af67c
|
Run lint and check for ip or address when removing unreachable nodes
|
6 years ago |
Beaudan
|
68c1932b7b
|
Little better arguments
|
6 years ago |