Oddbean new post about | logout
 How to do millisecond timestamps on Nostr? 🐒 In chats it's not unusual to send multiple messages during the same second, not to mention other stuff like games. 
 Chat applications that need millisecond timestamps can add an additional tag for milliseconds 
 yes, tag is the place for it 
 In distributed systems, time is an illusion anyway. Second resolution helps prevent devs from making the mistake of making false assumptions. 
 Pow: Add a nonce and make sure the event id, ordered alphabetically, comes after the previous message. 
 I am kidding... Just watch for conflicts and add +1 to the previous message's created_at...  
 ["ms", "999"]