Zeth - Zerocash on Ethereum
0.8
Reference implementation of the Zeth protocol by Clearmatics
|
Public Member Functions | |
def | __init__ (self, int next_block, int num_notes, NullifierMap nullifier_map) |
str | to_json (self) |
Static Public Member Functions | |
WalletState | from_json (str json_str) |
Public Attributes | |
next_block | |
num_notes | |
nullifier_map | |
State to be saved in the wallet (excluding individual notes). As well as the next block to query, we store some information about the state of the Zeth deployment such as the number of notes or the number of distinct addresses seen. This can be useful to estimate the security of a given transaction.
def zeth.core.wallet.WalletState.__init__ | ( | self, | |
int | next_block, | ||
int | num_notes, | ||
NullifierMap | nullifier_map | ||
) |
|
static |
str zeth.core.wallet.WalletState.to_json | ( | self | ) |