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
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
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
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
Ł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
7069d57432
Fix multiaddr json unmarshalling in NetAddrsListen
2019-07-09 15:35:32 +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
Łukasz Magiera
d852b3f7ef
API struct instead of DI magic
2019-07-09 12:58:13 +02: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
cdca2ff2c7
Some net commands / apis
2019-07-08 21:07:16 +02:00
Jakub Sztandera
4df601ea6a
Fix imports and range reference warnings
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-08 17:14:36 +02:00
Łukasz Magiera
d1eb9073d1
Pubsub for blocks/messages
2019-07-08 16:07:09 +02:00
Łukasz Magiera
e162b5395c
Construct enough to run hello
2019-07-08 15:36:53 +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
Łukasz Magiera
67902da2eb
Merge remote-tracking branch 'origin/master' into feat/f2-chain
2019-07-08 12:47:19 +02:00
Łukasz Magiera
2987d04efa
chain: Fix most build errors
2019-07-05 16:47:03 +02:00
Łukasz Magiera
65de28dbdb
Merge remote-tracking branch 'origin/feat/hello-parts' into feat/f2-chain
2019-07-05 16:35:23 +02:00
Jakub Sztandera
71dfa38032
Update linter
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-05 13:21:54 +02:00
Łukasz Magiera
fd7daf4a31
Fix import ordering
2019-07-05 12:06:28 +02:00
Łukasz Magiera
e78c378021
constructor: Add doc strings
2019-07-04 23:09:49 +02:00
Łukasz Magiera
de604065fb
Rewrite constructor to functional opts
2019-07-04 19:34:06 +02:00
Jakub Sztandera
adcd87abb0
Small cleanup
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-04 16:47:46 +02:00
Jakub Sztandera
f08263662f
Use config for listen addresses in libp2p
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-04 14:04:39 +02:00
Jakub Sztandera
808a1e9deb
Add skeleton of a config
...
Took way longer than it should had because I was researching exisiting
options.
As it turns out, nothing nice exists that would handle:
- Multiple overridiable config files
- Defaults provided in a struct
- Output in a struct
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-04 11:25:28 +02:00
Łukasz Magiera
2b906efa1e
hello: Invohe RunHello
2019-07-03 19:41:54 +02:00
Łukasz Magiera
fdde4db217
hello: Move from f2
2019-07-03 19:39:07 +02:00
Jakub Sztandera
217cb247a5
Move to Warnf
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-03 14:30:21 +02:00
Jakub Sztandera
2a350c6e82
Use zap
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-03 13:55:52 +02:00
Łukasz Magiera
0f8f61fc7b
more lint fixes
2019-07-02 19:45:03 +02:00
Łukasz Magiera
4fcdd4a400
Address some lint warnings
2019-07-02 15:05:43 +02:00
Łukasz Magiera
7fdd369283
Address review
2019-07-02 14:40:25 +02:00
Jakub Sztandera
5736ac1d9d
go fmt
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-01 23:11:34 +02:00