viff

changeset 734:db9a7bdd9d68

Document BasicRuntime.id and .threshold.
author Martin Geisler <mg@daimi.au.dk>
date Thu, 24 Apr 2008 14:59:21 +0200
parents 1f206d21e988
children f51415df0335
files doc/runtime.txt
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- a/doc/runtime.txt	Thu Apr 24 14:53:43 2008 +0200
     1.2 +++ b/doc/runtime.txt	Thu Apr 24 14:59:21 2008 +0200
     1.3 @@ -28,6 +28,16 @@
     1.4     .. autoclass:: BasicRuntime
     1.5        :members:
     1.6  
     1.7 +      .. attribute:: BasicRuntime.id
     1.8 +
     1.9 +         Player ID. This is an integer in the range 1--*n* for *n*
    1.10 +         players.
    1.11 +
    1.12 +      .. attribute:: BasicRuntime.threshold
    1.13 +
    1.14 +         Default threshold used by :meth:`Runtime.shamir_share`,
    1.15 +         :meth:`Runtime.open`, and others.
    1.16 +
    1.17        .. attribute:: BasicRuntime.program_counter
    1.18  
    1.19           Whenever a share is sent over the network, it must be