Pages:
Author

Topic: Bitcoin supply discrepancy - page 2. (Read 436 times)

copper member
Activity: 821
Merit: 1992
March 30, 2022, 11:46:57 PM
#3
Yes, it is a miner-based burning of coins with no additional UTXO's, it is very clean way of burning coins: if you can take 50 BTC in the coinbase, but you only take 30 BTC, then 20 BTC is simply burned. To revert that, you need to re-mine an alternative chain, where the whole reward is claimed. That would require a huge reorg, so I guess nobody will do that.

Another thing is that coin supply can be changed in a soft-fork way, you can add as many zero satoshi outputs as you want, and then pretend they are worth something. If you convince enough nodes, then you can move zero coins, it will be compatible with the network, and can be used in case if all "real" amounts will be burned.
legendary
Activity: 3472
Merit: 10611
March 30, 2022, 10:23:31 PM
#2
Now, my question is whether those missing ones are going to be mined 'on top or not', because I'm not sure, but I'm pretty confident that they won't.
There was a block with X BTC reward that the miner didn't claim, in order to change that there needs to be a hard fork which is not going to happen for something this trivial. So the answer to your question is no, they won't be mined ever.

Quote
Is there a way to have Bitcoin Core tell you the number that those APIs give? Or do you just have to do this simple calculation yourself:
Just use the manual calculation, what core gives you is the accurate value though.
hero member
Activity: 882
Merit: 5834
not your keys, not your coins!
March 30, 2022, 07:41:42 PM
#1
So, I'm working on my latest weekend project right now, which is something like a custom 'block clock' based on a 64x64 pixel LED matrix that I had lying around.
I'd like it to display a few Bitcoin metrics, such as
  • Bitcoin price
  • Bitcoin supply
  • Lightning Network capacity

The idea sparked here:
and the number of Bitcoins continues to rise on the lightning network ... also the number of nodes and channels is very remarkable and pleasing


Do you have an API for this? I'd like to hang something fun on my wall; recently acquired one of these LED matrices.
I'd probably have it switch between BTC amount in circulation and dollar valuation as well as LN info such as what you've got in that dashboard type image.



Since I do have an ESP32-based driver board for that matrix, I can't access my local Bitcoin Core instance, so I was looking for a web API. To verify that they're accurate, I compared a few of them to my local bitcoin-cli gettxoutsetinfo output and noticed a discrepancy of a few hundred BTC.

Right now, the APIs tell me 18,998,531.25 while Bitcoin Core claims 18,998,310.93100097

This article nicely explains the discrepancy and basically Bitcoin Core gives the real number of issued BTC, while those APIs all show 21M-[BTC left to be mined]. A couple hundred are 'missing' due to miners not taking the fees and / or the block rewards a few times in the past.
Now, my question is whether those missing ones are going to be mined 'on top or not', because I'm not sure, but I'm pretty confident that they won't.

Is there a way to have Bitcoin Core tell you the number that those APIs give? Or do you just have to do this simple calculation yourself:
Code:
210,000 * 50 + 210,000 * 25 + 210,000 * 12.5 + (block_height-630,000) * 6.25
Pages:
Jump to: