Odd amount of generated coins

3 messages BitcoinTalk dkaparis, NewLibertyStandard, Satoshi Nakamoto May 20, 2010 — May 26, 2010
dkaparis May 20, 2010 09:38 UTC Source ·

Greetings,

How is the amount of bitcoins generated per block determined? It was my understanding that is is currently fixed to 50, however a few days ago I happened to generate amount of 52.64:

Status: 729 blocks Date: 05/15/10 08:38 Source: Generated Credit: 52.64 Net amount: +52.64

How comes?

Regards, Dimitri

NewLibertyStandard May 20, 2010 21:03 UTC Source ·

Internally, bitcoins are bundled into packs of 50.00 or however many get sent over the network. Bitcoins usually have to be re-bundled each time they get sent. If a certain very large number of bitcoin bundles have to be re-bundled, there is a very small fee which the sender has to pay. The fee goes to the bitcoin client (yours in this case) which verifies the large re-bundling. It’s not a well known behavior and I hope that future versions will display a warning or confirmation before such a fee is charged.

There is a post somewhere with more specific details. I’ll look for it for a few minutes and I’ll edit this post if I happen to find it. As always, the source code, which is open source, will reveal the exact behavior. I haven’t examined the code and my description of the behavior is based on my poor memory, so it might not be exactly correct.

Edit: Here’s the explanation I mentioned. It seems that if more than 500 bundles of bitcoins are re-bundled, there’s roughly a 0.002% fee. So during that ten minute period, one or more people each re-bundled 500 bundles of bitcoins, totaling roughly 132,000 bitcoins.

Since the sender pays the fee, I’d like to know what happens when a person sends all their bitcoins. I would expect that if there weren’t enough bitcoins to cover the fee, then the amount of the fee which can not be paid would be subtracted from the payment. If this is not the case, then the fee could be avoided by sending all your coins to yourself before sending a large payment.

Quote from: satoshi on February 14, 2010, 6:28:03 AM UTC

A transaction over the size limit can still be sent if a small fee is added.

This makes it sound like a payment wouldn’t send successfully if there were insufficient funds for the fee.

Satoshi Nakamoto May 26, 2010 21:34 UTC Source ·

In the SVN version, if a transaction requires a transaction fee, it says “This transaction is over the size limit.  You can still send it for a fee of #, which goes to the nodes that process your transaction and helps to support the network. Do you want to pay the fee?”

If you don’t have enough money with the fee added, it says “Total exceeds your balance when the # transaction fee is included  ”