Commit Graph

591 Commits

Author SHA1 Message Date
Łukasz Magiera
d55e872135 Merge remote-tracking branch 'origin/master' into feat/post-schedule 2019-09-19 16:42:50 +02:00
Jakub Sztandera
9c02f7f839 Rought PoST method
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-09-18 17:10:03 +02:00
whyrusleeping
3e45088812 cleaning up a few types 2019-09-17 20:32:52 -07:00
Łukasz Magiera
5e2c100f4d storageminer: Better context handling 2019-09-17 20:36:06 +02:00
Łukasz Magiera
f2ecb772fa repo: Close datastore in Close 2019-09-17 16:34:22 +02:00
Łukasz Magiera
83f1a336a6 node: Basic graceful shutdown 2019-09-17 16:23:08 +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
Jakub Sztandera
6eef3a6d64 Update sectorbuilder
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-09-16 14:47:55 +02:00
Łukasz Magiera
f79b755c58 retrieval: Make types more spec complaiant 2019-08-29 17:54:35 +02:00
Łukasz Magiera
e28c0c8d80 Fix sectorbuilder poRepProofPartitions 2019-08-29 17:51:06 +02:00
Łukasz Magiera
cad3efb9ba Command to list sealed blocks 2019-08-29 17:48:19 +02:00
whyrusleeping
7eb89f90d1 Replace most marshaling with codegen 2019-08-22 12:53:32 -07:00
whyrusleeping
5a7f59498e Wire up more proper ticket generation and verification logic 2019-08-16 12:39:12 -07:00
Łukasz Magiera
1579137236 storageminer: Initial PaymentVerify implementation 2019-08-15 15:52:14 +02:00
Łukasz Magiera
baf4fbe309 sectorstore: Address review feetback 2019-08-15 00:46:15 +02:00
Łukasz Magiera
e6493afd46 move poller to sector store 2019-08-14 23:34:43 +02:00
Łukasz Magiera
e430f86b69 pond: Basic message display in Block window 2019-08-09 19:32:46 +02:00
Łukasz Magiera
b2c3434bcd deals: Upstream bitswap changes 2019-08-08 19:16:41 +02:00
Łukasz Magiera
3e2d04a540 deals: Use temp files for AddPiece 2019-08-07 20:02:05 -07:00
Łukasz Magiera
c79cb7bf31 deals: Almost sealing client data 2019-08-07 20:01:51 -07:00
Łukasz Magiera
b65041cac1 deals: Sending initial proposal works 2019-08-07 20:01:22 -07:00
Łukasz Magiera
549e7db12f deals: Implement basic handshake logic 2019-08-07 20:01:22 -07:00
whyrusleeping
95e7b230ec cleanup from self review 2019-08-07 18:23:44 -07:00
whyrusleeping
ba0d648546 sealing garbage data into a sector that gets accepted by the chain works! 2019-08-07 18:16:58 -07:00
whyrusleeping
5c32725510 sector commitments make it all the way to the chain 2019-08-07 16:22:35 -07:00
whyrusleeping
b7c6333fef implement sector commitments and proof verification 2019-08-06 23:35:57 -07:00
whyrusleeping
2576853426 begin work on storage miner processes 2019-07-29 14:01:31 -07:00
whyrusleeping
b83ff6b9dc Wire up sector builder commands through the api 2019-07-29 12:08:47 -07:00
whyrusleeping
f1432826d5 start integrating sector builder 2019-07-29 12:08:05 -07:00
whyrusleeping
4058885df9 switch over to new sector builder library 2019-07-26 15:29:18 -07: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
whyrusleeping
501b2e4640 update to and use fixed cbor rpc code 2019-07-25 17:49:27 -07:00
Łukasz Magiera
6f80ff0800 pond: Connect stuff in ConnMgr 2019-07-25 23:52:15 +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
Ł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
309ecc4052 auth: Put auth methods in API 2019-07-24 00:37:05 +02:00
Łukasz Magiera
fa4bf5178a auth: Restructure for getting tokens form keystore 2019-07-24 00:37:05 +02:00
Łukasz Magiera
c0f3bdbb61 jsonrpc: verify jwt tokens 2019-07-24 00:37:05 +02:00
Łukasz Magiera
265302f4aa Implement API-level auth 2019-07-24 00:36:19 +02:00
Łukasz Magiera
9b3ae45f61 jsonrpc: Break handleWsConn into smaller functions 2019-07-23 03:45:10 +02:00
Łukasz Magiera
2f0a088b18 jsonrpc: Move ws handler state to a struct 2019-07-23 03:20:48 +02:00
Łukasz Magiera
0d5d6cd1c2 jsonrpc: lint fixes 2019-07-23 02:40:45 +02:00
Łukasz Magiera
1b1ec2b812 jsonrpc: cleanup websocket handling logic a bit 2019-07-23 02:40:45 +02:00
Łukasz Magiera
40fa1becb5 jsonrpc: Handle closing channels 2019-07-23 02:40:45 +02:00
Łukasz Magiera
64e3272fbf jsonrpc: remove test stuff from main code 2019-07-23 02:40:45 +02:00
Łukasz Magiera
98cbfdebb4 jsonrpc: test unmarshalable responses 2019-07-23 02:40:01 +02:00
Łukasz Magiera
17c76abdb2 jsonrpc: Panic less in client 2019-07-23 02:40:01 +02:00
Łukasz Magiera
527ab7100a jsonrpc: basic channel test 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
3e8afa9511 jsonrpc: fix chan handler registration race 2019-07-23 02:40:01 +02:00
Łukasz Magiera
fd40f9a82a jsonrpc: gofmt 2019-07-23 02:40:01 +02:00
Łukasz Magiera
790ed0730e jsonrpc: use testify in tests 2019-07-23 02:40:01 +02:00
Łukasz Magiera
ff4d1b5819 jsonrpc: Channel support 2019-07-23 02:40:01 +02:00
Whyrusleeping
19979a5ab7
Merge pull request #48 from filecoin-project/feat/create-miner
create miner command, stubbed out methods
2019-07-22 12:13:11 -07:00
whyrusleeping
05b8158285 implement a few of the TODOs 2019-07-20 16:37:37 -07:00
Jakub Sztandera
d745fa1af1 Switch to go-bls-sigs
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-19 13:56:58 +02:00
Whyrusleeping
69b8ec42af
Merge pull request #56 from filecoin-project/fix/ws-disconn-hang
jsonrpc: Don't hang when remote crashes
2019-07-18 09:51:29 -07:00
Łukasz Magiera
185db76646 jsonrpc: don't hang when remote crashes 2019-07-18 13:26:09 +02:00
Łukasz Magiera
055a98c57b jsonrpc: fix test 2019-07-18 13:09:13 +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
Whyrusleeping
4c2fd3b976
Merge pull request #35 from filecoin-project/feat/sectorbuilder
Import sectorbuilder bindings
2019-07-17 09:38:34 -07:00
Łukasz Magiera
19fd7d6cb6 Import sectorbuilder submodule 2019-07-17 13:08:38 +02:00
Łukasz Magiera
084c46c858 Extract sectorbuilder 2019-07-17 13:01:02 +02:00
Łukasz Magiera
2c9ad786a4 Prepare sectorbuilder for extraction 2019-07-17 00:09:40 +02:00
Łukasz Magiera
8c94758285 Improt sectorbuilder bindings 2019-07-16 17:14:16 +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
b93d71e8cb jsonrpc: ws addresses in tests 2019-07-15 17:05:45 +02:00
Łukasz Magiera
96ed4225fb improve error handling in handleWsConn 2019-07-13 14:44:20 +02:00
Łukasz Magiera
df90b72500 jsonrpc: update tests 2019-07-12 19:12:51 +02:00
Łukasz Magiera
6a20d0dafe jsonrpc: Websocket server 2019-07-12 19:12:38 +02:00
Łukasz Magiera
0eb208e1d3 WS JsonRPC client 2019-07-12 17:29:41 +02:00
Whyrusleeping
b843dcb590
Merge pull request #9 from filecoin-project/feat/netcli
Network CLI
2019-07-09 12:05:56 -04:00
Łukasz Magiera
1bead4bb7e jsonrpc: client debug logging 2019-07-09 15:16:15 +02:00
whyrusleeping
e8d54839da pull buffered blockstore into the lib folder 2019-07-08 22:29:01 +02:00
Łukasz Magiera
cdca2ff2c7 Some net commands / apis 2019-07-08 21:07:16 +02:00
Łukasz Magiera
9299ba5fa6 Fix imports 2019-07-08 14:46:30 +02:00
Łukasz Magiera
4ef4721820 Move json/cbor rpc to lib 2019-07-08 13:02:02 +02:00
Jakub Sztandera
8fcda5f610 Cleanup bls-signatures
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-08 12:41:45 +02:00
Jakub Sztandera
6ab0017a07 Merge commit 'ec306ba24dad8f616f61e5ae89b55a723bc6e6f6' as 'lib/bls-signatures' 2019-07-08 12:31:38 +02:00
Jakub Sztandera
200d8058b8 Cleanup after subtree go-filecoin/crypto
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-08 12:31:00 +02:00
Jakub Sztandera
c4614713f3 Merge commit '800f835a2eff3d00e0518ae4f703731f72faf686' as 'lib/crypto' 2019-07-08 12:24:55 +02:00