MCPcopy
hub / github.com/jimmysong/programmingbitcoin / test_verify_p2sh

Method test_verify_p2sh

code-ch08/tx.py:436–438  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

434 self.assertTrue(tx.verify())
435
436 def test_verify_p2sh(self):
437 tx = TxFetcher.fetch('46df1a9484d0a81d03ce0ee543ab6e1a23ed06175c104a178268fad381216c2b')
438 self.assertTrue(tx.verify())
439
440 def test_sign_input(self):
441 private_key = PrivateKey(secret=8675309)

Callers

nothing calls this directly

Calls 2

fetchMethod · 0.45
verifyMethod · 0.45

Tested by

no test coverage detected