hodlbod
hodlbod
Looks good to me, sounds like there are 2+ implementations? If so I think we can merge.
@reneaaron @rolznz any opinions on this?
Simple, I don't re-use subscription IDs. Aren't subscriptions supposed to replace previous ones? So sending a new REQ implies a CLOSE for that subid?
This is a breaking change, and would break some implementations which rely on users only having one NIP 05 (Ditto for one). A new address type could be created which...
Thinking through this more (thank you @arkin0x), there are degenerate scenarios in which long-duration events require many high-granularity hashes. This case can't be solved by only using lower-granularity hashes, because...
Flotilla now publishes and filters using the `D` tag
> So if I wanted to get all the events for the next month, I would have to include ~30 D-tags in the subscription filter? Yes. Not that bad if...
Adding week/month would be ok. A simple way to handle it is to call a month 30 days and just do `floor(now() / 30 * DAYS)` to calculate it.
I do like it. We can add weeks/months when someone implements it.
Sorry, I didn't intend to close this.