Skip to content

Commit 5fd5f71

Browse files
committed
Update p2p chat specs
1 parent 54358dd commit 5fd5f71

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/chat.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Encryption is done following [NIP-44](https://github.com/nostr-protocol/nips/blo
6565

6666
## Other considerations
6767

68-
Clients MUST attach a certain amount of proof-of-work to the wrapper event per [NIP-13](https://github.com/nostr-protocol/nips/blob/master/13.md) in a bid to demonstrate that the event is not spam or a denial-of-service attack.
68+
Clients optionally can attach a certain amount of proof-of-work to the wrapper event per [NIP-13](https://github.com/nostr-protocol/nips/blob/master/13.md) in a bid to demonstrate that the event is not spam or a denial-of-service attack to relays, this is not mandatory.
6969

7070
The canonical `created_at` time belongs to the inner event. The wrapper timestamp SHOULD be tweaked to thwart time-analysis attacks. Note that some relays don't serve events dated in the future, so all timestamps SHOULD be in the past.
7171

@@ -206,4 +206,4 @@ pub async fn mostro_unwrap(
206206
}
207207
```
208208

209-
More details about this implementation can be found in this [repository](https://github.com/grunch/mostro-mediator).
209+
More details about this implementation can be found in this [repository](https://github.com/MostroP2P/mostro-chat).

0 commit comments

Comments
 (0)