Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: DarkRoller on December 14, 2017, 07:36:16 AM



Title: I want refund my tx, who can help me make double-spend tx
Post by: DarkRoller on December 14, 2017, 07:36:16 AM
I want refund my tx, who can help me make double-spend tx ?
Ty


Title: Re: I want refund my tx, who can help me make double-spend tx
Post by: HCP on December 14, 2017, 07:44:23 AM
Is the transaction confirmed? If it is confirmed, you cannot attempt to double-spend it.

If it is unconfirmed, then you can attempt to double-spend it.

What wallet did you use to send the original transaction?


Title: Re: I want refund my tx, who can help me make double-spend tx
Post by: DarkRoller on December 14, 2017, 07:51:32 AM
Is the transaction confirmed? If it is confirmed, you cannot attempt to double-spend it.

If it is unconfirmed, then you can attempt to double-spend it.

What wallet did you use to send the original transaction?

my transaction unconfirmed yet.
I use electrum wallet.


Title: Re: I want refund my tx, who can help me make double-spend tx
Post by: DarkRoller on December 14, 2017, 09:45:29 AM
What private key need use for it?
if I have 2 inputs..


Title: Re: I want refund my tx, who can help me make double-spend tx
Post by: ranochigo on December 14, 2017, 10:12:27 AM
What private key need use for it?
if I have 2 inputs..
Depends on what you want to achieve. If you want to invalidate that transaction, just use any of the input and create a new transaction.

If you want to spend both the inputs to a different address, you will have to craft a transaction with both of the inputs in the transaction. You have to use both of the private keys to sign or it won't be valid.


Title: Re: I want refund my tx, who can help me make double-spend tx
Post by: DarkRoller on December 15, 2017, 02:07:09 AM
What private key need use for it?
if I have 2 inputs..
Depends on what you want to achieve. If you want to invalidate that transaction, just use any of the input and create a new transaction.

If you want to spend both the inputs to a different address, you will have to craft a transaction with both of the inputs in the transaction. You have to use both of the private keys to sign or it won't be valid.

I try use https://coinb.in/#sign
There is one fill for Private key.
I use 2 inputs..


Title: Re: I want refund my tx, who can help me make double-spend tx
Post by: ranochigo on December 15, 2017, 02:59:43 AM
What private key need use for it?
if I have 2 inputs..
Depends on what you want to achieve. If you want to invalidate that transaction, just use any of the input and create a new transaction.

If you want to spend both the inputs to a different address, you will have to craft a transaction with both of the inputs in the transaction. You have to use both of the private keys to sign or it won't be valid.

I try use https://coinb.in/#sign
There is one fill for Private key.
I use 2 inputs..

Sign with one of the key first. Next, copy the signed raw transaction, and do the same with the second private key.

For the second time, the raw transaction has to be signed with the first private key first.