Commit Graph

34 Commits

Author SHA1 Message Date
Jeromy
8d85aedeff clean up output channel handling logic to prevent send on closed channels 2020-05-13 16:31:17 -07:00
Łukasz Magiera
971282a9a5 jsonrpc: Test hanging ctx on unclean disconnect 2020-05-01 21:30:32 +02:00
Jeromy
f4948dcba0 remove api dependency on sealing fsm package 2020-04-23 15:33:59 -07:00
jsign
3106f512b2 define method retry freq as a constant
Signed-off-by: jsign <jsign.uy@gmail.com>
2020-01-26 21:52:19 -03:00
jsign
54f2e6ea3a extra fixes
Signed-off-by: jsign <jsign.uy@gmail.com>
2020-01-24 22:48:30 -03:00
jsign
dbd51ff8e7 fix issue #127
Signed-off-by: jsign <jsign.uy@gmail.com>
2020-01-24 21:15:49 -03:00
Jakub Sztandera
1ed62628a7
Update go-log to v2
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-08 20:22:31 +01:00
Łukasz Magiera
630134486d Mostly fix deals 2019-11-05 19:40:51 +01:00
wanghui
2aa8eebb99 move select 2019-10-31 17:39:42 +08:00
wanghui
8cb14335c3 use reflect select 2019-10-31 13:11:10 +08:00
wanghui
03ca08d9bf fix panic when close miner 2019-10-30 18:23:13 +08:00
whyrusleeping
6e90066a20 dont hang requests if websockets server shuts down 2019-10-20 15:37:51 +09:00
Jakub Sztandera
edd7085712
Update filebeat
Change log of rpc buffer as I want to set up alert when it goes to high

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-11 18:02:21 +02:00
whyrusleeping
86deb7528c fix websocket closing again 2019-10-08 17:29:37 +09:00
Łukasz Magiera
2874022251 jsonrpc: Channel buffeering 2019-09-27 13:37:44 +02:00
Łukasz Magiera
f2ecb772fa repo: Close datastore in Close 2019-09-17 16:34:22 +02:00
Łukasz Magiera
cad3efb9ba Command to list sealed blocks 2019-08-29 17:48:19 +02:00
Jakub Sztandera
81b5f46062 Implement RPC tracing
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-26 08:50:21 +02:00
Łukasz Magiera
7ec9d45915 gofmt 2019-07-25 14:54:19 +02:00
Łukasz Magiera
77bc243110 jsonrpc: Break NewMergeClient into smaller functions 2019-07-24 14:20:57 +02:00
Łukasz Magiera
f0e807dabb Fix jsonrpc client after splitting apis 2019-07-24 02:40:19 +02:00
Łukasz Magiera
6554db3e5f auth: Addres review 2019-07-24 00:38:52 +02:00
Łukasz Magiera
a88be8d1df auth: Store token in repo 2019-07-24 00:38:52 +02:00
Łukasz Magiera
2f0a088b18 jsonrpc: Move ws handler state to a struct 2019-07-23 03:20:48 +02:00
Łukasz Magiera
40fa1becb5 jsonrpc: Handle closing channels 2019-07-23 02:40:45 +02:00
Łukasz Magiera
17c76abdb2 jsonrpc: Panic less in client 2019-07-23 02:40:01 +02:00
Łukasz Magiera
dda1dfdc80 jsonrpc: don't panic on not found chan handlers 2019-07-23 02:40:01 +02:00
Łukasz Magiera
fd40f9a82a jsonrpc: gofmt 2019-07-23 02:40:01 +02:00
Łukasz Magiera
ff4d1b5819 jsonrpc: Channel support 2019-07-23 02:40:01 +02:00
Łukasz Magiera
2b651ad04d jsonrpc: better server errors on unmarshal 2019-07-18 13:07:28 +02:00
Łukasz Magiera
e32d7aee12 jsonrpc: wrap result unmarshal errors 2019-07-18 12:46:32 +02:00
Łukasz Magiera
661043f5c8 Lint fixes 2019-07-15 18:34:55 +02:00
Łukasz Magiera
1153f050bb Context cancellation over websockets 2019-07-15 18:21:48 +02:00
Łukasz Magiera
6a20d0dafe jsonrpc: Websocket server 2019-07-12 19:12:38 +02:00