aaa on Nostr: 逻辑应该是这样:先去客户端内置的relay ...
逻辑应该是这样:先去客户端内置的relay servers查一遍,没有用户当前使用的relay list,再广播当前客户端内置的relay list到这些server,如果客户端添加了relay server,也是先去查一遍,如果已有relay list,把当前的relay list加上去,如果没有,则把当前的relay list广播到新添加的relay server。
Published at
2023-03-01 11:17:35Event JSON
{
"id": "4a403cab12441aba87bcea47d96073eca5652458bbcfd1801726b725bf3b1f56",
"pubkey": "36e8d5095a5b9a6c828efab190c7724122e11576ad1f60ab84203eccbf0c6a1e",
"created_at": 1677669455,
"kind": 1,
"tags": [
[
"e",
"d15caa78e5c0a25b6fa2c73c4b03481b4e948245cb0a748c89a893b02f961a14"
],
[
"e",
"b313cdc228466845199ac071ed43ebb0f21f4def03fa0c5f6b9034e7aae1bbc4"
],
[
"p",
"8888888890493e0c6a6e4a24ae3319a0d7fc595ca3d8e5cae19954e1139008d3"
],
[
"p",
"45c41f21e1cf715fa6d9ca20b8e002a574db7bb49e96ee89834c66dac5446b7a"
],
[
"p",
"f0c864cf573de171053bef4df3b31c6593337a097fbbd9f20d78506e490c6b64"
],
[
"p",
"d543c820050efd6d2c1536b0990111ac293a4431e6a12929432366e0aa8001e7"
]
],
"content": "逻辑应该是这样:先去客户端内置的relay servers查一遍,没有用户当前使用的relay list,再广播当前客户端内置的relay list到这些server,如果客户端添加了relay server,也是先去查一遍,如果已有relay list,把当前的relay list加上去,如果没有,则把当前的relay list广播到新添加的relay server。",
"sig": "fb0498498385e7296d3fdc150421b3b204948ddecc649018cefc1b32ecf39a83766e030b51a6ee206b88926768aead1a9c47e5317433749cea8ef312e834196e"
}