nostr_cn_dev on Nostr: nostrclient (python nostr client) 更新了,修改了relay ...
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。
Published at
2025-01-23 09:33:16Event JSON
{
"id": "088649a6e7d6749e981dd258f48193c6e8d3cb5215cf0ed07b726e23437b5c45",
"pubkey": "fd06f542bc6c06a39881810de917e6c5d277dfb51689a568ad7b7a548d6d54cd",
"created_at": 1737624796,
"kind": 1,
"tags": [
[
"client",
"Yakihonne",
"31990:20986fb83e775d96d188ca5c9df10ce6d613e0eb7e5768a0f0b12b37cdac21b3:1700732875747"
]
],
"content": "nostrclient (python nostr client) 更新了,修改了relay 订阅事件的逻辑。减少了内存泄漏的可能。\n增加 \n```\nr = RelayPool(relays)\n\nr.connect(5)\n\nr.add_relay(\"wss://nostr.mom\")\n\nr.del_relay(\"wss://nostr.mom\")\n\n```\n动态增加relaypool里面的 relayserver。\n",
"sig": "c953e6e01d9e40d88f02c04d44e25c3ba63de1a73909e91a49c6f666391712ad70cfe4de98580fa7283c5d3e22a5818de3345d092b2b4f88a343f83765362e1c"
}