Documentation.

This commit is contained in:
Itamar Turner-Trauring 2022-11-23 10:15:19 -05:00
parent fd9e50adf1
commit 3790280264
2 changed files with 6 additions and 0 deletions

View File

@ -262,6 +262,8 @@ class Encoder(object):
d.addCallback(lambda res: self.finish_hashing())
# These calls have to happen in order, and waiting for previous one
# also ensures backpressure:
d.addCallback(lambda res:
self.send_crypttext_hash_tree_to_all_shareholders())
d.addCallback(lambda res: self.send_all_block_hash_trees())

View File

@ -138,6 +138,10 @@ class _WriteBuffer:
@implementer(IStorageBucketWriter)
class WriteBucketProxy(object):
"""
Note: The various ``put_`` methods need to be called in the order in which the
bytes will get written.
"""
fieldsize = 4
fieldstruct = ">L"