Verify this transaction
(self)
| 219 | return combined.evaluate(z) |
| 220 | |
| 221 | def verify(self): |
| 222 | '''Verify this transaction''' |
| 223 | # check that we're not creating money |
| 224 | if self.fee() < 0: |
| 225 | return False |
| 226 | # check that each input has a valid ScriptSig |
| 227 | for i in range(len(self.tx_ins)): |
| 228 | if not self.verify_input(i): |
| 229 | return False |
| 230 | return True |
| 231 | |
| 232 | def sign_input(self, input_index, private_key): |
| 233 | '''Signs the input using the private key''' |