remove bson reference

This commit is contained in:
frbittencourt 2023-03-10 14:00:03 +00:00
parent 08cc3c6f7d
commit 8cfc828bea

2
95.md
View File

@ -12,7 +12,6 @@ This NIP specifies the use of the `30064` event type (parameterized replaceable
* `d` containing the name of the shared file to allow it to be overwritten in the future.
* `type` a string indicating the data type of the file. The MIME types format must be used (https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types)
* `decrypt` (optional) If the file is encrypted, you must indicate in the first value the algorithm used to encrypt the file and in the second value the parameters that allow the decryption of the file
* `format` ("Base64" or "BSON") Defines how the data is stored in the content. Having the option of being in base64 format or in BSON format.
This event must not be returned in generic searches. It should only be returned if specifically requested by your ID. This avoids bandwidth consumption and unnecessary overload on the relay and client.
@ -29,7 +28,6 @@ The `NIP-94` can be used to broadcast the ID of that event, with the ` and ` tag
["decrypt",<algorithm>,<Decryption Params>],
["p", <32-bytes hex of a pubkey>, <recommended relay URL>],
["hash",< SHA256 hexencoded string of the raw data>],
["format",<"Base64" or "BSON">]
],
"content": <string with base64 data>,
"sig": <64-bytes hex of the signature of the sha256 hash of the serialized event data, which is the same as the "id" field>