Global Feed Post Login
Replying to Avatar ᴛʜᴇ ᴅᴇᴀᴛʜ ᴏꜰ ᴍʟᴇᴋᴜ

over 19 digits is more than 64 bits

but, interesting point, the value is a JSON integer, i don't think it allows over 64 bit unsigned anyhow

bigger numbers are generally treated using generalised "big integer" math that uses byte arrays and arbitrary lengths, and to encode them in JSON you will usually then need to put them in a string, that's also why they are strings for npubs and event ids

Avatar
ᴛʜᴇ ᴅᴇᴀᴛʜ ᴏꜰ ᴍʟᴇᴋᴜ 1y ago

also, -382-01-01T12:00 is shorter

Reply to this note

Please Login to reply.

Discussion

No replies yet.