MCPcopy Create free account
hub / github.com/ElementsProject/elements / msg_tx

Class msg_tx

test/functional/test_framework/messages.py:1721–1735  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1719
1720
1721class msg_tx:
1722 __slots__ = ("tx",)
1723 msgtype = b"tx"
1724
1725 def __init__(self, tx=CTransaction()):
1726 self.tx = tx
1727
1728 def deserialize(self, f):
1729 self.tx.deserialize(f)
1730
1731 def serialize(self):
1732 return self.tx.serialize_with_witness()
1733
1734 def __repr__(self):
1735 return "msg_tx(tx=%s)" % (repr(self.tx))
1736
1737class msg_wtxidrelay:
1738 __slots__ = ()

Callers 11

run_testMethod · 0.90
run_testMethod · 0.90
blocksonly_mode_testsMethod · 0.90
on_getdataMethod · 0.90
send_txs_and_testMethod · 0.90

Calls

no outgoing calls