[#26] object: Replace Epoch to ExtendedHeader

This commit replaces CreationEpoch field to ExtendedHeader message.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2020-08-04 19:03:44 +03:00 committed by Stanislav Bogatyrev
parent a28decac39
commit 8e8d9f0982
2 changed files with 3 additions and 3 deletions

View file

@ -31,6 +31,8 @@ message ExtendedHeader {
IntegrityHeader Integrity = 9;
// StorageGroup contains meta information for the data audit
storagegroup.StorageGroup StorageGroup = 10;
// CreationEpoch carries number of NeoFS epoch on which the object was created.
uint64 CreationEpoch = 11;
}
message Tombstone {}
@ -43,8 +45,6 @@ message SystemHeader {
refs.Address Address = 2;
// OwnerID is a wallet address
bytes OwnerID = 3;
// CreationEpoch carries number of NeoFS epoch on which the object was created.
uint64 CreationEpoch = 4;
}
message IntegrityHeader {

View file

@ -386,6 +386,7 @@ Attribute groups the parameters of the object attributes.
| HomoHash | [bytes](#bytes) | | HomoHash is a homomorphic hash of original object payload |
| Integrity | [IntegrityHeader](#object.IntegrityHeader) | | Integrity header with checksum of all above headers in the object |
| StorageGroup | [storagegroup.StorageGroup](#storagegroup.StorageGroup) | | StorageGroup contains meta information for the data audit |
| CreationEpoch | [uint64](#uint64) | | CreationEpoch carries number of NeoFS epoch on which the object was created. |
<a name="object.Header"></a>
@ -452,7 +453,6 @@ SplitHeader groups information about spawning the object through a payload split
| PayloadLength | [uint64](#uint64) | | PayloadLength is an object payload length |
| Address | [refs.Address](#refs.Address) | | Address carries object address in the NeoFS system. It encapsulates the object and the container identifiers. |
| OwnerID | [bytes](#bytes) | | OwnerID is a wallet address |
| CreationEpoch | [uint64](#uint64) | | CreationEpoch carries number of NeoFS epoch on which the object was created. |
<a name="object.Tombstone"></a>