Bitcoin Forum
October 18, 2018, 06:32:31 AM *
News: Make sure you are not using versions of Bitcoin Core other than 0.17.0 [Torrent], 0.16.3, 0.15.2, or 0.14.3. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: i need help spending a timelocked (op_hold) transaction (bounty payment)  (Read 115 times)
ShiftKeyBroken
Newbie
*
Offline Offline

Activity: 46
Merit: 0


View Profile
August 26, 2018, 11:08:24 AM
 #1

hey,

so i used coinbin to lock some coins.

https://coinb.in/?verify=039c3708b1752102d4a7a041122d03f0e7e6e9d1d2e6ac45ed7171e94ad4bbc69771e032b81fa21aac#verify

the locked coins are here: https://www.blockchain.com/btc/address/3JsKiSRNmKv7ZgMjZWTDqLiuZ12TFdjAZW

i need to sign the tx with the private key of "1CvmfSJZUs9KTmu9wrREZVS3EAwTPXxCwD" (which i have) and broadcast it, but i keep getting errors every single time i try...

for example
 "16: mandatory-script-verify-flag-failed (Script failed an OP_EQUALVERIFY operation)"

i would like to have the bitcoins sent to the address 15Gsdt9kvaKHNbnzzv3QXm1W91r4haoTsV

so i need you guys to help me make a transaction that spends the inputs of 3JsKiSRNmKv7ZgMjZWTDqLiuZ12TFdjAZW and sends it to 15Gsdt9kvaKHNbnzzv3QXm1W91r4haoTsV, so i can sign it with the privkey of 1CvmfSJZUs9KTmu9wrREZVS3EAwTPXxCwD and hopefully there will not be an error.

to anyone who helps me do this, i will tip a thank you of 500 bits (0.0005 btc)

edit: coins are now unlocked... i was only testing the feature so i locked them for like 5 blocks.

1539844351
Hero Member
*
Offline Offline

Posts: 1539844351

View Profile Personal Message (Offline)

Ignore
1539844351
Reply with quote  #2

1539844351
Report to moderator
1539844351
Hero Member
*
Offline Offline

Posts: 1539844351

View Profile Personal Message (Offline)

Ignore
1539844351
Reply with quote  #2

1539844351
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1539844351
Hero Member
*
Offline Offline

Posts: 1539844351

View Profile Personal Message (Offline)

Ignore
1539844351
Reply with quote  #2

1539844351
Report to moderator
1539844351
Hero Member
*
Offline Offline

Posts: 1539844351

View Profile Personal Message (Offline)

Ignore
1539844351
Reply with quote  #2

1539844351
Report to moderator
TryNinja
Hero Member
*****
Offline Offline

Activity: 798
Merit: 775


ChipMixer's Badge of Honor


View Profile
August 26, 2018, 12:48:10 PM
Merited by DarkStar_ (2), AdolfinWolf (1)
 #2

Try the following:

Code:
0100000002436a52b31e94aa231d3e3ac7cf0135d157ddbd780d45d2070e52a2d0e51f0cc30100000000ffffffffc3751a242e0cd9b99e018a60b6d29ad0503579e12ba2a784a9c333cb0c2e28660100000000ffffffff01f0490200000000001976a9142ee102e325fd776a6058b3cb7b1aa49f6de6975488ac00000000
You can verify it here.

or

Code:
0100000002436a52b31e94aa231d3e3ac7cf0135d157ddbd780d45d2070e52a2d0e51f0cc3010000000000000000c3751a242e0cd9b99e018a60b6d29ad0503579e12ba2a784a9c333cb0c2e286601000000000000000001f0490200000000001976a9142ee102e325fd776a6058b3cb7b1aa49f6de6975488ac9c370800
You can verify it here.



Which makes sense, since you are trying to spend the inputs of 3JsKiSRNmKv7ZgMjZWTDqLiuZ12TFdjAZW with the private key of 1CvmfSJZUs9KTmu9wrREZVS3EAwTPXxCwD

While 1CvmfSJZUs9KTmu9wrREZVS3EAwTPXxCwD does not hold ANY UTXO's. (And, correct me if i'm wrong, it can't be from a multisignature since it starts with a 1.., right?)

To spend 3JsKiSRNmKv7ZgMjZWTDqLiuZ12TFdjAZW you'll need the privkey(s) of 3JsKiSRNmKv7ZgMjZWTDqLiuZ12TFdjAZW, not 1CvmfSJZUs9KTmu9wrREZVS3EAwTPXxCwD?
That's wrong. From the Coinbin's page, he needs the signature of the address 1CvmfSJZUs9KTmu9wrREZVS3EAwTPXxCwD. In a Time Locked Address, you specify the public key that will be able to unlock the funds after a certain date.

