(self, spend_tx, n, value, script=CScript([OP_TRUE, OP_DROP] * 15 + [OP_TRUE]))
| 1214 | |
| 1215 | # this is a little handier to use than the version in blocktools.py |
| 1216 | def create_tx(self, spend_tx, n, value, script=CScript([OP_TRUE, OP_DROP] * 15 + [OP_TRUE])): |
| 1217 | return create_tx_with_script(spend_tx, n, amount=value, script_pub_key=script) |
| 1218 | |
| 1219 | # sign a transaction, using the key we know about |
| 1220 | # this signs input 0 in tx, which is assumed to be spending output n in spend_tx |
no test coverage detected