move meta props to the beginning

This commit is contained in:
zzz
2018-10-13 12:09:54 +00:00
parent ebb90804df
commit 260ad3288a

View File

@@ -577,6 +577,7 @@ Format
Standard LS2 Header as specified above Standard LS2 Header as specified above
Meta LS2 Type-Specific Part Meta LS2 Type-Specific Part
- Properties (Mapping as specified in common structures spec, 2 zero bytes if none)
- Number of entries (1 byte) Maximum TBD - Number of entries (1 byte) Maximum TBD
- Entries. Each entry contains: (40 bytes) - Entries. Each entry contains: (40 bytes)
- Hash (32 bytes) - Hash (32 bytes)
@@ -584,13 +585,10 @@ Format
TBD. Set all to zero for compatibility with future uses. TBD. Set all to zero for compatibility with future uses.
- Cost (priority) (1 byte) - Cost (priority) (1 byte)
- Expires (4 bytes) (offset from published in ms) - Expires (4 bytes) (offset from published in ms)
- Number of revocations (1 byte) Maximum TBD - Number of revocations (1 byte) Maximum TBD
- Revocations: Each revocation contains: (32 bytes) - Revocations: Each revocation contains: (32 bytes)
- Hash (32 bytes) - Hash (32 bytes)
- Properties (Mapping as specified in common structures spec, 2 zero bytes if none)
Standard LS2 Signature: Standard LS2 Signature:
- Signature (40+ bytes) - Signature (40+ bytes)
The signature is of everything above. The signature is of everything above.