status-go/eth-node/bridge/geth
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
..
ens Add permission checks for ENS token permissions 2023-06-05 13:10:48 +02:00
envelope.go Remove whisper 2021-05-21 07:22:58 +02:00
envelope_error.go go-waku integration (#2247) 2021-06-16 16:19:45 -04:00
envelope_event.go go-waku integration (#2247) 2021-06-16 16:19:45 -04:00
keystore.go chore: `password` removed from the `DeleteAccount` function 2023-05-09 10:48:44 +02:00
mailserver_response.go go-waku integration (#2247) 2021-06-16 16:19:45 -04:00
node.go Move services to status-node 2021-07-20 10:57:38 +02:00
public_waku_api.go feat: mark automatic status updates as ephemeral 2022-11-09 15:49:26 +03:00
public_wakuv2_api.go feat: use protected topics for communities 2023-08-23 13:56:00 -04:00
subscription.go Use goimports instead of gofmt 2020-01-06 10:17:23 +01:00
waku.go Add basic peersyncing 2024-01-23 12:46:17 +00:00
wakuv2.go Revert "test: bump go-libp2p" 2024-01-18 20:29:33 +00:00