|
Zeth - Zerocash on Ethereum
0.8
Reference implementation of the Zeth protocol by Clearmatics
|
Functions | |
| None | upload_response (Client client, str response_file, str key_file) |
| None | wait_for_turn (Client client, int interval, VerificationKey verification_key) |
| None | contribute (str base_url, str key_file, str challenge_file, Callable[[], str] contribute_cb, int wait_interval, Optional[str] server_certificate, bool insecure) |
| None coordinator.contribute.contribute | ( | str | base_url, |
| str | key_file, | ||
| str | challenge_file, | ||
| Callable[[], str] | contribute_cb, | ||
| int | wait_interval, | ||
| Optional[str] | server_certificate, | ||
| bool | insecure | ||
| ) |
Given a callback that creates a response from a challenge, download a challenge, create the response via the callback, and sign and upload it.
Definition at line 65 of file contribute.py.


| None coordinator.contribute.upload_response | ( | Client | client, |
| str | response_file, | ||
| str | key_file | ||
| ) |
Given some response file and a key, sign the response and upload the coordinator connected to by client.
Definition at line 31 of file contribute.py.

| None coordinator.contribute.wait_for_turn | ( | Client | client, |
| int | interval, | ||
| VerificationKey | verification_key | ||
| ) |
Wait until our turn, returning when we can contribute. If anything goes wrong, an exception is thrown.
Definition at line 41 of file contribute.py.

1.8.17