def hash(self): return sha256(concat([self.data_poi_hash(), self.rest_poi_hash()]))
def hash(self): return sha256(self.pb_bytes())
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())