Bitcoin Forum
April 27, 2024, 01:59:01 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: is it possible to send zero bitcoins  (Read 1627 times)
schnuber (OP)
Member
**
Offline Offline

Activity: 96
Merit: 18


View Profile
March 27, 2016, 09:51:21 PM
Merited by ABCbits (1)
 #1

Hi
Is it possible to make a bitcoin transaction where you would transmit exactly zero bitcoins from one address to another. Fee would be paid however. Are such transaction rejected by the protocol or the miners?

Greets
1714183141
Hero Member
*
Offline Offline

Posts: 1714183141

View Profile Personal Message (Offline)

Ignore
1714183141
Reply with quote  #2

1714183141
Report to moderator
1714183141
Hero Member
*
Offline Offline

Posts: 1714183141

View Profile Personal Message (Offline)

Ignore
1714183141
Reply with quote  #2

1714183141
Report to moderator
Bitcoin mining is now a specialized and very risky industry, just like gold mining. Amateur miners are unlikely to make much money, and may even lose money. Bitcoin is much more than just mining, though!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3374
Merit: 6535


Just writing some code


View Profile WWW
March 27, 2016, 10:01:53 PM
 #2

Hi
Is it possible to make a bitcoin transaction where you would transmit exactly zero bitcoins from one address to another. Fee would be paid however. Are such transaction rejected by the protocol or the miners?

Greets
It is possible, but I think they are considered non-standard. This means that it can be included in a block, just that (most) nodes will reject the transaction and not relay it.

schnuber (OP)
Member
**
Offline Offline

Activity: 96
Merit: 18


View Profile
March 27, 2016, 10:05:49 PM
 #3

Since most node run the bitcoin core client you imply that it does by default reject such a transaction?
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3374
Merit: 6535


Just writing some code


View Profile WWW
March 27, 2016, 10:09:38 PM
 #4

Since most node run the bitcoin core client you imply that it does by default reject such a transaction?
I think that it will but I haven't tried on the mainnet yet so I'm not sure. I just did one on the testnet and it went through but testnet has the standardness rules disabled so I can't know for sure if the transaction would be considered non-standard. You can try it yourself with a little bit of Bitcoin and see what happens.

schnuber (OP)
Member
**
Offline Offline

Activity: 96
Merit: 18


View Profile
March 27, 2016, 10:11:59 PM
 #5

Ok, thanks
watashi-kokoto
Sr. Member
****
Offline Offline

Activity: 682
Merit: 268



View Profile
March 28, 2016, 11:49:13 AM
 #6

Yes it is possible. A transaction sending exactly 0BTC (recieving 25BTC and fees) is called also a coinbase transaction. The coinbase transaction is part of every mined block. The miner receives the funds. This transaction is used to claim the mining reward, and is similiar to creating funds from thin air (writing a number to account number on a Bank computer) or printing money in a traditional system.

Only miners have the ability to do this.
CIYAM
Legendary
*
Offline Offline

Activity: 1890
Merit: 1075


Ian Knowles - CIYAM Lead Developer


View Profile WWW
March 28, 2016, 11:56:13 AM
 #7

I think the OP is wanting to create a non-coinbase tx that either has no outputs or perhaps an output with 0 as the amount (for what purpose?).

If it is non-standard then the only way you would be able to do this would be to send such a tx directly to a pool that allows for non-standard txs (are there still any of those around?).

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
SebastianJu
Legendary
*
Offline Offline

Activity: 2674
Merit: 1082


Legendary Escrow Service - Tip Jar in Profile


View Profile WWW
March 28, 2016, 01:20:23 PM
 #8

I think the minimum amount of bitcoins you can send in a transaction is 5320 satoshies. At least I was told the reason counterparty is using that amount for their colored coins is exactly that.

Please ALWAYS contact me through bitcointalk pm before sending someone coins.
ranochigo
Legendary
*
Offline Offline

Activity: 2954
Merit: 4165


View Profile
March 28, 2016, 01:36:10 PM
Merited by ABCbits (2)
 #9

