nostr:npub1acg6thl5psv62405rljzkj8spesceyfz2c32udakc2ak0dmvfeyse9p35c are you not able to enter an IP address for a relay in Gossip? The check button greys out when I try. Was hoping to test a locally compiled relay to experiment with.
Discussion
You can use an IP address. But it has to be Internet accessible, not in a private range. Maybe I shouldn't have been so strict.
There are times when you want to verify the URL is publicly accessible and not someone from the Internet telling you to access a private IP that would be very different from theirs. There are other times when that doesn't matter (your case, for example). I'm hesitating to write yet-another-type: PublicRelayUrl.
Ok. Yeah I was testing strfry stuff on my development machine. Maybe make an exception for localhost?
Idk. I know you had a line of thought to decide to limit it, but I don’t know what it was, so I’m not criticizing. I guess I could change that in my wording branch just for my case.
Thx 🙏
You can fork gossip and tweak it. In particular you'll have to fork nostr-types, edit src/types/url.rs and search for "is_global". Then you'll need your gossip Cargo.toml to use your local fork of nostr-types.
oh, and you'll need to fork gossip-relay-picker just to make it use the same local fork of nostr-types otherwise rust will see them as different types. Then make gossip use your fork of gossip-relay-picker.
Make use of your hosts file. Put host name in gossip. >> profit
Who is this genius? I don't have your relays. Can't get your metadata.
But yes nostr:npub1wtuh24gpuxjyvnmjwlvxzg8k0elhasagfmmgz0x8vp4ltcy8ples54e7js try this first, way easier.
I'm curious why you see no metadata, I would assume you at least see displayname?
If you don’t share a relay, you’d be just a pubkey I believe.
Looks to me like I share several🤔
Hmm. I have your username but no pfp. nostr:npub1acg6thl5psv62405rljzkj8spesceyfz2c32udakc2ak0dmvfeyse9p35c ?
I've got your metadata now. But I restarted the client not to long ago. No, I wasn't seeing displayname alphakamp. I am now.
I guess I could investigate by pulling your events (kinds 0, 3, 10002) from relays and seeing what is up, but I'm feeling sleepy