bit icon indicating copy to clipboard operation
bit copied to clipboard

How to i send bitcoin even though i have 0 unspent transactions

Open Chriszat opened this issue 5 years ago • 5 comments

I am looking at broadcasting a transaction to the blockchain that will never get confirmed because there is no bitcoin to send

Chriszat avatar Feb 18 '21 18:02 Chriszat

impossible. I you want to try how broadcasting works, then use Testnet, and request some free testnet coins.

Alex-CodeLab avatar Feb 18 '21 20:02 Alex-CodeLab

I saw an application where you could send bitcoin to an address, but the transaction never gets confirmation on the block chain. So I am trying to recreate the application using python. So I was wondering how one can send a broadcast a transaction to the blockchain that will never get a confirmation.

Thanks.

On Thu, Feb 18, 2021, 9:19 PM Alex ⚡ [email protected] wrote:

why?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ofek/bit/issues/143#issuecomment-781609970, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK37ETTA7JBQZ7SNB7FCN3TS7VY4JANCNFSM4X2Y47CQ .

Chriszat avatar Feb 18 '21 20:02 Chriszat

Most invalid transactions will get rejected at the pushtx APIs.

You might have to run a Bitcoin daemon to try pushing something invalid, and it'll just get dropped.

You could try to use previously spent inputs and push that, maybe.

ghost avatar Feb 18 '21 20:02 ghost

Thank you for you help, but I was wondering if you can help me with a python code example on how to do this, or you can show me some apis to use. I would really appreciate it. Am just looking to learn more.

Thank you for your time.

On Thu, Feb 18, 2021, 9:50 PM Teran McKinney [email protected] wrote:

Most invalid transactions will get rejected at the pushtx APIs.

You might have to run a Bitcoin daemon to try pushing something invalid, and it'll just get dropped.

You could try to use previously spent inputs and push that, maybe.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ofek/bit/issues/143#issuecomment-781626115, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK37ETVBEFHDKYLVC66QWSLS7V4SPANCNFSM4X2Y47CQ .

Chriszat avatar Feb 18 '21 20:02 Chriszat

So I am trying to recreate the application using python. So I was wondering how one can send a broadcast a transaction to the blockchain that will never get a confirmation.

No, this is not possible. It will be rejected if it is not a valid transaction. And if you have 0 bitcoin you can not make a valid transaction.

Alex-CodeLab avatar Feb 18 '21 21:02 Alex-CodeLab