Commit Graph

261 Commits

Author SHA1 Message Date
richΛrd bb6b0866f0
fix_: reduce filter loop to 300ms ()
Co-authored-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2024-08-27 08:44:50 -04:00
Igor Sirotin edead41fa6
chore_: upgrade go-waku ()
* chore_: bump go-waku

* chore_: fix go-waku compatibility
2024-08-23 16:44:53 +01:00
richΛrd 8cf4feec1e
refactor_: remove status-im/rendezvous () 2024-08-22 13:12:37 -04:00
Alex Jbanca 2c430568b1
chore_: bump go-ethereum version to include sign fix ()
Accept all primitive types in Solidity for EIP-712 from intN, uintN, intN[], uintN[] for N as 0 to 256 in multiples of 8

---------

Co-authored-by: Martin Holst Swende <martin@swende.se>
(cherry picked from commit 02796f6bee7e014fd16ad39f0bcd3b665b51e0bb)
2024-08-22 16:32:07 +03:00
Richard Ramos 61e20dd2e8 chore_: bump go-waku 2024-08-19 22:19:17 -04:00
kaichaosun b32816a704 chore_: refactor with sender api 2024-08-19 15:16:42 -04:00
dlipicar b9d083c6d5
feat(wallet): add split onramp url endpoint ()
* feat(wallet)_: add split onramp url endpoint & fix onrmap url
2024-08-12 12:53:32 +00:00
kaichao 45cea612d5
chore_: extract message hash query for outgoing messages to go-waku ()
* chore_: extract message sent check to go-waku

* chore_: clear tests

* chore_: refactor confirm messages sent
2024-08-08 15:14:04 +08:00
richΛrd 152f1c4071
fix_: panic on MessageQueue.Push ()
fixes 
2024-08-06 20:17:56 -04:00
richΛrd 20d6d4eb9a
refactor: extract missing messages logic to go-waku () 2024-08-06 14:49:26 -04:00
Prem Chaitanya Prathi 063756b4ed
chore_: move filter mgr to go-waku () 2024-08-06 19:05:56 +05:30
richΛrd 5212f337d7
feat_: rate limit message publishing () 2024-08-01 14:36:25 -04:00
Prem Chaitanya Prathi f32312ff9b
chore: lightmode ping peers when we come back online, ()
* chore_: lightmode ping peers when we come back online, take filter ping fixes from go-waku

* fix_: handle network change event

* chore_: set connection state as per old state

* chore_: disable discovery for lightmode after connection change

* chore_: take filter error handling fixes from go-waku

* chore_: fix review comments
2024-08-01 16:43:05 +05:30
kaichao bacd4f5e5c
chore_: bump mvds () 2024-07-31 09:30:37 +08:00
richΛrd 8de8818516
feat(waku)_: disconnect all peers if ping to randomly choosen peers fail 2 times () 2024-07-21 20:44:00 -04:00
Prem Chaitanya Prathi 9a703162c4
refactor: only use shards ()
* refactor_: use shards by default

* fix_: metadata lightclient check

* chore_: update go-waku
2024-07-15 20:55:12 +05:30
Prem Chaitanya Prathi 58a3cc1127 feat(waku)_: allow client to set store confirmations 2024-07-15 09:37:57 +01:00
Vaclav Pavlin ea35803eef
feat(waku)_: add lightpush rate-limiter ()
* feat(waku)_: add lightpush rate-limiter

* chore_: update go-waku
2024-07-12 12:34:56 +02:00
richΛrd c477a3845f
chore_: bump go-waku () 2024-07-11 15:34:20 -04:00
richΛrd 56cc5c96c5
feat_: bump go-waku to introduce new keep alive interval ()
- Also renames the existing keepAliveInterval to randomPeerKeepAliveInterval, and uses time.Duration instead of int
2024-07-11 14:36:34 -04:00
Richard Ramos 80fe18bef9 feat_: `wakuext_relayPeersByTopic` 2024-07-11 12:32:31 +01:00
Patryk Osmaczko 1715defec8 chore_: add `bits-and-blooms/bloom/v3` module 2024-07-04 17:54:29 +02:00
Prem Chaitanya Prathi 437f830b51
feat_: aggregate filter subscriptions to do bulk subs with peer ()
* feat_: aggregate filter subscriptions to do bulk subs with peer

* chore_: take possible deadlock fix in go-waku

* fix_: don't resubscribe filters unless there is a change in shard for community ()
2024-07-04 10:34:53 +05:30
richΛrd 0c470854ef
fix_: panic when enr exceeds 300 bytes () 2024-07-02 10:37:17 +01:00
richΛrd 962da46054
chore_: bump go-ethereum () 2024-06-28 10:47:05 -04:00
richΛrd e47e867b9b
refactor_: use go-waku onlinechecker to manage connection state () 2024-06-28 09:54:48 -04:00
Prem Chaitanya Prathi bd8aa0dac7
fix: enable pxclient in relay and lightClient and some fixes ()
* fix_: use cluster and shard to filter peers received via peerExchange

