Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing commented testmempoolaccept command on p2sh-multisig section of chapter 1 #35

Closed
MPins opened this issue Dec 17, 2024 · 0 comments

Comments

@MPins
Copy link
Contributor

MPins commented Dec 17, 2024

Copied from the jupyter notebook

Broadcast the transaction (on regtest mode)

If we get back a txid (32 byte hash), then it means the tx was successfully broadcast! If we just want to see if the transaction would have been accepted, but without broadcasting it, we can use the testmempoolaccept command (commented out).

new_tx_txid = node.sendrawtransaction(signed_tx.hex())
print(new_tx_txid)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant