Commit Graph

20831 Commits

Author SHA1 Message Date
Ł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
3ecc83efd4
Merge pull request #70 from filecoin-project/feat/jsonrpc-chans
jsonrpc: Channel support
2019-07-23 23:27:11 +02:00
Jakub Sztandera
38102b28c6
Merge pull request #66 from filecoin-project/errors/oh-errors
Create actor error type
2019-07-23 20:25:44 +02:00
Jakub Sztandera
2e6dd1b862 Wrap and return correct error
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-23 20:25:17 +02:00
Jakub Sztandera
68cfff17e5 Make invoker error non fatal
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-23 20:25:17 +02:00
Whyrusleeping
c54bd28e64
Merge pull request #71 from filecoin-project/fix/make-clean
Don't error `make clean` on missing submodule
2019-07-23 10:46:37 -07:00
Jakub Sztandera
681f40ad75 go mod tidy
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-23 15:20:10 +02:00
Jakub Sztandera
1ec274671e Make lint even happier
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-23 15:16:42 +02:00
Jakub Sztandera
fd374fa180 Fix new
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-23 15:07:36 +02:00
Jakub Sztandera
52f9060e0a go mod tidy
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-23 15:04:56 +02:00
Jakub Sztandera
e513884a5a Cleanup lint
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-23 15:04:45 +02:00
Jakub Sztandera
537ff23a63 Complete the refactor
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-23 15:01:52 +02:00
Jakub Sztandera
877ccb3803 make invoker work again
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-23 14:45:45 +02:00
Jakub Sztandera
020fb6f8a3 Mid rework
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-23 14:45:44 +02:00
Jakub Sztandera
02dab3eb51 Create actor error type
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-23 14:45:15 +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
Whyrusleeping
f93160822e
Merge pull request #72 from filecoin-project/feat/blockget
add a getblock command
2019-07-22 18:05:27 -07:00
whyrusleeping
5fb59c06bd add a getblock command 2019-07-22 17:54:27 -07: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
Jakub Sztandera
8b7378dcd9 Don't error make clean on missing submodule
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-23 01:18:27 +02:00
Whyrusleeping
978bd5c17e
Merge pull request #67 from filecoin-project/feat/id-cmd
add an id command
2019-07-22 13:28:21 -07:00
whyrusleeping
4a34e20ffc move id command under net 2019-07-22 12:36:37 -07:00
whyrusleeping
57df9fdd9e add an id command 2019-07-22 12:36:37 -07:00
Whyrusleeping
13e217987b
Merge pull request #68 from filecoin-project/bench/state-tree
initial benchmarks for state tree operations
2019-07-22 12:13:28 -07: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
e920192e04
Merge pull request #64 from filecoin-project/feat/go-bls-sigs
Switch to go-bls-sigs
2019-07-22 11:10:40 -07:00
Whyrusleeping
e199bccff1
Merge pull request #65 from filecoin-project/feat/go1.13
Update xerrors to fix build with Go 1.13
2019-07-22 10:24:08 -07:00
whyrusleeping
cfbb193079 go mod tidy 2019-07-22 10:21:27 -07:00
whyrusleeping
b3e192b575 try removing the bzr install 2019-07-21 00:42:57 -07:00
whyrusleeping
432afb4a56 fix import 2019-07-20 23:09:30 -07:00
whyrusleeping
3f0c7f37f9 fix serialization issues 2019-07-20 16:37:38 -07:00
whyrusleeping
38a5bcd659 wrap some errors 2019-07-20 16:37:38 -07:00
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