Sasha
ded994f8ec
fix: attempt to fix some of the Filter issues ( #2183 )
...
* feat: lighten retry logic for LightPush
* update tests
* remove base protocol sdk from light push, add unit tests for light push
* remove replaced test
* ensure numPeersToUse is respected
* turn off check for missing messages
* fix recurring ping
* add useful logs
* skip tests
* remove comment
* feat: check filter subscriptions against lightPush (#2185 )
2024-10-17 01:01:21 +02:00
Danish Arora
fea4f2577b
chore(message-hash): use timestamp
in nanoseconds instead of milliseconds ( #2094 )
...
* chore: convert timestamp from miliseconds to nanoseconds
* chore: test against hash accounting for nanoseconds instead of milliseconds
the hash used was calculated using timestamp in milliseconds, instead of nanoseconds (not part of the RFC test vectors)Y
2024-08-01 15:19:35 +05:30
Sasha
e5293356d8
feat: make message hash compatible with decoded message ( #1993 )
...
* feat: make message hash compatible with decoded message
* add util fn
* fix test
* up hashes
* up
2024-04-30 15:37:10 +02:00
Danish Arora
73d4f19746
fix(message-hash): account for timestamp
( #1986 )
...
* fix: message-hash algo + tests
* rm: only
* chore: move numberToBytes to utils package
* chore: shorten implementation
2024-04-29 15:35:23 +05:30
Danish Arora
7affbe222d
feat: lightpush & filter send requests to multiple peers ( #1779 )
...
* feat: lightpush & filter send requests to multiple peers
* build message-hash before core
* chore: restructure folder heirrarchy
* fix: imports
* chore: move @waku/core to dev deps
* feat: create a new `ServiceNodes` wrapper class to encapsulate service node and message collector with redundancy accounted for
* chore(filter): move tests against single service node to a subdir
* feat: support relay, add strict checking, add tests
* fix(filter): handle errors
* chore(tests): add tests for ping
* add tests for push
* chore: abstract redundancy
* feat: add unsubscribe tests
* fix: tests
* add lightpush tests
* fix: imports
* fix: merge & add warning
* merge: master
* fix: breaking tests with master
* address comments
* make num peers configurable
* fix: typo
2024-01-24 18:24:03 +05:30
Danish Arora
9fe04d85f3
chore: use pubsubTopic
/pubsubTopics
across the codebase ( #1653 )
...
* chore: change all references of pubSubTopic to pubsubTopic
* change references of pubSubTopics to pubsubTopics
* flag words in cspell
2023-10-16 12:52:32 +05:30
Danish Arora
87717981eb
chore: upgrade libp2p and related deps ( #1482 )
...
* chore: update noise
* update: package.lock
* update: @chainsafe/libp2p-gossipsub
* rm unwanted libp2p interface deps & bump up libp2p
* refactor code for new deps
* update: new package.lock
* setup prettier, refactor eslint and rm trailing commas
* update package.lock
* fix build
* import type for interface
* fix imports for merge
* update typedoc exports
* add: CustomEvent import
* use new libp2p interface
* add aegir as dev dep for tests
2023-08-16 20:18:13 +05:30
Sasha
51f9261a16
chore: update dependencies ( #1460 )
...
* update to latest prettier
* fix with prettier: added trailing comma
* remove deps from test package, add sinon types, fix type hack in a test, update esling prettier config
* update typescript eslint plugins
* update package-locks
2023-08-11 15:14:02 +02:00
fryorcraken.eth
c781e49e1e
chore: improve var name
2023-05-06 13:50:20 +10:00
fryorcraken.eth
fe57461329
feat: implement deterministic message hash logic
2023-05-06 13:50:20 +10:00
fryorcraken.eth
76d1d4faf5
chore: new empty message-hash package
2023-05-06 13:32:30 +10:00