What is Nostr?
Jean-Paul Kogelman [ARCHIVE] /
npub1sa8…y304
2023-06-07 15:04:53
in reply to nevent1q…hsxj

Jean-Paul Kogelman [ARCHIVE] on Nostr: 📅 Original date posted:2013-07-22 📝 Original message:Hi Mike, I had a similar ...

📅 Original date posted:2013-07-22
📝 Original message:Hi Mike,

I had a similar request on the forums. I suggested adding either a 2 byte 'weeks since genesis' or 'months since genesis', but starting from spec birth works too. Would either of those work for you?


jp

On Jul 22, 2013, at 6:14 AM, Mike Hearn <mike at plan99.net> wrote:

> This isn't usable for SPV wallets unless it has a birthday in it. Otherwise you either need to scan the entire chain (slow) or find a fully indexed copy of the block chain (expensive, more centralised). Just add a UNIX time as an extra 4 bytes, or if you want to save a few characters then use a uint16 that represents "days since birth of this specification".
Author Public Key
npub1sa86gng3pvs3jgyt5majwcrhn8ck5qxgy9pjqxkh79u638cd7dys28y304