528 Commits

Author SHA1 Message Date
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
07007eadb0
fix: do not ignore promise in addPeerToAddressBook 2022-09-11 00:16:07 +10:00
fryorcraken.eth
c9963a4aea
docs: fix links 2022-09-08 18:44:16 +10:00
fryorcraken.eth
91e4d1b435
test: uses full nodes in tests
Ref:  https://github.com/status-im/nwaku/issues/1085
2022-09-08 18:35:21 +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
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
c5e1f50cc8
refactor: remove console.log usage 2022-09-08 13:18:07 +10:00
fryorcraken.eth
3a125dfcbe
doc: add missing modules 2022-09-08 11:12:44 +10:00
fryorcraken.eth
76251c922e
test: make it easier to understand test failure 2022-09-07 12:11:08 +10:00
fryorcraken.eth
e4d4fb1edd
feat: DecryptionParams may be passed when using queryHistory 2022-09-07 12:11:08 +10:00
fryorcraken.eth
f44e13885c
chore: replace todo with issue reference 2022-09-06 12:29:13 +10:00
fryorcraken.eth
ac48792e0e
feat: implement a simple connection management 2022-09-06 12:29:13 +10:00
fryorcraken.eth
b2b14625bb
refactor: remove unused function 2022-09-06 12:29:13 +10:00
fryorcraken.eth
bfeaf6c14e
fix: it-length-prefixed now returns Uint8ArrayList 2022-09-05 15:02:23 +10:00
fryorcraken.eth
ab76063f33
chore(deps): bump protons to 5.10, protons-runtime to 3.1.0 2022-09-05 14:39:55 +10:00
fryorcraken.eth
4d4c4430f4
refactor: rename proto enum Error to HistoryError
As this creates a conflict with the new protons version.
2022-09-05 14:37:54 +10:00
fryorcraken.eth
282a7f256f
fix: do not export waitForRemotePeer from index
It is already present in the exports map.
2022-09-01 10:48:16 +10:00
fryorcraken.eth
d79984fdba
fix: do not discard messages with no payload
While they do not need to be decoded, they might still be used.
e.g. timestamp, network connectivity, etc.
2022-08-31 14:22:06 +10:00
fryorcraken.eth
482a75fddc
chore: print log when sending relay ping 2022-08-31 13:14:52 +10:00
fryorcraken.eth
f6bb9b2fcd
chore: print content topic in logs 2022-08-31 13:14:07 +10:00
fryorcraken.eth
3053d27b2c
feat: hexToBytes can handle Ethereum address with case checksum 2022-08-29 16:37:05 +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
def951e4ac
ci: wait 100ms after go-waku seems ready as it is sometimes not 2022-08-25 14:48:58 +10:00
fryorcraken.eth
9feef9367c
test: go-waku needs --persist-messages to enable store
ref: https://github.com/status-im/go-waku/issues/292
2022-08-25 14:48:58 +10:00
fryorcraken.eth
61701f0086
feat: improve log format for DNS discovery peers 2022-08-25 14:48:58 +10:00
Franck Royer
a7dc6936bc
fix: nwaku's response differs from RFC but go-waku does not 2022-08-25 14:48:57 +10:00
Franck Royer
10c32c84c8
test: add delay for filter un/subscribe 2022-08-25 14:48:57 +10:00
Franck Royer
0564c4f95c
test: Increase timeout
go-waku takes 9s to start, partially because nat cannot be deactivated.
2022-08-25 14:48:57 +10:00
fryorcraken.eth
db22c2e86b
fix: set default value for version if not on the wire 2022-08-24 19:06:53 +10:00
fryorcraken.eth
a58691aabd
refact: move default value to function signature 2022-08-24 19:04:31 +10:00
fryorcraken.eth
5eec4564fe
style: typo 2022-08-24 18:43:00 +10:00
fryorcraken.eth
863f8ee7a4
fix: do not use uint8arrays/concat as it returns Buffer in NodeJS
`Buffer` does not have the same behaviour as `Uint8Array` when creating
a `DataView`. This is a problem when manipulating byte for encoding and
decoding purposes.
2022-08-24 18:42:48 +10:00
fryorcraken.eth
79146711c5
fix: ensure the content topics that needs to be decrypted are passed 2022-08-24 17:51:06 +10:00
fryorcraken.eth
5ddca918ca
fix: stop store pagination if response field is missing 2022-08-24 17:34:37 +10:00
fryorcraken.eth
931028e0ac
build: bump ts-node to 10.9.1 and ts-loader to 9.3.1 2022-08-24 15:25:37 +10:00
fryorcraken.eth
280058de4a
test: deep.equal crashes when comparing Buffer and UInt8Array 2022-08-24 12:46:51 +10:00
fryorcraken.eth
d2bb50adda
test: doc specifies log level capitalized 2022-08-24 07:53:34 +10:00
fryorcraken.eth
f0eb925838
test: enable passing arguments to service node 2022-08-24 07:46:36 +10:00
Franck Royer
5f4e14e56c
test: parameterize waku service node dir/bin 2022-08-24 07:46:36 +10:00
Franck Royer
cd665a1803
test: pass --store 2022-08-24 07:46:35 +10:00
Franck Royer
953bda781f
test: Ensure pubsub topic is used when sending and retrieving messages 2022-08-24 07:46:35 +10:00
Franck Royer
4a96472084
test: improve RPC call debugging 2022-08-24 07:46:34 +10:00
Franck Royer
d65e99275b
test: parameterized some nwaku options 2022-08-24 07:46:33 +10:00
Franck Royer
024209fdd0
test: remove dupe functions 2022-08-24 07:46:32 +10:00
fryorcraken.eth
771d515b6f
ci: rename nim-waku to nwaku and upgrade to v0.11 2022-08-20 01:04:19 +10:00
fryorcraken.eth
28f77ec083
fix: use debug instead of console.log 2022-08-17 22:39:42 +10:00
fryorcraken.eth
ecb5b490e3
fix: do not throw on lack of response
Expected proto3 behaviour, just no message returned.
2022-08-17 22:39:19 +10:00