I think the minimum amount of bitcoins you can send in a transaction is 5320 satoshies. At least I was told the reason counterparty is using that amount for their colored coins is exactly that.
It was 5430 satoshis. The reason for this was because Bitcoin used this as a dust limit for the output. If the threshold isn't met, the client would see it as non standard and not relay it at all, thus hindering the chances of it getting confirmations. Given that majority of the network runs Classic 0.12 or Core 0.12, the dust limit is currently 546 by default with 1000 satoshi being the minimum relay fee. The dust limit would increase if the user rises the relay fee.


I think the OP is wanting to create a non-coinbase tx that either has no outputs or perhaps an output with 0 as the amount (for what purpose?).
-snip-
AFAIK, it isn't possible to create a transaction with no outputs and have it confirmed but it is possible to create a transaction with 0 satoshi as output but it is considered non standard.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
SebastianJu
Legendary
*
Offline Offline

Activity: 2674
Merit: 1082


Legendary Escrow Service - Tip Jar in Profile


View Profile WWW
March 28, 2016, 02:31:19 PM
 #10

I think the minimum amount of bitcoins you can send in a transaction is 5320 satoshies. At least I was told the reason counterparty is using that amount for their colored coins is exactly that.
It was 5430 satoshis. The reason for this was because Bitcoin used this as a dust limit for the output. If the threshold isn't met, the client would see it as non standard and not relay it at all, thus hindering the chances of it getting confirmations. Given that majority of the network runs Classic 0.12 or Core 0.12, the dust limit is currently 546 by default with 1000 satoshi being the minimum relay fee. The dust limit would increase if the user rises the relay fee.


I think the OP is wanting to create a non-coinbase tx that either has no outputs or perhaps an output with 0 as the amount (for what purpose?).
-snip-
AFAIK, it isn't possible to create a transaction with no outputs and have it confirmed but it is possible to create a transaction with 0 satoshi as output but it is considered non standard.

You are right, it was 5430 satoshies. Don't know how I mixed that.

Well, in theory big pools could include such a transaction because they can include it in a block by circumventing the threshold. Might make sense for them when they want to run a service that uses the blockchain. But for the average user it won't be possible.

Please ALWAYS contact me through bitcointalk pm before sending someone coins.
jrpatking
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
March 29, 2016, 02:38:56 PM
 #11

Your wallet will reject to send zero bitcoins+fee if the wallet uses minimum transaction fee. If you didn't specify transaction fee, then it will try to send your fee amount as transaction with zero fee.

GUNBOT  THE AUTOMATIC PROFIT GENERATOR FOR POLONIEX 
     LIMITED EDITION
[15 DAYS MONEY BACK GUARANTEE
]
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4158
Merit: 8382



View Profile WWW
March 29, 2016, 04:12:02 PM
Merited by ABCbits (1)
 #12

The Bitcoin consensus protocol allows creating and sending transactions involving no bitcoins what-so-ever.

Bitcoin Core currently regards such transactions as spam and will not relay them.

This is the basis by which proponents of various parasitic consensus systems (their term not mine) have argued that their new currency would completely displace Bitcoin even while using the Bitcoin network.
jrpatking
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
March 29, 2016, 04:30:47 PM
 #13

The Bitcoin consensus protocol allows creating and sending transactions involving no bitcoins what-so-ever.

Bitcoin Core currently regards such transactions as spam and will not relay them.

This is the basis by which proponents of various parasitic consensus systems (their term not mine) have argued that their new currency would completely displace Bitcoin even while using the Bitcoin network.

I understand now, if bitcoin core doesn't think zero bitcoin transaction as spam, then we would have 1000's of spam transactions. Can't imagine how the blockchain would be. We may need terra bytes of harddisk.

GUNBOT  THE AUTOMATIC PROFIT GENERATOR FOR POLONIEX 
     LIMITED EDITION
[15 DAYS MONEY BACK GUARANTEE
]
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4158
Merit: 8382



View Profile WWW
March 29, 2016, 07:28:25 PM
Merited by ABCbits (1)
 #14

I understand now, if bitcoin core doesn't think zero bitcoin transaction as spam, then we would have 1000's of spam transactions. Can't imagine how the blockchain would be. We may need terra bytes of harddisk.
The blocksize limit protects against that, but it's preferable to use the least amount possible, since even the limit is high enough to make running nodes burdensome; better to spend user's limited tolerance on actual Bitcoin transactions.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!