550 Commits

Author SHA1 Message Date
fryorcraken.eth
6ec0628223
feat: enable external library to extend MessageV0 and access proto 2022-09-28 13:57:22 +10:00
Richard Ramos
aec3822972
chore: add rlnIdentifier to message.proto 2022-09-26 14:29:41 -04:00
Richard Ramos
b37a9285da
feat: add rate limit proof to waku message 2022-09-25 11:59:16 -04:00
fryorcraken.eth
2d98977ac6
refactor: improve type handling 2022-09-21 16:14:23 +10:00
fryorcraken.eth
cc3b46ffbb
feat: template type on store APIs 2022-09-21 16:10:27 +10:00
fryorcraken.eth
dbe832c1f8
feat: allow filter callback to process any type of message 2022-09-21 15:48:37 +10:00
fryorcraken.eth
49e16de396
feat: WakuLightPush.push and WakuRelay.send returns SendResult with the list of recipients. 2022-09-21 10:58:20 +10:00
fryorcraken.eth
ae46640ba8
test: group encoder/decoder declaration 2022-09-21 10:58:20 +10:00
fryorcraken.eth
8679adcf80
feat: enable store queries with multiple content topics and decoders 2022-09-21 10:58:18 +10:00
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
f70d4e4041
feat: simplified and clarified behaviour of WakuStore query functions 2022-09-19 14:13:34 +10:00
fryorcraken.eth
5a529c1cd7
feat: provide several API for store queries 2022-09-14 23:02:19 +10:00
fryorcraken.eth
65511a5888
feat: store callback takes promises
This enables the consumer to decide between:

1. Waiting for all promises, less efficient but maintain order;
2. Process promises as they resolve, faster to get messages through but
disrupt message order.
2022-09-14 22:55:03 +10:00
fryorcraken.eth
930c7beaef
refactor: extract peer selection logic 2022-09-14 22:55:03 +10:00
fryorcraken.eth
bdf1c9b7e3
fix: rename to avoid conflict with eponymous TypeScript type 2022-09-14 22:55:03 +10:00
fryorcraken.eth
056aed59fb
refactor: selectRandomPeer doesn't need to be async 2022-09-14 22:55:02 +10:00
fryorcraken.eth
3b05bfe988
refact: getPeersForProtocol only needs the peer store 2022-09-14 22:55:02 +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
2a355df487
chore: add peer id log 2022-09-13 20:25:40 +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
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