[#110] Add hashes to ShortHeader structure
Hashes in ShortHeader are needed for Data Audit process. Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
This commit is contained in:
parent
974a99e6c2
commit
c5612b01cc
1 changed files with 6 additions and 0 deletions
|
@ -55,6 +55,12 @@ message ShortHeader {
|
||||||
// Size of payload in bytes.
|
// Size of payload in bytes.
|
||||||
// `0xFFFFFFFFFFFFFFFF` means `payload_length` is unknown
|
// `0xFFFFFFFFFFFFFFFF` means `payload_length` is unknown
|
||||||
uint64 payload_length = 5 [json_name = "payloadLength"];
|
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
|
// Object Header
|
||||||
|
|
Loading…
Reference in a new issue