SIGBlockchain / project_aurum

SIG Blockchain blockchain project in Go
https://acm.cs.uic.edu/sigblockchain
MIT License
7 stars 1 forks source link

ContainsPublicKey and ContainsWalletAddress (2 funcs) #420

Open kastolars opened 4 years ago

kastolars commented 4 years ago

ContainsPublicKey Given a contract and public.AurumPublicKey, output true if:

ContainsWalletAddress Given a contract and a public.AurumPublicKey, output true if:

For those that are new, the public key is the public, safe version of the private key, and the wallet address is the wallet address is simply another name for the hash of the public key.