(self, tx)
| 119 | return self.nodes[node_num].getaddressinfo(addr)['unconfidential'] |
| 120 | |
| 121 | def num_blinded_outputs(self, tx): |
| 122 | result = 0 |
| 123 | decoded = self.nodes[0].decoderawtransaction(tx) |
| 124 | for out in decoded["vout"]: |
| 125 | if out["scriptPubKey"]["type"] == "fee": |
| 126 | pass |
| 127 | if "valuecommitment" in out: |
| 128 | result += 1 |
| 129 | return result |
| 130 | |
| 131 | def assert_change_type(self, psbtx, expected_type): |
| 132 | """Assert that the given PSBT has a change output with the given type.""" |
no outgoing calls
no test coverage detected