Commit Graph

33 Commits (01882521c06da2dfdc91f1357d2505c766c5d6c4)

Author SHA1 Message Date
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
Beaudan fa7042c043 Added wrong swarm error which gets thrown if we receive a 421 error, update the swarm lists if we get one of those errors 6 years ago
Beaudan 0f771d4db4 Rename loki_fetch to loki_rpc 6 years ago