31 Commits

Author SHA1 Message Date
fryorcraken.eth
c0c4965e28
feat: use a content topic only decoder for first pass decoding 2022-09-21 10:57:53 +10:00
fryorcraken.eth
52005f8963
feat: enable custom Message type on Decoder
This enables the type passed on the callback functions to match the
decoder's so the consumer can access implementation specific fields.
2022-09-20 14:48:49 +10:00
fryorcraken.eth
b2c7e4185f
feat: make message encoding more generic 2022-09-20 12:23:01 +10:00
fryorcraken.eth
1295a34481
feat: return function to delete observer 2022-09-19 14:44:52 +10:00
fryorcraken.eth
b113f3fc25
fix: correct options type to enable passing gossipsub options on create* 2022-09-14 22:24:00 +10:00
fryorcraken.eth
ff292f37ba
test: fix typing of JSON RPC response
Ref: https://github.com/status-im/nwaku/issues/1139
2022-09-11 02:10:59 +10:00
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
69aee6c1cc
refactor: move createWaku to own module 2022-08-07 12:03:04 +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
811685e041
refactor!: Move waitForRemotePeer to own file 2022-08-03 09:30:36 +10:00
Franck Royer
9e27a0082e
Sort out ENR key generation, upgrade to @libp2p/crypto 2022-07-20 12:44:44 +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
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
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
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