Schmidt on Nostr: Audit Monero supply There is a command for monerod called print_coinbase_tx_sum that ...
Audit Monero supply
There is a command for monerod called
print_coinbase_tx_sum
that accepts the parameters
start_height and block_count
You get the current money supply by setting start_height to zero (0) and block_count to the current block height (e.g. 3163053).
print_coinbase_tx_sum <start_height> [<block_count>]
If you are running a Monero node in a Docker container like @sethforprivacy described (see linked tutorial below), the command to get the total supply is
docker exec monerod /usr/local/bin/monerod print_coinbase_tx_sum 0 3163053
https://sethforprivacy.com/guides/run-a-monero-node/Published at
2024-06-03 13:38:26Event JSON
{
"id": "dc13df2de43ed9cc7996dcb3d8f1679bbdac7bbadcaf8c0e6cb3235d8e97498b",
"pubkey": "0d7ceca9e000e711e263bc14a2216ab74968a9e903eba214a714300adede5a20",
"created_at": 1717414706,
"kind": 1,
"tags": [],
"content": "Audit Monero supply\n\nThere is a command for monerod called \n\nprint_coinbase_tx_sum \n\nthat accepts the parameters \n\nstart_height and block_count \n\nYou get the current money supply by setting start_height to zero (0) and block_count to the current block height (e.g. 3163053). \n\nprint_coinbase_tx_sum \u003cstart_height\u003e [\u003cblock_count\u003e]\n\nIf you are running a Monero node in a Docker container like @sethforprivacy described (see linked tutorial below), the command to get the total supply is \n\ndocker exec monerod /usr/local/bin/monerod print_coinbase_tx_sum 0 3163053\n\nhttps://sethforprivacy.com/guides/run-a-monero-node/",
"sig": "7d8abbf91b61317765c465f2b34ee2a1577dfa3bb60582bc0ede9965fafbba3790feacd44b1a716a9edc736ae152df4e25afdea316af368ec6e52cc12021b002"
}