# NIP15

## 存储事件结束通知

`final` `optional` `author:Semisol`

中继可以支持在发送了所有存储的事件时通知客户端。

如果中继支持此 NIP，则中继应在发送了其保留的所有事件后，以此格式 `["EOSE", <subscription_id>]` 向客户端发送一条 `EOSE` 消息，并指示此消息之后的所有事件都是新发布的。

## 客户行为

客户端应使用该 `supported_nips` 字段来了解中继是否支持存储事件结束通知。

## 动机

此提议的动机是在所有事件都已由中继发送时减少不确定性，以使客户端代码可能不那么复杂。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sherry-pang.gitbook.io/nostr-cn/fu-lu-1-nip-xiang-jie/15.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
