]> git.bitcoin.ninja Git - rapid-gossip-sync-server/commit
Connect peers independently.
authorArik Sosman <git@arik.io>
Mon, 28 Aug 2023 21:40:35 +0000 (14:40 -0700)
committerArik Sosman <git@arik.io>
Wed, 6 Sep 2023 23:23:26 +0000 (16:23 -0700)
commit66dd8c2933cc57aa2bdc8e4ca33716f6d2309b5e
tree6a63c748c25daaf350e538697e4bfa98cbc8ddea
parented395b114b2992e3393c663b5e1ffec8c529648e
Connect peers independently.

Previously, we wouldn't start monitoring the gossip data until all
intended peers had either failed or succeeded to connect.

Instead, we're now spawn each peer connection independently, and only
await the first 5 successful peer connections.
src/config.rs
src/tracking.rs