erlang-punch / nostr

A pure Erlang implementation of the nostr protocol
https://github.com/erlang-punch/nostr
MIT License
16 stars 3 forks source link

Create an internal routing system for nostr #17

Open niamtokik opened 1 year ago

niamtokik commented 1 year ago

The latest versions of nostr specifications have removed asynchronous way to communicate with a relay. That means every connection are now synchronous and will receive an answer from the relay. The first model was not planned with that in mind and a full rewrite of this part of the code is required. Here the issue.