* chore_: enable pxClient in relay and increase relay peer connections ()

* chore_: update go-waku with fixes
2024-06-28 13:56:56 +05:30
kaichao d8a49c538b
Reset MVDS epoch after peer is online ()
* feat_: reset epoch for online peer

* chore_: fix

* chore_: refactor

* chore_: update mvds

* chore_: fix lint

* chore_: update mvds

* chore_: make vendor

* chore_: fix tst

* chore_: tuning store query hash parameter

* chore_: non-blocking mvds status change channel
2024-06-27 09:54:31 +08:00
richΛrd 2b7d153826
fix_: use UTC format for geth.log timestamp () 2024-06-19 15:08:48 -04:00
Igor Sirotin d2f4cae18f
fix: merge coverage reports from each test rerun ()
* fix_: fix test coverage when rerunning tests

* fix_: make lint-fix

* chore_: change test coverage report artifact name

* chore_: added codeclimate.json to artifacts

* chore_: bring in gocovmerge util

---------

Co-authored-by: Siddarth Kumar <siddarthkay@gmail.com>
2024-06-19 11:40:52 +01:00
Vit∀ly Vlasov 68acef62d4
feat: Simplify FilterManager and move subscription management to waku ()
* feat_: simplify filter management

fix_: try using shard as a default topic

fix_: filter test to work with shards.staging fleet

* fix_: handle connection status change and manage filter subscriptions better

* chore_: bump go-waku to latest and with some fixes

Co-authored-by: richΛrd <info@richardramos.me>

* chore_: disabling pxClient so that only fleet nodes are used for now

---------

Co-authored-by: Prem Chaitanya Prathi <chaitanyaprem@gmail.com>
Co-authored-by: richΛrd <info@richardramos.me>
2024-06-14 18:11:45 +05:30
richΛrd 3996d6fece
chore_: bump go-waku () 2024-06-05 16:10:03 -04:00
kaichao 1c116589cd
chore_: bump go-waku () 2024-06-03 21:19:18 +08:00
Andrea Maria Piana 0061c563f2
bug_: fix resend type for private group messages ()
* chore_: bump go-waku

* fix_: fix resend type for private group messages

---------

Co-authored-by: Richard Ramos <info@richardramos.me>
2024-05-30 14:18:54 +02:00
Siddarth Kumar fb88f541f2
chore_: upgrade go to 1.21 () 2024-05-30 14:22:57 +05:30
kaichao 89cf317641
chore_: bump mvds () 2024-05-29 12:38:25 +08:00
kaichao 03de0a2c6e
chore_: bump mvds () 2024-05-16 16:42:32 +08:00
richΛrd 9e0fb30f8d
chore_: bump go-waku () 2024-05-15 19:15:00 -04:00
Patryk Osmaczko 4f2adc0ced chore_: add `klauspost/reedsolomon` module 2024-04-17 22:05:53 +02:00
richΛrd 3de2756660
refactor_: expire envelope cache () 2024-04-17 08:19:03 -04:00
frank d246699c5e fix_: logout deadlock 2024-04-16 17:26:38 +08:00
Jonathan Rainville 9d12856329 chore(markdown): up markdown to get fix for statusTags
Fixes https://github.com/status-im/status-desktop/issues/14221
2024-04-04 16:15:22 -04:00
richΛrd 492f0b1242
fix: udp port 0 in go-waku () 2024-03-22 16:38:40 -04:00
frank a7b0732cc7
apply go-waku fix watchMultiaddressChange () 2024-03-01 20:20:27 +08:00
richΛrd f650915a49
chore: bump go-waku to fix high cpu usage by peer exchange () 2024-02-21 11:05:58 -04:00
Ivan Belyakov e4745d01b4 fix(wallet): handle BlobTxType transaction.
Update go-ethereum version

Closes 
2024-01-31 10:06:14 +01:00
frank 69948a7024
fix: endless logout () 2024-01-30 19:45:08 +08:00
Andrea Maria Piana e65760ca85 Add basic peersyncing
This commit adds basic syncing capabilities with peers if they are both
online.

It updates the work done on MVDS, but I decided to create the code in
status-go instead, since it's very tight to the application (similarly
the code that was the inspiration for mvds, bramble, is all tight
together at the database level).

I reused parts of the protobufs.

The flow is:

1) An OFFER message is sent periodically with a bunch of message-ids and
   group-ids.
2) Anyone can REQUEST some of those messages if not present in their
   database.

3) The peer will then send over those messages.

It's disabled by default, but I am planning to add a way to set up the
flags.
2024-01-23 12:46:17 +00:00
Siddarth Kumar 926f6a3c72 Revert "test: bump go-libp2p"
This reverts commit d0ca4447c6.
2024-01-18 20:29:33 +00:00
Richard Ramos d0ca4447c6
test: bump go-libp2p 2024-01-18 14:28:06 +00:00