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
fryorcraken.eth
1c2df434e0
fix(deps): freeze @libp2p/interface-connection
2022-08-16 15:24:11 +10:00
fryorcraken.eth
11e60aadd5
refactor: move predefined nodes out of dns discovery
2022-08-07 12:03:05 +10:00
fryorcraken.eth
d560f8ce0e
fix: bundling with exports map
2022-08-07 12:03:05 +10:00
fryorcraken.eth
8c27975830
fix: outdated doc & links
2022-08-07 12:03:05 +10:00
fryorcraken.eth
889ec4d45c
feat: split bootstrap logic
...
Split the bootstrap logic in 2 different classes that implement the
libp2p peer discovery class.
This enables better tree shaking when not using the heaviest version
(DNS Discovery).
It also means using libp2p interface directly when customizing the peer
discovery logic.
Finally, the `default` method is still available via the
`defaultBootstrap` option.
2022-08-07 12:03:05 +10:00
fryorcraken.eth
f929be064b
fix: filter import
2022-08-07 12:03:05 +10:00
fryorcraken.eth
080357355b
refactor: extract peer discovery static list
2022-08-07 12:03:05 +10:00
fryorcraken.eth
69aee6c1cc
refactor: move createWaku
to own module
2022-08-07 12:03:04 +10:00
fryorcraken.eth
8b7a97d502
fix: remove unneeded log
2022-08-03 09:30:41 +10:00
Franck Royer
95deb6a331
fix: ensure types are available in doc
2022-08-03 09:30:40 +10:00
Franck Royer
98d14e08b0
feat!: Do not start libp2p automatically with createWaku
...
Reduce the number of actions `createWaku` does.
2022-08-03 09:30:39 +10:00