Gossip changes
Gossip changes:
If a relay used for general subscriptions of people you follow closes on us, gossip now replaces it with another relay using the same relay-picker algorithm it uses at startup (that algorithm has known issues but it kinda works well enough for now). It will not retry the relay that closed the connection on us during the current session.
Gossip now has better relay management pages. You can set a rank from 0-9:
0 - don't read from this relay
1 - 1/3rd of default rank
3 - default rank
9 - 3x default rank
Also it shows you which relays it is connected to currently, and for the general subscription how many pubkeys it is serving.
There is a chance gossip will keep trying new relays over and over if relays keep hanging up on it, and I'm not sure if that's bad. Earlier today due to some bugs and due to relays being quite busy, it seemed like maybe gossip was trying too hard. So keep an eye on it (run it from a terminal and watch the logs) and use your best judgement.
And as always, report bugs please. Thanks.
If a relay used for general subscriptions of people you follow closes on us, gossip now replaces it with another relay using the same relay-picker algorithm it uses at startup (that algorithm has known issues but it kinda works well enough for now). It will not retry the relay that closed the connection on us during the current session.
Gossip now has better relay management pages. You can set a rank from 0-9:
0 - don't read from this relay
1 - 1/3rd of default rank
3 - default rank
9 - 3x default rank
Also it shows you which relays it is connected to currently, and for the general subscription how many pubkeys it is serving.
There is a chance gossip will keep trying new relays over and over if relays keep hanging up on it, and I'm not sure if that's bad. Earlier today due to some bugs and due to relays being quite busy, it seemed like maybe gossip was trying too hard. So keep an eye on it (run it from a terminal and watch the logs) and use your best judgement.
And as always, report bugs please. Thanks.