xmtp / proto

Shared Protocol Buffers and their associated generated code
MIT License
17 stars 5 forks source link

Tweak: Use int64 instead of uint64 for timestamps #197

Closed richardhuaaa closed 2 months ago

richardhuaaa commented 2 months ago

Every library on both server and client uses int64 as the return value for unix_nanos API methods, presumably because it is possible to have timestamps from before the unix epoch. Let's just conform to the standard here rather than having to convert between these types everywhere.