Post
Topic
Board Development & Technical Discussion
Topic OP
Bitcoin current supply and gettxoutsetinfo
by
Robot1982
on 26/01/2020, 16:16:18 UTC
Is it correct that the following command will give you the current supply of bitcoin?

Code:
bitcoin-cli gettxoutsetinfo
{
  "height": 614643,
  "bestblock": "0000000000000000000323e3aff59d74ab52e74f4dc5cfb9696ddb69e9857d9c",
  "transactions": 38728071,
  "txouts": 65228219,
  "bogosize": 4902482106,
  "hash_serialized_2": "a153439cccb341a5ac149562c90bca499e3a809ccf2075e2de17bc2b9d83d0ee",
  "disk_size": 3922698456,
  "total_amount": 18182867.32125828
}

I would assume that "total_amount" is the number I am looking for. However if you calculate the total theoretical amount of bitcoins mined you get this:

Blocks 0 - 209999: 210000 x 50 = 10500000
Blocks 210000 - 419999: 210000 x 25 = 5250000
Blocks 420000 - 614643: 194644 x 12.5 = 2433050
Total: 10500000 + 5250000 + 2433050 = 18183050

So where is the difference of 182.67874172 bitcoins? I know that there was a situation where the miner didn't take the whole reward but this was in the satoshi range if I remember correctly.