Commit Graph

224 Commits

Author SHA1 Message Date
Ł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
14d515da3b Wire up memrepo 2019-07-10 17:38:35 +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
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
d852b3f7ef API struct instead of DI magic 2019-07-09 12:58:13 +02:00
Łukasz Magiera
cdca2ff2c7 Some net commands / apis 2019-07-08 21:07:16 +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
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
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
Ł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
Łukasz Magiera
088c1e7860 Confgure PNet
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-01 23:11:33 +02:00
Łukasz Magiera
0779e7dc00 Build libp2p node
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-01 23:11:33 +02:00
Łukasz Magiera
795621ed27 Node builder structure
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-01 23:11:33 +02:00