nostrclient (python nostr client) 更新了,修改了relay 订阅事件的逻辑。减少了内存泄漏的可能。

增加

```

r = RelayPool(relays)

r.connect(5)

r.add_relay("wss://nostr.mom")

r.del_relay("wss://nostr.mom")

```

动态增加relaypool里面的 relayserver。

Reply to this note

Please Login to reply.

Discussion

No replies yet.