mikedilger on Nostr: A lightweight relay that works as a READ and WRITE relay, but only for messages ...
A lightweight relay that works as a READ and WRITE relay, but only for messages related to me. So people can send me things (to my READ relay) but nobody can read them back. And anybody can follow what I WRITE. I looked into nostr-rs-relay and strfry and neither are easily tweakable to do this, but probably easier than starting from scratch.... yet, you know me, I want to start from scratch in rust, it would be fun. So I did, and got the very basic memory-mapping and lock-free concurrent indexing code working... ya know, the hard part, the fun part... and now I can't be bothered to finish the boring part.
Published at
2023-05-25 00:26:08Event JSON
{
"id": "b0cd4f86e961d60f4f9c733c856fa02e0dd08648e858b8be84056dfe9d8683e3",
"pubkey": "ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49",
"created_at": 1684974368,
"kind": 1,
"tags": [
[
"client",
"gossip"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
],
[
"p",
"bfc058c9abb250a2f4f0f240210ae750221b614f19b9872ea8cdf59a69d68914"
],
[
"p",
"7bdef7be22dd8e59f4600e044aa53a1cf975a9dc7d27df5833bc77db784a5805"
],
[
"e",
"bf81722e0bc7a6fdd8f90a72eaa95a6870c796ecc4f71b00df3973ef65debf0e",
"wss://offchain.pub/",
"root"
]
],
"content": "A lightweight relay that works as a READ and WRITE relay, but only for messages related to me. So people can send me things (to my READ relay) but nobody can read them back. And anybody can follow what I WRITE. I looked into nostr-rs-relay and strfry and neither are easily tweakable to do this, but probably easier than starting from scratch.... yet, you know me, I want to start from scratch in rust, it would be fun. So I did, and got the very basic memory-mapping and lock-free concurrent indexing code working... ya know, the hard part, the fun part... and now I can't be bothered to finish the boring part.",
"sig": "ce53a5cacc661480db58ab81872e595747a7657f195223369b1bc236dfa9fed9ac4926e9e195fd05786a58e801127e3e23fa1d50928655ce0593a66a75dd77e6"
}