ShiftKeyBroken
Newbie
*
Offline Offline

Activity: 46
Merit: 0


View Profile
August 26, 2018, 01:32:32 PM
 #3

Try the following:

Code:
0100000002436a52b31e94aa231d3e3ac7cf0135d157ddbd780d45d2070e52a2d0e51f0cc30100000000ffffffffc3751a242e0cd9b99e018a60b6d29ad0503579e12ba2a784a9c333cb0c2e28660100000000ffffffff01f0490200000000001976a9142ee102e325fd776a6058b3cb7b1aa49f6de6975488ac00000000
You can verify it here.

or

Code:
0100000002436a52b31e94aa231d3e3ac7cf0135d157ddbd780d45d2070e52a2d0e51f0cc3010000000000000000c3751a242e0cd9b99e018a60b6d29ad0503579e12ba2a784a9c333cb0c2e286601000000000000000001f0490200000000001976a9142ee102e325fd776a6058b3cb7b1aa49f6de6975488ac9c370800
You can verify it here.



Which makes sense, since you are trying to spend the inputs of 3JsKiSRNmKv7ZgMjZWTDqLiuZ12TFdjAZW with the private key of 1CvmfSJZUs9KTmu9wrREZVS3EAwTPXxCwD

While 1CvmfSJZUs9KTmu9wrREZVS3EAwTPXxCwD does not hold ANY UTXO's. (And, correct me if i'm wrong, it can't be from a multisignature since it starts with a 1.., right?)

To spend 3JsKiSRNmKv7ZgMjZWTDqLiuZ12TFdjAZW you'll need the privkey(s) of 3JsKiSRNmKv7ZgMjZWTDqLiuZ12TFdjAZW, not 1CvmfSJZUs9KTmu9wrREZVS3EAwTPXxCwD?
That's wrong. From the Coinbin's page, he needs the signature of the address 1CvmfSJZUs9KTmu9wrREZVS3EAwTPXxCwD. In a Time Locked Address, you specify the public key that will be able to unlock the funds after a certain date.

thank you for the response.

so, i tried signing both of those transactions in bitcoin core first.

the first one gave me: TX decode failed (code -22)

the second one gave me a longer message containing  "complete": false, and "error": "Unable to sign input, invalid stack size (possibly missing key)"

i then tried to sign using coinbin

the signing worked fine, but both times when i tried to broadcast the signed message, i got the following error message - 16: mandatory-script-verify-flag-failed (Script evaluated without error but finished with a false/empty top stack element)

please help me :c

edit: a friend of mine told me that since it's not a standard script type, bitcoin core can't decode it, and i may have to build the scriptsig myself... can anyone elucidate?
OutCast3k
Hero Member
*****
Offline Offline

Activity: 707
Merit: 515


View Profile WWW
August 26, 2018, 08:56:41 PM
Merited by DarkStar_ (2), hase0278 (1)
 #4

Its possible there was a bug in the transaction builder, I've since released an update and it seems to be working well.

Please try again with the latest version, if you are using the website to deal with it, please make sure you clear your cache.

Let me know how you get on.

coinb.in - Open Source, Multi Signature, HD Wallet and more! | Donate: 3K1oFZMks41C7qDYBsr72SYjapLqDuSYuN
TryNinja
Hero Member
*****
Offline Offline

Activity: 798
Merit: 775


ChipMixer's Badge of Honor


View Profile
August 26, 2018, 09:09:04 PM
 #5

Its possible there was a bug in the transaction builder, I've since released an update and it seems to be working well.

Please try again with the latest version, if you are using the website to deal with it, please make sure you clear your cache.

Let me know how you get on.
Looks like he already got it somehow (before your update).

https://www.blockchain.com/btc/tx/120b77eb1082c941c4a6662bb0e4f2169bbb84d4221d00cf1832dced0eee0649

ShiftKeyBroken
Newbie
*
Offline Offline

Activity: 46
Merit: 0


View Profile
September 09, 2018, 06:07:57 AM
 #6

Its possible there was a bug in the transaction builder, I've since released an update and it seems to be working well.

Please try again with the latest version, if you are using the website to deal with it, please make sure you clear your cache.

Let me know how you get on.

thank you very much. all fixed.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!