28 Commits (e76ef2a8a134b282af038a572e829ff4e4bb4eea)

Author SHA1 Message Date
  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 a3adac3787
[rpc] do not try to parse params if they were not provided (Refs #708) 7 years ago
  Alexandre Thibault 382bead548 rpc: fix client websocket timeout (#687) 7 years ago
  Anton Kaliaev f8b152972f return method not found error 7 years ago
  Anton Kaliaev 7fadde0b37 check for request ID after receiving it 7 years ago
  Anton Kaliaev f74de4cb86 include optional data field in error object 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 9b5f21a650
[ws-server] reset readTimeout when we receive something 8 years ago
  Anton Kaliaev 6c85e4be4f
change server ping period to be less frequent 8 years ago
  Anton Kaliaev c14b39da5f
make RPC server's ping period and pong wait configurable via options 8 years ago
  Ethan Buchman 0d1fa8e884 fixes from review 8 years ago
  Ethan Buchman e2ed15fa02 rpc: SetWriteDeadline for ws ping. fixes #553 8 years ago
  Ethan Buchman b6031d5f4b rpc/lib: set logger on ws conn 8 years ago
  Anton Kaliaev b4ece65726
standardize key for errors (should be "err") 8 years ago
  Ethan Frey 2b324b7eb9 RPC returns pretty formated json 8 years ago
  Anton Kaliaev f803544195
new logging 8 years ago
  Ethan Buchman 75989342b0 fixes from rebase 8 years ago
  Ethan Buchman 9860c8fee1 rpc: cleanup some comments [ci skip] 8 years ago
  Ethan Frey 4a1b714ca4 All tests pass without go-wire json ptr madness 8 years ago
  Ethan Frey 6ba799132c json.RawMessage in RPCRequest to defer parsing 8 years ago
  Ethan Buchman ac28b12fa8 add readReflectJSON from wire 8 years ago
  Ethan Buchman acfbea6d49 rpc: decode args without wire 8 years ago
  Ethan Frey 6c60c07f16 BROKEN: attempt to replace go-wire.JSON with json.Unmarshall in rpc 8 years ago
  Ethan Buchman cc6dde96c1 rpc -> rpc/lib and rpc/tendermint -> rpc 8 years ago
  Ethan Buchman 9851265d4f rpc: use HTTP error codes 8 years ago
  Ethan Buchman 9e82d132ce go-rpc -> tendermint/rpc 8 years ago
  Ethan Buchman c55d83281a move into rpc package 8 years ago
  Ethan Buchman 15d5b2ac49 use tmlibs 8 years ago
  Ethan Buchman a01cff9ce6 jsonParamsToArgsRPC func 8 years ago
  Anton Kaliaev d6fd0c4ca0
fix backward compatibility for WS 8 years ago
  Ethan Buchman 8c38543357 fix error msg 8 years ago
  Ethan Buchman c3295f4878 RPCRequest.Params can be map[string]interface{} or []interface{} 8 years ago
  Ethan Frey 9d18cbe74e Remove race condition between read go-routine and stop 8 years ago
  Anton Kaliaev afc39febed
close ws connection on Stop 8 years ago
  Anton Kaliaev db69845ded
introduce errors pkg 8 years ago
  Anton Kaliaev ff90224ba8
fix "Expected map but got type string" error 8 years ago
  Anton Kaliaev 1ddb60b6e7
refactor jsonParamsToArgs 8 years ago
  Anton Kaliaev fed84f875c
fix jsonParamsToArgsWS index error 8 years ago
  Anton Kaliaev 2dc6ab3896
use golang default if an arg is missing (Refs #7) 8 years ago
  Anton Kaliaev e1d5873bdf
support key-value params in JSONRPC (Refs #1) 8 years ago
  Matt Bell 86506cd4f8 Handle quoted and hex string type HTTP args for both 'string' and '[]byte' type function args 8 years ago
  Matt Bell 34a806578a Handle hex strings and quoted strings in HTTP params 8 years ago
  Jae Kwon 161e36fd56 QuitService->BaseService 8 years ago
  Ethan Buchman 855255d73e use EventSwitch interface; less logging 8 years ago
  Ethan Buchman 39ee59c26e server: return result with error 9 years ago
  Ethan Buchman e8538d606a add blank client interface 9 years ago