[spesmilo/electrum] unsigned or partially signed transaction from Electrum cannot be interpreted by Bitcoin Core (#4514)

Question: why does an unsigned transaction or partially signed non-final transaction generated by Electrum cannot be interpreted by Bitcoin Core? Do we change the serialization somehow or add / remove bits of data?

Example:
Unsigned tx by Electrum:
45505446ff000100000001d61c4afee1080779a2a4957d76fd25f265a4c38aaeb3f2e85274ee9dc13d11ac010000005701ff4c53ff0488b21e0000000000000000003c094e637b4dcf44f6ac41a80ae632c0e5d7c845173572c5e7f24642096dead4032c2f71bad3efa41faf273ad858c663296fafa28ffdebc7ef1f72a4f0572516c000000801fdffffff029a7f1c03000000001976a9145837b116b0dda66ba3ea938ca313d580939765e688ac00879303000000001976a9145837b116b0dda66ba3ea938ca313d580939765e688acbf190800

Bitcoin Core returns:
error code: -22
error message:
TX decode failed

Same error is returned by Bitcoin Core for partially signed non-final transaction generated by Electrum.

This question is related to #4471 , we should answer this before we decide a good way to implement that.

This post was last modified on July 7, 2018, 2:36 pm