172 Commits (b2475227a5604a0560db21eba4d463b0f8334c08)

Author SHA1 Message Date
  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 7 years ago
  Anton Kaliaev 6c1572c9b8 fix invalid memory address or nil pointer dereference 7 years ago
  Dave Bryson 60a1f49a5c updated json response to match spec by @davebryson 7 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
  Anton Kaliaev 57eee2466b
make WSClient thread-safe 7 years ago
  Anton Kaliaev 5d66d1c28c
fixes from review 7 years ago
  Anton Kaliaev 0013053fae
allow to change pong wait and ping period 7 years ago
  Anton Kaliaev 1abbb11b44
do not exit from reconnectRoutine! 7 years ago
  Anton Kaliaev 54903adeff
add IsReconnecting and IsActive methods 7 years ago
  Anton Kaliaev c08618f7e9
expose latency timer on WSClient 7 years ago
  Anton Kaliaev d578f7f81e
biff up WS client 7 years ago
  Ethan Buchman 0d1fa8e884 fixes from review 7 years ago
  Ethan Buchman e2ed15fa02 rpc: SetWriteDeadline for ws ping. fixes #553 7 years ago
  Ethan Buchman b6031d5f4b rpc/lib: set logger on ws conn 7 years ago
  Ethan Buchman 5c29d7aba9 rpc/lib: test tcp and unix 7 years ago
  Ethan Frey aac85a14f0 httpDialer accepts no prefix or http:// as tcp:// 7 years ago
  Anton Kaliaev b4ece65726
standardize key for errors (should be "err") 7 years ago
  Ethan Frey 2b324b7eb9 RPC returns pretty formated json 7 years ago