WhiteflagProtocol / whiteflag-standard

Specification for a decentralised protocol to create a trusted messaging network for disaster & conflict zones
https://standard.whiteflagprotocol.org
Other
5 stars 0 forks source link

More efficient DateTime field #2

Open ts5746 opened 5 years ago

ts5746 commented 5 years ago

The current 7 bytes in the compressed encoding is not the most efficient for the DateTime field (see par. 4.3.1.1 of the specification). If the number of seconds since 1-1-2016 is used, 4 bytes are enough till 2150.