Łukasz Magiera
35b1963eeb
gofmt
2020-05-01 21:51:31 +02:00
Łukasz Magiera
4014cbdb44
jsonrpc: Correctly cancel server-side contexts on lost connection
2020-05-01 21:50:34 +02:00
Łukasz Magiera
971282a9a5
jsonrpc: Test hanging ctx on unclean disconnect
2020-05-01 21:30:32 +02:00
Łukasz Magiera
9f2df68906
workers: handle disconnecting workers more gracefully
2020-05-01 20:15:06 +02:00
Łukasz Magiera
6077edb3d0
jsonrpc: Test channel closing on when connection drops
2020-05-01 16:52:05 +02:00
Łukasz Magiera
be439d3b13
Merge remote-tracking branch 'origin/master' into testnet/3
2020-04-30 13:03:08 +02:00
Jeromy
f4948dcba0
remove api dependency on sealing fsm package
2020-04-23 15:33:59 -07:00
Jeromy
216072468f
handle websocket clients disconnecting more properly
2020-04-20 09:52:16 -07:00
Łukasz Magiera
0417e4bd0c
pond: Use tipestKeys for state calls
2020-04-03 01:09:31 +02:00
Jakub Sztandera
06ce4f21c5
Warn on non zero result with error
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-03-14 15:08:24 +01:00
Jim Pick
b6d5ea629b
Make websocket connection upgrade header check case-insensitive
...
I was having troubles configuring an nginx reverse-proxy when
using Websockets.
It turns out my configuration was sending a "Connection: upgrade"
header, but Lotus expected "Connection: Upgrade".
This commit converts the check to be case-insensitive.
Some of the examples on the MDN page show lower-case "upgrade",
so I think it's not unusual for the usage to vary.
2020-03-13 13:07:39 -07:00
Jakub Sztandera
21b34ba133
Fix chan handling
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-03-11 19:14:49 +01:00
Jakub Sztandera
8d870a03b5
Fix Error and Result being returne at the same time in JSON-RPC
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-03-11 18:48:02 +01:00
whyrusleeping
24bf720a9a
Merge branch 'master' into testnet/3
2020-03-07 16:46:12 -08:00
whyrusleeping
16096e2c71
some go vet fixes
2020-03-05 22:46:07 -08:00
Łukasz Magiera
76698fe2db
jsonrpc: Don't try to reconnect on the server side
2020-03-05 01:34:29 +01:00
Nate Walck
7db39115e8
Fixed ctx issue, changed to track failures instead of success
2020-02-27 23:43:52 -05:00
Nate Walck
353c5d8b12
Relocation opencensus metrics to its own package and add more node stats
2020-02-27 21:49:18 -05: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
Łukasz Magiera
fbc0330fa8
jsonrpc: Fix channel registration deadlock
2020-01-21 14:48:17 +01:00
Łukasz Magiera
d1f419c9d1
jsonrpc: Fix channel closing race
2020-01-20 19:21:16 +01: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
2e95a53679
Wire up faults in fPoSt
2019-12-17 23:33:08 +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
Łukasz Magiera
fabd074165
on chain deals: Deals make it to the chain
2019-10-23 19:39:14 +02: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
whyrusleeping
6dd8ed7d7a
pass those tests
2019-10-04 10:06:05 -06:00
whyrusleeping
697bed27a6
fix websocket closing
2019-10-04 10:06:05 -06:00
Łukasz Magiera
2874022251
jsonrpc: Channel buffeering
2019-09-27 13:37:44 +02:00
Łukasz Magiera
fe8e1fe1e4
Almost working new post code
2019-09-27 01:07:40 +02:00
Łukasz Magiera
f2ecb772fa
repo: Close datastore in Close
2019-09-17 16:34:22 +02:00
Łukasz Magiera
5470fbeb8a
jsonrpc: include method name in error log
2019-09-16 20:08:24 +02:00
Łukasz Magiera
eda72468ce
Sector Commitment tracker
2019-09-16 20:08:24 +02:00
Łukasz Magiera
cad3efb9ba
Command to list sealed blocks
2019-08-29 17:48:19 +02:00
Łukasz Magiera
e430f86b69
pond: Basic message display in Block window
2019-08-09 19:32:46 +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
4054200bdd
jsonrpc: Catch panics in jsonrpc calls
2019-07-25 16:08:41 +02:00
Łukasz Magiera
7ec9d45915
gofmt
2019-07-25 14:54:19 +02:00
Łukasz Magiera
93a8ee11db
jsonrpc: Work with browsers
2019-07-24 19:09:00 +02:00
Łukasz Magiera
77bc243110
jsonrpc: Break NewMergeClient into smaller functions
2019-07-24 14:20:57 +02:00
Łukasz Magiera
81d7c30fac
Couple lint fixes
2019-07-24 03:16:17 +02:00
Łukasz Magiera
f0e807dabb
Fix jsonrpc client after splitting apis
2019-07-24 02:40:19 +02:00
Łukasz Magiera
0a17041221
Fix rpc tests after rebase
2019-07-24 00:39:48 +02:00