[#26] object: Replace CreationPoint with Epoch
In previous version of the format Object message included moment of creation in two epoch times: NeoFS and Unix. Since unix is not processed in the system, this commit narrows the time point of object creation to the system epoch number. The object.CreationPoint message has therefore been deleted as no longer used Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
5beca3b0d1
commit
6e5565f238
2 changed files with 3 additions and 23 deletions
|
@ -57,15 +57,8 @@ message SystemHeader {
|
|||
bytes OwnerID = 4;
|
||||
// CID is a SHA256 hash of the container structure (container identifier)
|
||||
bytes CID = 5;
|
||||
// CreatedAt is a timestamp of object creation
|
||||
CreationPoint CreatedAt = 6;
|
||||
}
|
||||
|
||||
message CreationPoint {
|
||||
// UnixTime is a date of creation in unixtime format
|
||||
int64 UnixTime = 1;
|
||||
// Epoch is a date of creation in NeoFS epochs
|
||||
uint64 Epoch = 2;
|
||||
// CreationEpoch carries number of NeoFS epoch on which the object was created.
|
||||
uint64 CreationEpoch = 6;
|
||||
}
|
||||
|
||||
message IntegrityHeader {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue