예제 #1
0
 def hash(self):
     return sha256(concat([self.data_poi_hash(), self.rest_poi_hash()]))
예제 #2
0
 def hash(self):
     return sha256(self.pb_bytes())
예제 #3
0
 def rest_poi_hash(self) -> bytes:
     # Rest of the transaction to be divided in a new level in the proof of inclusion
     return sha256(self.pb_bytes())