Commit Graph

17901 Commits

Author SHA1 Message Date
Łukasz Magiera
0eb208e1d3 WS JsonRPC client 2019-07-12 17:29:41 +02:00
Jakub Sztandera
f42df886be Remove lint-all
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-12 17:06:56 +02:00
Jakub Sztandera
44fdf98484 Fix lint warnings
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-12 17:06:16 +02:00
whyrusleeping
c4022505c7 integrate init actor to vm invoker
more wiring

Add a test for the basic init.exec running and make it pass

fix bad block comment

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-12 15:24:35 +02:00
Jakub Sztandera
e720f5d3a6 Extract most of the rest and make VMContext an interface
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-12 12:43:55 +02:00
Jakub Sztandera
9746b88bb3 Move Actor, BigInt, MessageReceipt
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-12 12:23:05 +02:00
whyrusleeping
ea2039ecb6 fix build 2019-07-11 21:09:04 -07:00
Jakub Sztandera
60efe8542e
Merge pull request #19 from filecoin-project/feat/invoke
Add built in invoker
2019-07-11 21:09:24 +02:00
Whyrusleeping
3f61488e3c
Merge pull request #17 from filecoin-project/feat/mining-1
Implement basic mining logic
2019-07-11 10:09:15 -07:00
Jakub Sztandera
c3a34d9373 fix lack of newErr instance
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-11 18:17:47 +02:00
Jakub Sztandera
9f8572018f Switch to exports
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-11 18:15:44 +02:00
Jakub Sztandera
219fc093b1 Fix lint
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-11 17:47:05 +02:00
Jakub Sztandera
6f2cd71e86 Remove not needed panic
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-11 17:40:01 +02:00
Jakub Sztandera
286bba10eb Add built in invoker
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-11 17:38:37 +02:00
Łukasz Magiera
2b04629fdf
Merge pull request #16 from filecoin-project/feat/repo-daemon
Wire up repo
2019-07-11 14:02:45 +02:00
Łukasz Magiera
dd25f31e9a Make API listen on localhost only 2019-07-11 13:57:04 +02:00
Łukasz Magiera
cd16e3e597 Fix lint warnings 2019-07-11 13:52:07 +02:00
Łukasz Magiera
ffafc056ee fsrepo: check dsErr before returning datastore 2019-07-11 13:48:21 +02:00
Jakub Sztandera
8e1a1a86a4 Remove doc lint
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-11 10:00:24 +02:00
whyrusleeping
1d31e50ec5 demote error message 2019-07-10 22:17:49 -07:00
whyrusleeping
13ba6d938b Remove unused variable 2019-07-10 21:56:39 -07:00
whyrusleeping
19c883cdfe fix a few things, including marshaling of tipset 2019-07-10 21:36:10 -07:00
whyrusleeping
d381025ccc Implement initial mining logic 2019-07-10 19:36:43 -07:00
whyrusleeping
e09a379c3b add mpool pending command 2019-07-10 12:20:16 -07:00
Łukasz Magiera
1f97ad2c2e Use repo libp2p identiny 2019-07-10 19:43:19 +02:00
Łukasz Magiera
e639670195 cli: use repo api endpoint 2019-07-10 19:28:49 +02:00
Łukasz Magiera
2e8dfc759b daemon: wire up fsrepo 2019-07-10 19:10:19 +02:00
Łukasz Magiera
1f8c3f4145 repo: update Datastore, Init 2019-07-10 19:09:57 +02:00
Łukasz Magiera
ba456be68f Merge remote-tracking branch 'origin/master' into feat/repo-daemon 2019-07-10 18:52:49 +02:00
Łukasz Magiera
999b7d568c
Merge pull request #15 from filecoin-project/feat/fs-repo
Introduce fsrepo
2019-07-10 17:39:41 +02:00
Łukasz Magiera
14d515da3b Wire up memrepo 2019-07-10 17:38:35 +02:00
Whyrusleeping
67bf8c1550
Merge pull request #10 from filecoin-project/feat/mining-interface
WIP: thoughts on apis needed for mining process
2019-07-10 08:31:46 -07:00
Jakub Sztandera
ed54a30109 fix lint
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-10 17:14:29 +02:00
Jakub Sztandera
d484e4ffb9 Run tests and fix some bugs
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-10 17:11:10 +02:00
Jakub Sztandera
8cd484a8b0 Change lint options
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-10 15:42:18 +02:00
Jakub Sztandera
898454ca9a Introduce fsrepo
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-10 15:42:18 +02:00
Łukasz Magiera
0aacd4048c
Merge pull request #12 from filecoin-project/test/net
Wire up tests
2019-07-10 15:10:17 +02:00
Łukasz Magiera
5ed695a84a Expose some node settings 2019-07-10 15:06:04 +02:00
Łukasz Magiera
4797e6a473 Don't import mocknet in builder.go 2019-07-10 15:03:40 +02:00
Łukasz Magiera
fb62c6d442
Merge pull request #11 from filecoin-project/feat/some-chain-cli
Some chain CLI & API
2019-07-09 22:21:31 +02:00
Jakub Sztandera
0e42705e9c
Merge pull request #14 from filecoin-project/feat/repo
Repo interface and memory repo
2019-07-09 21:38:45 +02:00
Jakub Sztandera
34b6da7f0c Make config fields public
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-09 21:38:05 +02:00
Jakub Sztandera
51f38e0542 Add missing comment
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-09 20:20:42 +02:00
Jakub Sztandera
9248b462dd Fix spelling
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-09 20:19:54 +02:00
Jakub Sztandera
53952e566b go mod tidy
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-09 20:14:03 +02:00
Jakub Sztandera
2b62bb6eab Add tests
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-09 20:11:50 +02:00
Jakub Sztandera
195cf4f84d Implement memrepo
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-09 19:50:48 +02:00
Łukasz Magiera
cb3554735a Some chain CLI & API 2019-07-09 19:05:44 +02:00
Łukasz Magiera
0a9ef94da5 Test connecting two nodes 2019-07-09 19:03:36 +02:00
Łukasz Magiera
4ac8eba59e Test API through jsonrpc 2019-07-09 18:36:40 +02:00