def verify(self): acc = '' for t in self.transactions: acc += str(t.hash) return int(sha256((str(self.nonce)+acc).encode('utf-8')).hexdigest()[0:6],16) < GAMER_BAWA