Exemple #1
0
 def hash(cls, address):
     shazer = gen_hasher(b"AccountAddress")
     shazer.update(address)
     return shazer.digest()
Exemple #2
0
 def hash(self):
     shazer = gen_hasher(b"LedgerInfo")
     shazer.update(self.serialize())
     return shazer.digest()
 def hash(self):
     shazer = gen_hasher(b"SignedTransaction")
     shazer.update(self.serialize())
     return shazer.digest()
Exemple #4
0
 def hash(self):
     shazer = gen_hasher(b"AccountStateBlob")
     shazer.update(self.blob)
     return shazer.digest()
Exemple #5
0
 def hash(self):
     shazer = gen_hasher(b"VM_ACCESS_PATH")
     shazer.update(self.serialize())
     return shazer.digest()
Exemple #6
0
 def hash(self):
     shazer = gen_hasher(b"ContractEvent")
     shazer.update(self.serialize())
     return shazer.digest()