Title: NLockTime with RawTx Post by: init1 on September 01, 2015, 09:27:13 AM Hello!
Can I add NLockTime parameter and recovered address for the RawTx ? For example I have prepared raw tx like this Quote ./bitcoind createmultisig 2 '["04D9546728BB1D1BF309EF3C2C7278D8D306052ECF7DC81443F16E75AE607099DFCFC573A3E7155 3BD8321D91C209BAB03AA999BEFA6E77734C0F4DD34EF78EBFD","041050FF637A97FA462DFFA19D0BC013869F6231895019BD9F263A0A55A067665CFCA4473AAB1DC 38E8AECF359E23CE6BB35FF900BC84FDD890A3B982EA50DD92F","04E086DCE7893384CBFA89FBBF7D33DE3F1EE01279A1E9810D952F1C440E91FC7EE7CB9CF070DFB DEE397E123C363D140221E81610B7BD695905FBF198EDFD71A1"]' and got result Code: { can I add NLockTime to the createmultisig 2 ? BR! Title: Re: NLockTime with RawTx Post by: achow101 on September 01, 2015, 11:25:01 AM First of all, that only made you a multisig address, not a transaction. To create a transaction you need to use createrawtransaction and modify the hex to add the locktime. Then you need to sign it with signrawtransaction.
Title: Re: NLockTime with RawTx Post by: init1 on September 01, 2015, 12:10:34 PM First of all, that only made you a multisig address, not a transaction. To create a transaction you need to use createrawtransaction and modify the hex to add the locktime. Then you need to sign it with signrawtransaction. Thanks for you answer. Yes I can create rawTx by the next command Quote ./bitcoin-cli createrawtransaction '[{"txid":"fba4b0a1e11b68c587aae3578844d68131c807913767a1efc9a699d38ecd9f06","vout":1,"scriptPubKey":"a914e8fa0f97c663ba132bd81e6d657c46825d390e6c87", "redeemscript":"524104d9546728bb1d1bf309ef3c2c7278d8d306052ecf7dc81443f16e75ae607099dfcfc573a3e 71553bd8321d91c209bab03aa999befa6e77734c0f4dd34ef78ebfd41041050ff637a97fa462dff a19d0bc013869f6231895019bd9f263a0a55a067665cfca4473aab1dc38e8aecf359e23ce6bb35f f900bc84fdd890a3b982ea50dd92f4104e086dce7893384cbfa89fbbf7d33de3f1ee01279a1e981 0d952f1c440e91fc7ee7cb9cf070dfbdee397e123c363d140221e81610b7bd695905fbf198edfd7 1a153ae"}]' '{"motbFuaf7Q7xWqBbo7zFu83sdNBspvYkFY":0.0001}' Do you have any example how to put NLockTime to the createrawtransaction ? BR! |