1

Has there been any changes across core versions for the sendrawtransaction interface. I am trying to understand if upgrading the core version from say 12 to 15 needs a change in serialization. I'd also like to know if there are any versions across which such upgrade would fail.

1 Answer 1

1

sendrawtransaction takes transactions in the network serialization format. There is a new network serialization format for segwit transactions, so such transactions would be broadcast in one format for 0.12 and a different one in 0.15. If you are not making segwit transactions, then sendrawtransaction has not changed and you can use it in 0.15 as you did with 0.12.

2
  • @achow101 : Is it possible to know across which versions was the serialization changed in the past as well ? I assume this applies to all clients across the board ( Unlimtied , ABC etc). Thanks!
    – Bobo
    Commented Oct 17, 2017 at 8:29
  • You can read the release notes of each release. The serialization format will only change when a fork happens (both hard or soft), but not every time there is a fork. The only time the serialization format has changed is between 0.12 and 0.13 with the introduction of Segwit. The format has only changed to allow a new format; the original format is still supported by all versions.
    – Ava Chow
    Commented Oct 17, 2017 at 14:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.