Commit Graph

127 Commits (0668798b72795d277f2ba6cf84a5bf4629543daa)

Author SHA1 Message Date
Audric Ackermann 0668798b72
Merge remote-tracking branch 'upstream/clearnet' into hooking-up-sending 5 years ago
Audric Ackermann aa797f6670
various changes to be reverted. kind of working session chats only. 5 years ago
Ryan Tharp 9c1d2fad78 scope buildNewOnionPathsWorker call properly 5 years ago
Audric Ackermann cf7635428a
Merge remote-tracking branch 'upstream/clearnet' into hooking-up-sending 5 years ago
Mikunj b85348569b Merge branch 'clearnet' into folder-restructure 5 years ago
Ryan Tharp a905703cb4 move internal buildNewOnionPaths function into buildNewOnionPathsWorker per review 5 years ago
Audric Ackermann cf94961736
throw an error if getSwarmNodes cannot find the conversation 5 years ago
Ryan Tharp cec5866c22 Merge branch 'fileonion' of https://github.com/neuroscr/loki-messenger into fileonion 5 years ago
Ryan Tharp e2d5d9e793 put lock around buildNewOnionPaths since it's called multiple times 5 years ago
Ryan Tharp 9e4e524807 lint 5 years ago
Ryan Tharp a22dbbc37e
Merge branch 'clearnet' into fileonion 5 years ago
Mikunj 3ea0689d2f Linting 5 years ago
Mikunj e6139a5463 Merge branch 'clearnet' into message-sending-refactor 5 years ago
Maxim Shishmarev ecde5c235a More robust guard node selection 5 years ago
Audric Ackermann fa853538d0
LINT after prettier upgrade 5 years ago
Vincent 07e7afeb31 Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into lns-map 5 years ago
Ryan Tharp 048b5558c1 lint 5 years ago
Ryan Tharp 355005b0c1 buildNewOnionPaths() refresh if too few nodes, mark markPathAsBad as non-async, getOnionPath() retry until good paths, logging adjustment, guards 5 years ago
Ryan Tharp 2d715fdfed getOnionRequestNumber=>assignOnionRequestNumber 5 years ago
Ryan Tharp 1f9df11a0e better seedNode error handling, getOnionRequestNumber(), getOnionPath() fixes 5 years ago
Vincent 47a2ecdf95 LNS mapping finalise 5 years ago
Ryan Tharp a5c61b7a9d
fix snodes retrieval from seed 5 years ago
Ryan Tharp ead2f62b6d
Merge branch 'clearnet' into sender-keys 5 years ago
Ryan Tharp 7baf69ae00 update seedNode format in config, try ip_url as fallback 5 years ago
Maxim Shishmarev debb922521 Medium groups with sender keys essentials 5 years ago
Vincent 4033b70f5c Refined error reporting 5 years ago
Vincent 345c7b12d9 lint 5 years ago
Vincent cd5a2f75de Fix MAX_SAFE_INTEGER on timeout 5 years ago
Vincent d78a49d689 Constants 5 years ago
Vincent 8992234dd7 lns mapping method rewrite 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