Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
clarified size of chunk stores
Browse files Browse the repository at this point in the history
  • Loading branch information
bogwar committed Aug 21, 2023
1 parent 94f5bee commit 43ac367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3639,7 +3639,7 @@ S.messages = Older_messages · CallMessage M · Younger_messages
(M.queue = Unordered) or (∀ msg ∈ Older_messages. msg.queue ≠ M.queue)
M.method_name = 'upload_chunk'
M.arg = candid(A)
chunk_store_size = |chunk_store[M.canister_id]|
chunk_store_size = |{x | chunk_store[M.canister_id][x] not null}|
chunk_store_size < MAX_CHUNK_STORE_SIZE and (M.caller ∈ S.controllers[A.canister_id] ∪ {A.canister_id})
hash = SHA-256(A.chunk)

Expand Down

0 comments on commit 43ac367

Please sign in to comment.