135 Commits (8d2d94c1c0609f1ac8f56fe9ecf3eddb1d67d382)

Author SHA1 Message Date
  Ethan Buchman af0db599b0 minor fixes 7 years ago
  Ethan Buchman a969e24177 crank context timeouts 7 years ago
  Ethan Buchman 593c127257 rpc/lib/types: RPCResponse.Result is not a pointer 7 years ago
  Anton Kaliaev a01c226dc4
wsConnection: call onDisconnect 7 years ago
  Anton Kaliaev 4ffe9304ba
unsubscribe from all subscriptions on WS disconnect 7 years ago
  Ethan Buchman f7f4ba5e90 rpc/lib/server: minor changes to test 7 years ago
  Anton Kaliaev 61d76a273f
fixes from Bucky's and Emmanuel's reviews 7 years ago
  Anton Kaliaev f6539737de
new pubsub package 8 years ago
  Emmanuel Odeke a8b77359df
rpc/lib/server: separate out Notifications test 7 years ago
  Emmanuel Odeke e7fab7d4bf rpc/lib/server: update with @melekes and @ebuchman feedback 7 years ago
  Emmanuel Odeke 59556ab030 rpc/lib/server: add handlers tests 7 years ago
  Emmanuel Odeke 6e5cd10399
rpc/lib/client: jitter test updates and only to-be run on releases 7 years ago
  Silas Davis 4cb02d0bf2
Exploit the fact the BaseService's closed Quit channel will keep emitting quit signals to close both readRoutine and writeRoutine 7 years ago
  Silas Davis f6adddb4a8
Replace ResultsCh with ResponsesCh 7 years ago
  Silas Davis 01be6fa309
Fix WSClient blocking in the readRoutine after Stop() as it tries to write to ResultsCh 7 years ago
  Emmanuel Odeke 5504920ba3
rpc/lib/client: add jitter for exponential backoff of WSClient 7 years ago
  Adrian Brink 036d3b59a3 Address reviews 7 years ago
  Adrian Brink 782a836db0 Cleanup of code and code docs 7 years ago
  Silas Davis 3e3d53daef
Make RPCError an actual error and don't swallow its companion data 7 years ago
  Anton Kaliaev aae4e94998
make RPCRequest params not a pointer 7 years ago
  Anton Kaliaev d935a4f0a8
recover from panic in WS JSON RPC readRoutine 7 years ago
  Anton Kaliaev 5c331d8276
log a notification to help debug user issues 7 years ago
  Anton Kaliaev 13b9de6778
return missing package declaration 7 years ago
  Anton Kaliaev 99c4e48038
return missing package declaration 7 years ago
  Anton Kaliaev a3adac3787
[rpc] do not try to parse params if they were not provided (Refs #708) 7 years ago
  Anton Kaliaev 3702cb7e7c
restore rpc/lib readme as doc.go (Refs #710) [ci skip] 7 years ago
  Zach Ramsay 136b6a7673 rpc/lib: remove dead files, closes #710 7 years ago
  Zach Ramsay d56b44f3a5 all: no more anonymous imports 7 years ago
  Anton Kaliaev 45ff7cdd0c rewrite ws client to expose a callback instead of a channel 7 years ago
  Alexandre Thibault ce36a0111a rpc: subscribe on reconnection (#689) 7 years ago
  Alexandre Thibault 382bead548 rpc: fix client websocket timeout (#687) 7 years ago
  Anton Kaliaev f9479b34cb
sleep time should be greater than readTimeout (5 sec) 7 years ago
  Ethan Buchman ddb3d8945d p2p: allow listener with no external connection 7 years ago
  Anton Kaliaev f8b152972f return method not found error 7 years ago
  Anton Kaliaev 95875c55fc ID must be present in both request and response 7 years ago
  Anton Kaliaev 7fadde0b37 check for request ID after receiving it 7 years ago
  Anton Kaliaev e36c79f713 capitalize RpcError 7 years ago
  Anton Kaliaev b700ed8e31 remove check for non-empty message as it should always be present 7 years ago
  Anton Kaliaev f74de4cb86 include optional data field in error object 8 years ago
  Anton Kaliaev 6c1572c9b8 fix invalid memory address or nil pointer dereference 8 years ago
  Dave Bryson 60a1f49a5c updated json response to match spec by @davebryson 8 years ago
  Ethan Buchman 9dde1a0bd4 rpc: comments 7 years ago
  Anton Kaliaev 2fd8496bc1
correct handling of pings and pongs 7 years ago
  Anton Kaliaev 236489aecf
backlog must always have higher priority 7 years ago
  Ethan Buchman 797acbe911 ws: small comment 7 years ago
  Anton Kaliaev 9b5f21a650
[ws-server] reset readTimeout when we receive something 7 years ago
  Anton Kaliaev 8267920749
[ws-client] write normal close message 7 years ago
  Anton Kaliaev 6c85e4be4f
change server ping period to be less frequent 7 years ago
  Anton Kaliaev 23a87304cc
add a comment for PingPongLatencyTimer [ci skip] 7 years ago
  Anton Kaliaev c14b39da5f
make RPC server's ping period and pong wait configurable via options 7 years ago