I generated a transaction using the GUI of bitcoin-qt offline.
I then did a getrawtransaction <trans id> using the raw debug interface.
I then took the hex string and put that into another machine which was online and did sendrawtransaction.
But then I get a TX rejected code -22.
What am I doing wrong?
Thanks!
You didn't signed the raw transaction
Use signrawtransaction then sendrawtransaction.
I used signrawtransaction offline. Then I tried to use sendrawtransaction using a fresh install of the qt client client. I am still getting TX rejected (code -22). What am I doing wrong?
I can use decoderawtransaction and I see scriptSig with two hex blobs after asm.
Thanks!