Multiple transaction rejected by network rules
cryptocake opened this issue · 2 comments
After bcash-instadump using an inputs file list (which you fixed, thanks!) I get a network rejection:
"(error) The transaction was rejected by network rules. (16: mandatory-script-verify-flag-failed (Script failed an OP_EQUALVERIFY operation))"
It will show me:
(info) electrum command: blockchain.transaction.broadcast [
<snipping the HUGE output>
(error) The transaction was rejected by network rules. (16: mandatory-script-verify-flag-failed (Script failed an OP_EQUALVERIFY operation))
<snipping the exact same HUGE output>
-
It looks like some of the unspent outputs are not controlled by their associated keys. Are you sure the inputs you provided are correct?
-
You can try running
bcash-utxo <address>
to see the current unspent outputs available in<address>
on the bcash network and verify that it matches your inputs list. (note thatbcash-instadump
expects keys, whilebcash-utxo
works with addresses) -
Did you export the unspent outputs and keys using the Electrum snippet on the README? If so, this might've extracted some
p2sh
multi-signature addresses, which won't work (the tool currently supportsp2pkh
scripts only).
Ah.... I was using compressed WIF keys :) uncompressed worked 👍
Thank you for the help!