diff options
Diffstat (limited to 'src/zenutil/include')
| -rw-r--r-- | src/zenutil/include/zenutil/cache/cacherequests.h | 7 | ||||
| -rw-r--r-- | src/zenutil/include/zenutil/packageformat.h | 3 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/zenutil/include/zenutil/cache/cacherequests.h b/src/zenutil/include/zenutil/cache/cacherequests.h index abc5a3c13..0913efc65 100644 --- a/src/zenutil/include/zenutil/cache/cacherequests.h +++ b/src/zenutil/include/zenutil/cache/cacherequests.h @@ -195,9 +195,10 @@ namespace cacherequests { struct CacheValueResult { - uint64_t RawSize = 0; - IoHash RawHash = IoHash::Zero; - CompressedBuffer Body = CompressedBuffer::Null; + uint64_t RawSize = 0; + uint64_t RawOffset = 0; + IoHash RawHash = IoHash::Zero; + CompressedBuffer Body = CompressedBuffer::Null; }; struct CacheValuesResult diff --git a/src/zenutil/include/zenutil/packageformat.h b/src/zenutil/include/zenutil/packageformat.h index 0b8495fbd..c90b840da 100644 --- a/src/zenutil/include/zenutil/packageformat.h +++ b/src/zenutil/include/zenutil/packageformat.h @@ -89,7 +89,8 @@ enum class RpcAcceptOptions : uint16_t { kNone = 0, kAllowLocalReferences = (1u << 0), - kAllowPartialLocalReferences = (1u << 1) + kAllowPartialLocalReferences = (1u << 1), + kAllowPartialCacheChunks = (1u << 2) }; gsl_DEFINE_ENUM_BITMASK_OPERATORS(RpcAcceptOptions); |