fryorcraken.eth
9fc16143fa
feat: createLightNode and createPrivacyNode helpers
2022-09-08 18:35:20 +10:00
fryorcraken.eth
f56f6e2e83
feat: define Waku interface
2022-09-08 18:35:20 +10:00
fryorcraken.eth
aee054d9d6
feat: merge gossipsub type in CreateOptions interface
2022-09-08 18:35:20 +10:00
fryorcraken.eth
d97201d6df
style: use log for debug across codebase
2022-09-08 13:18:07 +10:00
fryorcraken.eth
e4d4fb1edd
feat: DecryptionParams may be passed when using queryHistory
2022-09-07 12:11:08 +10:00
fryorcraken.eth
987eab5f8f
doc: remove warnings
2022-08-25 15:54:05 +10:00
fryorcraken.eth
0d34c44a02
doc: remove no-inherit
...
It is not needed anymore, Waku Relay doc does ot automatically include
the GossipSub doc.
2022-08-25 15:54:05 +10:00
fryorcraken.eth
69aee6c1cc
refactor: move createWaku to own module
2022-08-07 12:03:04 +10:00
Franck Royer
4a193e49e0
style: use nullish coalescing instead of if/then
2022-08-03 09:30:38 +10:00
Franck Royer
a3e6850b2f
fix(test): compare peer ids using string format
2022-08-03 09:30:37 +10:00
Franck Royer
991a1cf747
fix(test): ensure nodes are cleaned up, use separate noise key
2022-08-03 09:30:37 +10:00
Franck Royer
ba1c7b86ea
fix: Use libp2p options passed to createWaku
2022-08-03 09:30:37 +10:00
Franck Royer
d7b08f7e24
fix: Wait for remote peer for Waku Relay
...
The promise resolves only if a remote peer is added to the gossipsub
mesh.
2022-08-03 09:30:37 +10:00
Franck Royer
811685e041
refactor!: Move waitForRemotePeer to own file
2022-08-03 09:30:36 +10:00
Franck Royer
d609b9c47b
fix: usage of libp2p and undefined options
2022-07-20 12:44:48 +10:00
Franck Royer
9e27a0082e
Sort out ENR key generation, upgrade to @libp2p/crypto
2022-07-20 12:44:44 +10:00
Franck Royer
e0a23bad44
Sort out createWaku and waitForRemotePeer
2022-07-20 12:43:42 +10:00
Franck Royer
8e5318dc4a
Upgrade libp2p-gossipsub
2022-07-20 12:42:24 +10:00
Franck Royer
98c93c8283
Upgrade libp2p, peer-id, multiaddr
...
Use new packages and fix most compilation errors.
Remaining error to be dealt with in waku.ts.
2022-07-20 12:40:37 +10:00
Franck Royer
6c30e8d400
Use PeerId.toString() instead of toB58String()
...
New version of `PeerId` will only support `toString`
2022-07-20 11:55:43 +10:00
Franck Royer
5ca3957b39
fix: options can be undefined
2022-06-20 14:32:21 +10:00
Franck Royer
9ffedd1fbf
Remove circular dependencies
2022-06-01 12:14:47 +10:00
Franck Royer
20b3b5b667
Move common crypto functions to crypto.ts
2022-05-20 10:59:32 +10:00
Franck
dc90279905
Rename nim-waku to nwaku
2022-04-06 12:39:18 +10:00
Franck Royer
d95d773f45
Send nanoseconds timestamp in nim-waku RPC
2022-04-06 12:39:18 +10:00
Franck R
2798376776
Remove ecies-geth ( #598 )
...
* test: specify encryption method
Makes debugging easier.
* Fix log typo
* Remove ecies-geth
Start removal of elliptic dependency and move towards exclusive usage to
CryptoSubtle.
2022-03-06 23:20:59 +11:00
Franck R
64657a250f
Replace rlp with ethers' rlp ( #526 )
2022-02-16 14:08:48 +11:00
Franck R
cfc5eee4ff
Reduce buffer usage ( #521 )
2022-02-14 10:50:02 +11:00
Franck R
0f678750df
Improve docs ( #519 )
2022-02-11 17:27:15 +11:00
Franck R
4c80f7f0df
Remove odd prettier config ( #500 )
2022-02-04 14:12:00 +11:00
Franck R
69f0005445
Bump libp2p from 0.32.4 to 0.36.2, libp2p-gossipsub from 0.12.1 to 0.13.0 ( #470 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-02 15:12:08 +11:00
Franck R
47c5565371
Wait for heartbeat before considering relay peer ready ( #472 )
2022-01-31 15:30:49 +11:00
Franck R
03491a892b
Fix waitForRemotePeer & test behaviour ( #471 )
2022-01-31 10:30:25 +11:00
Franck R
d9248dbc56
Replace waitForConnectedPeer with waitForRemotePeer ( #469 )
2022-01-30 21:56:21 +11:00
Franck R
34e4cbba73
Use websocket instead of tcp in interop tests ( #418 )
2022-01-20 13:00:58 +11:00
Franck R
cba5212872
Upgrade nim-waku to v0.7 ( #417 )
2022-01-19 15:43:45 +11:00
Franck R
96cf24d34e
Allow specifying decryption methods and content topic ( #409 )
2022-01-17 14:11:05 +11:00
Franck Royer
c990660fb9
Rename node only suites
2021-09-24 17:15:46 +10:00
Franck Royer
d900945b6d
Add 'node' in test file names that only run on node
2021-09-24 17:09:34 +10:00
Franck Royer
d875994908
Fix hearbeat tick handler rounding issue
...
807bf282c5
2021-09-24 10:36:19 +10:00
Franck Royer
ca09c34ac6
Upgrade libp2p libraries
2021-09-03 16:02:22 +10:00
Franck Royer
50fb533e44
test: Increase timeouts + add debug logs
2021-09-02 15:20:43 +10:00
Franck Royer
f4cae60ef8
Fix documentation
2021-09-02 15:15:43 +10:00
Franck Royer
931a414a3c
Allow passing decryption keys in hex string format
2021-09-02 15:13:50 +10:00
Franck Royer
1d48dc4372
Rename all pubsubTopic occurrences to pubSubTopic
2021-08-20 10:13:02 +10:00
Franck Royer
60290e8d84
Moved DefaultPubSubTopic to waku.ts and fixed the casing
...
The pubsub topic is used by several protocol, not just relay.
2021-08-20 10:12:55 +10:00
Franck Royer
80cfa3c87a
Increase timeout to shutdown node
2021-08-09 12:09:21 +10:00
Franck Royer
0cfdd34284
Removed DefaultContentTopic
...
As developers must choose a content topic for their app.
The`WakuMessage` APIs have been changed to move `contentTopic` out of
the optional parameters. Recommendations for content topic can be found
at https://rfc.vac.dev/spec/23/ .
2021-07-28 12:03:51 +10:00
Franck Royer
9638f6db10
Introduced new relayKeepAlive option
...
..on `Waku` with a default to 5min to send ping messages over relay
to ensure the relay stream stays open.
This is a workaround until
[js-libp2p#744](https://github.com/libp2p/js-libp2p/issues/744 ) is done
as there are issues when TCP(?) timeouts and the stream gets closed.
2021-07-27 16:24:04 +10:00
Franck Royer
c4d0501c6a
nim-waku v0.5 uses new waku relay protocol id
2021-07-26 11:35:08 +10:00