Skip to content
Snippets Groups Projects
Unverified Commit ca7b587f authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

slightly nicer `_get_passes` docs

parent c1d6d08d
No related branches found
No related tags found
1 merge request!155Client-side two-phase spending protocol to reduce pass loss
......@@ -227,11 +227,11 @@ class ZKAPAuthorizerStorageClient(object):
valid ``RemoteReference`` corresponding to the server-side object for
this scheme.
:ivar _get_passes: A two-argument callable which retrieves some passes
which can be used to authorize an operation. The first argument is a
bytes (valid utf-8) message binding the passes to the request for
which they will be used. The second is an integer giving the number
of passes to request.
:ivar (bytes -> int -> IPassGroup) _get_passes: A callable to use to
retrieve passes which can be used to authorize an operation. The
first argument is utf-8 encoded message binding the passes to the
request for which they will be used. The second gives the number of
passes to request.
"""
_expected_remote_interface_name = (
"RIPrivacyPassAuthorizedStorageServer.tahoe.privatestorage.io"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment