Semisol 👨💻 on Nostr: Actually the Relay process would be supervised -- the Relay process basically tries ...
Actually the Relay process would be supervised -- the Relay process basically tries to connect to the relay, and when it does, it starts a RelayBackfiller and RelayStream process which then actually connect to the actual relay and get events. It also handles disconnections (trying to health check after 5 RelayStream failures)
Published at
2023-03-06 00:10:28Event JSON
{
"id": "52065a508385189e733c64a400204fd9067520c501d6fd6f96467177b8ed2bd9",
"pubkey": "52b4a076bcbbbdc3a1aefa3735816cf74993b1b8db202b01c883c58be7fad8bd",
"created_at": 1678061428,
"kind": 1,
"tags": [
[
"e",
"9ba62f559a54ed5d8044336f70bbf9528f86315b032f9e1bc0ce67e559e8aa92",
"",
"root"
],
[
"e",
"65cc9f9a5fefeb83fd431e3d1f7b86e3be63c1f24840a4d9af148c654069075a",
"",
"reply"
],
[
"p",
"9e87fe21542cef6b1076334f5e01f614cbc5bea223187b078deb47c2f72205b6"
],
[
"p",
"9e87fe21542cef6b1076334f5e01f614cbc5bea223187b078deb47c2f72205b6"
]
],
"content": "Actually the Relay process would be supervised -- the Relay process basically tries to connect to the relay, and when it does, it starts a RelayBackfiller and RelayStream process which then actually connect to the actual relay and get events. It also handles disconnections (trying to health check after 5 RelayStream failures)",
"sig": "fdac3d753c15e969ff6328f08d737cb7ad87e7f1ba4f26b707703b6d348775c91cfb7ab6f6c0923fef39f98194c043a1fcd4188ee04a829103aaf8bf9b9f930d"
}