Commit Graph

52 Commits (06e1a0eec317684dccd70ad35e10215b78a2a1c5)

Author SHA1 Message Date
Ryan Tharp cd8f67a93a refactor getPathString() out, clean up if result branching 5 years ago
Ryan Tharp 5ef17375c1 sendOnionRequest() now uses onionRequestPaths control, lokiFetch checkResponse() so we handle wrong PoW/Timestamp/Swarm in proxy and onion requests 5 years ago
Ryan Tharp 43b8b779f2 add note 5 years ago
Ryan Tharp b3278a4edf handle timestamp errors better 5 years ago
Ryan Tharp 73b6401097 additional lint-full 5 years ago
Ryan Tharp 9927eab539 more loki_primitive unification, remove unneeded trace 5 years ago
Ryan Tharp bee436ebbb 2.0.2-3 loki-storage support: handle 504, adjust log level/logging/notes 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 55acf4c24f make log less confusing 5 years ago
Ryan Tharp c5573cc422 handle edgecase where there's less than 2 snodes in the randomPool (and it wouldn't trigger a refresh), log style, better warning if sendToProxy returns false 5 years ago
Mikunj a9555e8439 Linting 5 years ago
Mikunj 496afa85cb Remove libsodium-wrapper.
Remove LokiSnodeChannel as we weren't using it.
5 years ago
Ryan Tharp 055ba2aa66 fix bug with missing ciphertext in log msg, remove unneeded space from log messages 5 years ago
Ryan Tharp 8ceb47823f fix logging style 5 years ago
Ryan Tharp c8b097c60e clean up logging a bit 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 3a746109ea Path building for onion requests 5 years ago
Ryan Tharp 7a0e972ca4 refactor getRandomPoolLength out of markRandomNodeUnreachable 5 years ago
Ryan Tharp 241e64b94b lint 5 years ago
Ryan Tharp 1c78e1a701 sendToProxy use agent, handle 401/500s, retry system 5 years ago
Mikunj a09e370e1d Added testing on pull request
Disable proxy in tests.
5 years ago
Ryan Tharp a02fe95556 detect not ready through statusCode instead of string, log any non-200 statusCode, warn if no reply at all, try to debug iv errors, don't call .json() on falsish values 5 years ago
Ryan Tharp 774c468c39 handle non-base64 responses appropriately, include which server failed in logs 5 years ago
Ryan Tharp 3ebb308175 lint 5 years ago
Ryan Tharp 145cfd762d handle inner JSON parsing errors 5 years ago
Ryan Tharp 99afd33fb4 improve logging 5 years ago
Ryan Tharp c1cea3ca04 turn off snode proxy logging 5 years ago
Ryan Tharp 569485f42a put back seemingly now required process.env.NODE_TLS_REJECT_UNAUTHORIZED 5 years ago
Ryan Tharp 19b007696c
address missing comma for lint 5 years ago
Ryan Tharp 646c3b2f26 disable unauthorization rejection when making https requests limited to lokiRpc 5 years ago
Ryan Tharp 3969817a0a lint
lint

lint
5 years ago
Maxim Shishmarev a195c98061 Add a feature flag for snode proxy 5 years ago
Beaudan Campbell-Brown 73b417e605
Merge pull request #371 from BeaudanBrown/testnet
Separate testnet
6 years ago
Beaudan 492bb3723a Move pubkey truncation to loki_rpc and add window function 6 years ago
Maxim Shishmarev 09d279dd93 Show correct error on incorrect timestamp 6 years ago
Beaudan 96f7949ac8 Update endpoint for storage server and p2p 6 years ago
Beaudan 0948a344d2 Review refactor 6 years ago
Beaudan d5546b9473 Lint 6 years ago
Beaudan 6b2b9ce926 Remove default port and use port from storage server responses 6 years ago
Beaudan eea2b8e6a7 Do port null check inside rpc call 6 years ago
Beaudan dad52a784d Change wrong pow http response 6 years ago
Beaudan dbcaaf98dc Lint 6 years ago
Beaudan c27d1ef69a Clean some stuff in loki_rpc and get new difficulty from successful requests 6 years ago
Beaudan e520bf109a Persist PoW difficulty and update if get response from snodes 6 years ago
Mikunj 147861790b Always send application/json as content type in rpc. 6 years ago
beaudan 54bd75e9a6 Wait for a longer time after failed poll and extend default timeout 6 years ago
Beaudan 377e90bafe Include long polling header for retrieve messages, extend retrieveMessages timeout to 40 seconds, reduce default tmeout to 5 seconds, remove dev/prod poll time difference 6 years ago
Beaudan f69e6ec763 Disable encryption 6 years ago