Commit Graph

13186 Commits

Author SHA1 Message Date
whyrusleeping
a232d54216 fix function call signatures 2019-07-20 16:37:38 -07:00
whyrusleeping
05b8158285 implement a few of the TODOs 2019-07-20 16:37:37 -07:00
whyrusleeping
9a7823ab84 WIP: create miner command, stubbed out methods 2019-07-20 16:37:37 -07:00
whyrusleeping
1e03984ab5 initial benchmarks for state tree operations 2019-07-20 14:58:20 -07:00
Jakub Sztandera
0f8a89adfd Update xerrors to fix build with Go 1.13
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-19 15:57:41 +02:00
Jakub Sztandera
ae7a917e49 Fix import in tests
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-19 14:00:09 +02: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
2877cb5ba2
Merge pull request #60 from filecoin-project/feat/wallet-balance
add a command to check wallet balance
2019-07-18 14:18:50 -07:00
whyrusleeping
73e543fe8a go mod tidy 2019-07-18 14:11:18 -07:00
whyrusleeping
f0841203a3 add a command to check wallet balance 2019-07-18 13:26:04 -07:00
Whyrusleeping
27a7858055
Merge pull request #54 from filecoin-project/feat/benchmarks-1
write a couple simple benchmarks
2019-07-18 11:29:39 -07:00
Jakub Sztandera
cbd21756f3
Merge pull request #57 from filecoin-project/feat/repo-wallet
Add keystore to the repo
2019-07-18 20:21:05 +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
Whyrusleeping
92f00b7b75
Merge pull request #55 from filecoin-project/feat/rpcc-wrap-unmarshal-err
jsonrpc: Wrap result unmarshal errors
2019-07-18 09:50:27 -07:00
Jakub Sztandera
935e4e8da7 Move KeyStore into separate module
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-18 18:10:53 +02:00
Jakub Sztandera
5ee7ba8420 Fix tests
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-18 17:52:48 +02:00
Jakub Sztandera
6496805cc3 Cleanup lint
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-18 17:44:10 +02:00
Jakub Sztandera
710f87fdf4 Integrate keystore with chain/wallet
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-18 17:41:30 +02:00
Jakub Sztandera
cb9bf4200c Move KeyStore into types
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-18 16:57:49 +02:00
Jakub Sztandera
902ea18686 Add keystore to the repo
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-18 16:01:39 +02: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
b7d7f5fb71 write a couple simple benchmarks 2019-07-17 23:24:11 -07:00
Jakub Sztandera
6e24543e57
Merge pull request #51 from filecoin-project/feat/more-methods
Add more methods (IsMiner, GetPower)
2019-07-17 20:38:13 +02:00
Whyrusleeping
4c2fd3b976
Merge pull request #35 from filecoin-project/feat/sectorbuilder
Import sectorbuilder bindings
2019-07-17 09:38:34 -07:00
Jakub Sztandera
9597ed8498 Make PowerLookup work and test it
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-17 18:00:59 +02:00
Jakub Sztandera
81f03a9f68 Add and test IsMiner
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-17 16:31:25 +02:00
Jakub Sztandera
6ee1b6fc84 Add GetPower
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-17 15:48:20 +02:00
Jakub Sztandera
5ccaa32ae6 Cleanup makefile
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-17 13:42:49 +02:00
Łukasz Magiera
0464fb8b7c make: update sectorbuilder submodule 2019-07-17 13:23:13 +02:00
Łukasz Magiera
032f1225ae Run sectorbuilder/build.sh in make 2019-07-17 13:15:48 +02: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
Whyrusleeping
68a437d8b8
Merge pull request #34 from filecoin-project/feat/miner-actor-2
implement commit sector and some storage market methods
2019-07-16 13:48:51 -07:00
whyrusleeping
ef5b54fe7f implement commit sector and some storage market methods 2019-07-16 12:17:56 -07:00
Whyrusleeping
218536e784
Merge pull request #32 from filecoin-project/test/actor-harness
Add actor harness
2019-07-16 09:59:48 -07:00
Jakub Sztandera
4f8326f711 Cleanup lint
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-16 18:51:44 +02:00
Jakub Sztandera
d373f78326 Adapt to need changes in spec
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-16 18:45:10 +02:00
Jakub Sztandera
1a1d2c8789 Switch to xerrors
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-16 18:45:10 +02:00
Jakub Sztandera
35575263cb Add more tests
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-16 18:45:10 +02:00
Jakub Sztandera
227b9f7e18 Fix test
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-16 18:44:48 +02:00
Jakub Sztandera
de18f9c865 pass From to Send
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-16 18:44:48 +02:00
Jakub Sztandera
be60e28412 Uncomment rest of test code
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-16 18:44:48 +02:00
whyrusleeping
e7110ff68d handle copy over state tree and identity multihashes
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-16 18:44:46 +02:00
Jakub Sztandera
9da31fb6ad OMG this is killing me
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-16 18:43:34 +02:00
Jakub Sztandera
218e965869 Add actor harness
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-16 18:43:34 +02:00
Whyrusleeping
35905cb3fe
Merge pull request #31 from filecoin-project/feat/wsrpc
JsonRPC over WebSockets
2019-07-16 09:36:32 -07:00