Author

Topic: Raw transaction : which version for P2SH (Read 136 times)

sr. member
Activity: 279
Merit: 435
December 13, 2018, 07:35:54 PM
#4
Ok, thank you both !  Smiley
legendary
Activity: 1456
Merit: 1174
Always remember the cause!
December 13, 2018, 02:37:53 PM
#3
Op!
Set it to 2 always and set yourself free. In relative time lock, for instance you need it to be 2.
legendary
Activity: 1039
Merit: 2783
Bitcoin and C♯ Enthusiast
December 13, 2018, 12:54:34 PM
#2
Both versions 1 and 2 would be valid in your case. And whenever you are in doubt, just use the highest version which is currently 2!
sr. member
Activity: 279
Merit: 435
December 13, 2018, 09:27:14 AM
#1
Hi,

I'm creating raw (non-segwit) transactions and am wondering if I should specify a version >1 for a tx paying to a script hash to be valid.
Jump to: