Closed Gingeropolous closed 3 weeks ago
Monero emission just passed 2^64 piconeros, starting from block 3165917. The code in CurrentBlockchainStatus
needs to use 128-bit integers now.
Ok. Thanks. I will check.
Haven't managed to fix that yet, as there are issues with monero compilation on newest gcc on Arch: https://github.com/monero-project/monero/issues/9359
Any update on this issue?
Give me few days to check. RL was quite hectic in recent days. But is seems the PR that fixes this in monero is still not merged: https://github.com/monero-project/monero/pull/9367
Cool, thanks for the update.
It seems as though a few notable services including messari.io, coinmarketcap and coingecko were dependent on this emission counter, as the supply count for these websites has been stuck at 18,446,744 XMR for the past month and a half. As a result Monero's marketcap rank on these lists is also innacurate.
I pushed a tentative fix into emission
branch for testing: https://github.com/moneroexamples/onion-monero-blockchain-explorer/commit/1cde0df84f75ea624bab11c863f71b2ae8d87524
Now it shows (at the time of my testing):
Monero emission (fees) is 18464815.243604807284 (103453.676548509515) as of 3196036 block
To test it, pull emission
branch of the explorer and compile against master
branch of monero.
Delete pre-existing, if any, ~/.bitmonero/lmdb/emission_amount.txt
This is a default file where the explorer keeps track of the emission. Once the new explorer is started with --enable-emission-monitor
flag, it should start calculating the emission using uint128_t
data type. This process is time consuming - few hours to go through entire blockchain.
To calculate emission in monero daemon for verification, use print_coinbase_tx_sum 0 <last_block_number>
. Monero daemon will also take time to calculate the total emission.
the emission counter is back!
on xmrchain.net, its reporting
Monero emission (fees) is 1357.219 (102987.068) as of 3168179 block