(outputs)
| 37 | # Returns a set of tuples (address, is blinded, is OP_RETURN). (It would |
| 38 | # feel nicer to return a set of dicts, but you can't do that in Python.) |
| 39 | def outputs_info(outputs): |
| 40 | return {( |
| 41 | x["script"].get("address"), |
| 42 | x.get("blinding_pubkey") is not None, |
| 43 | x["script"]["asm"] == "OP_RETURN", |
| 44 | ) for x in outputs} |
| 45 | |
| 46 | |
| 47 | # Create one-input, one-output, no-fee transaction: |
no test coverage detected