Comments (2)
I was originally in favor of a top-level "expires_at" field, similar to "created_at". I think it is different enough from NIP-09 that it should be a distinct proposal though (NIP-09 deals with deleting already-published events).
Counter-arguments for an expiration field:
- Relays are already going to decide on their own expiration policy that probably have them ignoring an
expires_at
field, especially if those tend to be long. - Event kinds may end up having community de-facto defaults on expiration. Example: encrypted direct messages may drop off all relays after ~3 months, clients would be expected to pick up their messages before that time. Delete messages may be handled immediately, and then dropped after a few weeks. Old contact/follow lists are already dropped after a new one is published. Metadata is dropped upon a new event.
Arguments for a dedicated field:
- Allows relays to get rid of events at a time the client is most happy with.
- Supports more advanced use cases where relays may charge users for a total number of non-expired events, so this (+ NIP-09) gives clients a mechanism to communicate with relays to manage the storage space allocated to them.
My personal feeling is - events, in general, won't live forever anyways. "Expiration" is a neat hint to bundle, but there are already a number of ways that events will drop off the network. If someone really wants to get rid of something they can use NIP-09. Otherwise, relays and clients/consumers can determine their own policies for retention, and since they are paying for the storage, their preferences should dominate. I think this gives an illusion of control to clients/publishers that they don't really have, and should not expect.
from nostr.
How about to add "until" and "since" field to event itself? is it difficult?
from nostr.
Related Issues (20)
- Typos in URLs on nostr.com/contribute HOT 1
- Any IRC channels? HOT 1
- "Get started" guide is broken in many places HOT 2
- Missing License Information HOT 1
- Nostr Improvement Proposal: Relay-Hosted Personalized Dictionaries HOT 1
- Given the protection from bans this protocol enforces, can you reassure me that this is a suitable place for my hate speech HOT 4
- nostr is more than a twitter replacement?
- An idea to use nostr to publish torrents and encourage seeding
- Using the new passkey FIDO standard with nostr
- Associating images and notes in a relay to use nostr as diary HOT 1
- (resolved) Trying to implement NIP01, but ["NOTICE","could not parse command"] HOT 4
- Web3 TLD .nostr domain names are now available.
- adding wallet
- What is the verb for nostr when we reference a note ? HOT 3
- Add AGPL-3.0 license HOT 3
- Nostr
- Support for anonymizing networks HOT 5
- Standardizing p2p software development collaborative platform: HOT 4
- Invalid Event ID HOT 1
- Profile recovery idea if nsec is compromised HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nostr.