Jeromy
bac1e3f901
put blocks in cache after get
2020-05-29 15:15:59 -07:00
Jeromy
94555ea8c1
delete block should delete from cache too
2020-05-29 15:13:18 -07:00
Jeromy
cc233c6956
add an lru caching blockstore
2020-05-29 15:13:18 -07:00
Ignacio Hagopian
d5346f8326
remote ipfs support & automatic env
...
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
2020-05-26 14:52:51 -03:00
Łukasz Magiera
f7325a69c1
Extract auth utils to go-jsonrpc
2020-05-20 20:37:45 +02:00
Łukasz Magiera
eeca031525
extract lib/jsonrpc to go-jsonrpc
2020-05-20 19:49:09 +02:00
Whyrusleeping
70657e35ba
Merge pull request #1708 from filecoin-project/feat/block-validator
...
Improved pubsub block validator
2020-05-15 11:26:26 -07:00
Jeromy
edae6a3ae8
fix the problem
2020-05-14 12:05:01 -07:00
Jeromy
987571dd8c
add test to demonstrate failure
2020-05-14 11:48:58 -07:00
vyzo
81bc159b3e
cache successful block signature validation
2020-05-14 20:48:40 +03:00
Jeromy
8d85aedeff
clean up output channel handling logic to prevent send on closed channels
2020-05-13 16:31:17 -07:00
Ł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
0d4bf2e980
Merge branch 'testnet/3' into feat/ipfsclient
2020-04-30 13:09:47 +02:00
Łukasz Magiera
be439d3b13
Merge remote-tracking branch 'origin/master' into testnet/3
2020-04-30 13:03:08 +02:00
Łukasz Magiera
5ec76d4b7b
support making deals with data directly from IPFS nodes
2020-04-30 01:56:45 +02:00
Jeromy
bfa93bb933
add script to run a local devnet, and helper command
2020-04-27 15:26:46 -07: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
Jakub Sztandera
f1c890ca54
Tests pass
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-08 18:31:16 +02:00
Łukasz Magiera
0417e4bd0c
pond: Use tipestKeys for state calls
2020-04-03 01:09:31 +02:00
Łukasz Magiera
f15eb8b172
Merge pull request #1487 from filecoin-project/fix/partial-sync-responses
...
properly handle partial sync responses
2020-04-02 00:03:25 +02:00
Łukasz Magiera
f727f1db26
bufbs: Env var to disable blockstore buffering
2020-04-01 22:37:34 +02:00
Jeromy
27d57264d9
properly handle partial sync responses
2020-04-01 11:35:09 -07:00
Łukasz Magiera
c66d3dfad7
sectorstorage: Untangle from lotus deps
2020-03-27 22:35:33 +01:00
Łukasz Magiera
cd618dfdbd
gofmt
2020-03-22 22:39:27 +01:00
Łukasz Magiera
df9aa0e357
storagemitner: manage ulimit on start
2020-03-22 22:08:22 +01:00
Łukasz Magiera
1ed7779701
Merge remote-tracking branch 'origin/testnet/3' into feat/new-workers
2020-03-19 03:28:55 +01:00
Łukasz Magiera
94ebbd9d90
workers: Actually register in miner
2020-03-19 00:23:32 +01: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
baca881473
dont panic when replay fails to find a message
2020-03-10 12:44:50 -07:00
whyrusleeping
24bf720a9a
Merge branch 'master' into testnet/3
2020-03-07 16:46:12 -08:00
Łukasz Magiera
3d1a5f4bf3
libs: Use go-statemachine
2020-03-06 20:01:03 +01:00
Łukasz Magiera
79237a9309
libs: Remove rlepluslazy (using specs-actors everywhere)
2020-03-06 19:52:38 +01:00
Łukasz Magiera
e51fa5c9ac
libs: Use zerocomm from sectorbuilder
2020-03-06 19:50:41 +01: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
Łukasz Magiera
2aeab13aae
zerocomm: 'Fix' the test
2020-02-27 01:56:09 +01:00
whyrusleeping
767392332e
WIP: update sectorbuilder
2020-02-26 14:54:34 -08:00
Łukasz Magiera
d787aa5007
Merge branch 'testnet/3' into feat/specs-actors
2020-02-24 18:32:02 +01:00
Łukasz Magiera
9f0e0ced5e
Merge pull request #1155 from jsign/issue127_2
...
fix issue #127
2020-02-24 17:22:58 +01:00
Łukasz Magiera
226685dc1c
Implement committed capacity sectors
2020-02-23 01:47:47 +01:00