Commit Graph

228 Commits

Author SHA1 Message Date
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
Łukasz Magiera
ba846e9bfb Wire up node API to tests 2019-07-09 18:27:07 +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
271c268e28 disable natPortMap for now 2019-07-09 16:30:54 +02:00
Łukasz Magiera
5b04fbb505 config: default to random ports for now 2019-07-09 15:46:55 +02:00
Łukasz Magiera
63b316b41f Improve output from net commands 2019-07-09 15:43:21 +02:00
Łukasz Magiera
7069d57432 Fix multiaddr json unmarshalling in NetAddrsListen 2019-07-09 15:35:32 +02:00
Łukasz Magiera
1bead4bb7e jsonrpc: client debug logging 2019-07-09 15:16:15 +02:00
Łukasz Magiera
093fabc1e7 Build tag to disable daemon build 2019-07-09 15:15:37 +02:00
Jakub Sztandera
f9a34b3f9c Cleanup lint
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-09 14:46:06 +02:00
Jakub Sztandera
980bed1c3c Fix remaining
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-09 14:25:33 +02:00
Jakub Sztandera
66a67b0633 Wire in request context
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-09 14:19:10 +02:00
Jakub Sztandera
40d9fbd952 Introduce reqContext for cli
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-09 14:13:52 +02:00
Łukasz Magiera
d852b3f7ef API struct instead of DI magic 2019-07-09 12:58:13 +02:00
Łukasz Magiera
82890165de Fix gomod dep 2019-07-09 12:49:11 +02:00
whyrusleeping
d6311a3a2b WIP: thoughts on apis needed for mining process 2019-07-08 19:48:49 -04:00
Łukasz Magiera
797ef4e0c9 Actually implement NetConnect 2019-07-08 23:14:59 +02:00
Łukasz Magiera
9a244ebdf8 Addrs listen api 2019-07-08 23:01:15 +02:00
Łukasz Magiera
f9b5343430 daemon: allow setting listen addr 2019-07-08 22:51:18 +02:00
Łukasz Magiera
83d1df15b4
Merge pull request #7 from filecoin-project/feat/move-bufbstore
pull buffered blockstore into the lib folder
2019-07-08 22:48:26 +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
Whyrusleeping
03227e1e27
Merge pull request #4 from filecoin-project/feat/f2-chain
chain: Use f2 code
2019-07-08 17:55:20 +02:00
Jakub Sztandera
c69e241f33 Change regex
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-08 17:42:49 +02:00