98 Commits (cb9743e5671776d683cdb9a51de7d12854a2acae)

Author SHA1 Message Date
  Anton Kaliaev c6b2334fa3
check for error when stopping WSClient 7 years ago
  Anton Kaliaev 69b5da766c
service#Start, service#Stop signatures were changed 7 years ago
  Ethan Buchman 2e76b23c9a rpc: fix tests 7 years ago
  Ethan Buchman 9529f12c28 more linting 7 years ago
  Zach Ramsay 6f3c05545d fix new linting errors 7 years ago
  Zach Ramsay c84c7250ba linting: few more fixes 7 years ago
  Zach Ramsay 478a10aa41 Write doesn't need error checked 7 years ago
  Zach Ramsay d033470817 lil fixes 7 years ago
  Zach Ramsay a15c7f221d linting: moar fixes 7 years ago
  Zach Ramsay d7cb291fb2 errcheck; sort some stuff out 7 years ago
  Zach Ramsay 68e7983c70 linting errors: afew more 7 years ago
  Zach Ramsay 8f0237610e linting errors: clean it all up 7 years ago
  Zach Ramsay b75d4f73e7 errcheck: PR comment fixes 7 years ago
  Zach Ramsay 57ea4987f7 linting: apply errcheck part1 7 years ago
  Zach Ramsay 1721543e5c linting: apply misspell 7 years ago
  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