oysterprotocol / webinterface

Web interface that enables a user to upload a file via the Oyster Protocol
GNU General Public License v3.0
35 stars 5 forks source link

Adds versioning to meta chunk #131

Closed AaronVasquez closed 6 years ago

AaronVasquez commented 6 years ago

NOTE: I store the version as a string in hex because JS does not natively support integers (wat?!), which made it unnecessarily difficult and error prone.

If we are really concerned about space, I don't think we need 4 bytes, 2 bytes is more than enough. I doubt we will ever reach v65536

AaronVasquez commented 6 years ago

cc @nullpilot