Crates.io | gossip-relay-picker |
lib.rs | gossip-relay-picker |
version | 0.1.0 |
source | src |
created_at | 2023-03-11 23:12:11.712734 |
updated_at | 2023-03-11 23:12:11.712734 |
description | A relay picker for nostr, used by gossip |
homepage | https://github.com/mikedilger/gossip-relay-picker |
repository | https://github.com/mikedilger/gossip-relay-picker |
max_upload_size | |
id | 807602 |
size | 18,430 |
This is the code that the gossip client uses to pick relays to connect to and assign public keys to each.
If you try to use this library and find it difficult due to async
issues implementing the hooks, let me know. We can make more of the hooks async
. I know how much of a PITA it can be.