Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Chriszat opened this issue Feb 18, 2021 · 5 comments
Open

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

Chriszat opened this issue Feb 18, 2021 · 5 comments

Comments

@Chriszat
Copy link

Chriszat commented Feb 18, 2021

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

@Alex-CodeLab
Copy link

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

@Chriszat
Copy link
Author

Chriszat commented Feb 18, 2021 via email

@ghost
Copy link

ghost commented Feb 18, 2021

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.

@Chriszat
Copy link
Author

Chriszat commented Feb 18, 2021 via email

@Alex-CodeLab
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants