Commit Graph

1320 Commits

Author SHA1 Message Date
Oskar Thoren a8e791ab8c
Maybe connect to multiple peers
Now connnectedpeers is (divide by two?): 0/8/7/6/5/4. Progress?
2020-05-28 11:40:41 +08:00
Oskar Thoren c5fa3543ff
WIP try to fix port shift and multiple address mismatch 2020-05-28 11:28:44 +08:00
Oskar Thoren a229e910a0
Remove unused stuff from wakunode 2020-05-28 11:27:01 +08:00
Oskar Thoren 063a57d583
Fix mesh bug indent 2020-05-28 10:58:37 +08:00
Jakub Sokołowski 8a648a44aa add a Dockerfile for creating nim-waku images
Also I remove old Dockerfile at waku/node/v1/docker.

Images are uploaded to our Docker Hub account:
https://hub.docker.com/r/statusteam/nim-waku

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2020-05-27 12:51:20 +02:00
Oskar Thoren e0a5f810b7
Add support for mesh topology 2020-05-27 13:37:27 +08:00
Oskar Thoren 037e164058
6 nodes in quicksim and post 100 messages 2020-05-27 12:33:53 +08:00
Oskar Thoren 4f4f623b96
More cleanup 2020-05-27 12:25:02 +08:00
Oskar Thoren 971c7a262b
Remove unused imports 2020-05-27 12:09:05 +08:00
Oskar Thoren 57c9ee1138
Basic metrics print node metrics 2020-05-27 12:00:50 +08:00
Oskar Thorén d68f6aedd2
Sleep and debug quicksim to get clearer view (#14) 2020-05-26 12:02:25 +08:00
Oskar Thorén b5006e482e
Upgrade vendor nim-libp2p and related packages (#13)
* Upgrade nim-libp2p to latest

* Upgrade nim-chronos to latest (needed for nim-libp2p)

* Fix conn.readLp varint

* Fix standard switch API change

* WIP: Crypto resultification on v2

* Fix Result usage for SkPrivateKey

* Result fixes

Co-authored-by: kdeme <kim.demey@gmail.com>
2020-05-26 11:55:53 +08:00
Oskar Thoren 97d3119c33
Subscribe RPC and quicksim WIP; hacky in-line handler 2020-05-22 15:35:31 +08:00
Oskar Thoren bcf6ec95ed
wakuPost -> wakuPublish and change sig 2020-05-22 15:28:51 +08:00
Oskar Thoren 444da6a80a
Publish with RPC; fix RPC sigs 2020-05-22 14:25:09 +08:00
Oskar Thoren f7b9fc2613
Change Waku RPC to have access to wakuProto; basic publish rpc 2020-05-22 14:18:14 +08:00
Oskar Thoren dd4a1615f1
Move out WakuProto to waku_types 2020-05-22 14:12:05 +08:00
Oskar Thoren e0a7de170a
RPC version call through quicksim 2020-05-22 12:23:53 +08:00
Oskar Thoren 8ac686ea9e
Setup starNetwork and multitail sim orchestration 2020-05-21 12:36:30 +08:00
Oskar Thoren 11575f5df3
Add master and portoffset option 2020-05-21 12:28:57 +08:00
Oskar Thoren 438f2ecab2
Use config nodekey for deterministic node id from CLI 2020-05-21 12:16:58 +08:00
Oskar Thoren 3d69658dab
Modify config to parse and use libp2p nodekey 2020-05-21 12:16:00 +08:00
Oskar Thoren 05922c8ebc
Build node command with key and adress 2020-05-20 14:21:17 +08:00
Oskar Thoren cbab3d069b
Start network key from/toHex 2020-05-20 13:34:43 +08:00
Oskar Thoren 6771c924e2
Start of start_network 2020-05-19 13:00:03 +08:00
Oskar Thoren 0e343a79a5
Fix makefile quicksim 2020-05-19 11:49:49 +08:00
Oskar Thoren 2cf0d2592b
Return correct version string from RPC 2020-05-19 11:49:25 +08:00
Oskar Thoren c67e36fc13
Use waku protocol; switch to p2p in multiaddress; trace 2020-05-18 14:03:33 +08:00
Oskar Thoren 31a6d9a051
Use WakuSubCodec 2020-05-18 13:28:54 +08:00
Oskar Thoren 8bd432ad33
Use staticnode arg 2020-05-18 13:07:36 +08:00
Oskar Thoren 6c15589177
Fix waku nimble 2020-05-18 12:51:52 +08:00
Oskar Thoren 8dd70d6822
Fix waku.nimble build target 2020-05-15 12:30:29 +08:00
Oskar Thoren caba9096d1
Fix vendor import in wakunode 2020-05-15 12:11:14 +08:00
Oskar Thoren 072f002990
Add Waku node README 2020-05-15 12:07:49 +08:00
Oskar Thoren 7d51244ffe
Clean up logging and imports 2020-05-15 11:35:32 +08:00
Oskar Thoren 2070f65828
Fix SIGSERV error by initializing child methods 2020-05-15 11:29:01 +08:00
Oskar Thoren 550556bb97
Fails with SIGSERV 2020-05-14 11:18:24 +08:00
Oskar Thoren 5e50c6a225
Remove old test file 2020-05-14 10:43:30 +08:00
Oskar Thoren c6bd02ba38
SIGSERV failing isolateed a bit more 2020-05-14 10:42:04 +08:00
Oskar Thoren 2e9c2ed949
Move waku test to test folder; reset with floodsub test 2020-05-14 10:28:34 +08:00
Oskar Thoren 2dda8fe3c0
Fix initPubSub call 2020-05-11 12:20:07 +08:00
Oskar Thoren edd0074ff7
Move waku test out; basic protocol handler 2020-05-11 12:05:28 +08:00
Oskar Thoren 824bef65ad
Import standard_setup and utils
Will be used for new PubSub protocol
2020-05-10 15:13:26 +08:00
Kim De Mey eb880f5b8b
Move and update Readme.md (#9) 2020-05-08 22:39:16 +02:00
Kim De Mey a254ec03da
Bump nim-eth and move tests under v1 subfolder (#3) 2020-05-08 09:36:28 +02:00
Oskar Thorén 46fb777ccb
Merge pull request #2 from status-im/setup-repo
Setup repo + move code from nimbus / nim-eth
2020-05-06 15:06:39 +08:00
kdeme f445c12830
Correct wakunode dockerfile 2020-05-04 18:20:35 +02:00
kdeme 1f90bae10e
Add check for node in peerpool in P2P post test 2020-05-01 21:13:42 +02:00
kdeme c1fb7aeacd
Add to tests to test_waku_connect and add test_waku_config 2020-05-01 15:36:20 +02:00
kdeme 5c701d35cc
Move waku_protocol + tests from nim-eth 2020-05-01 14:43:25 +02:00