From c5612b01cc7b0439b8f770b3b53dbef346a7db86 Mon Sep 17 00:00:00 2001 From: Stanislav Bogatyrev Date: Thu, 17 Dec 2020 10:53:40 +0300 Subject: [PATCH] [#110] Add hashes to ShortHeader structure Hashes in ShortHeader are needed for Data Audit process. Signed-off-by: Stanislav Bogatyrev --- object/types.proto | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/object/types.proto b/object/types.proto index 3a94559..097d2db 100644 --- a/object/types.proto +++ b/object/types.proto @@ -55,6 +55,12 @@ message ShortHeader { // Size of payload in bytes. // `0xFFFFFFFFFFFFFFFF` means `payload_length` is unknown uint64 payload_length = 5 [json_name = "payloadLength"]; + + // Hash of payload bytes + neo.fs.v2.refs.Checksum payload_hash = 6 [json_name = "payloadHash"]; + + // Homomorphic hash of the object payload + neo.fs.v2.refs.Checksum homomorphic_hash = 7 [json_name = "homomorphicHash"]; } // Object Header