Bitcoin
Bitcoin Core – Discrepancy between utxo growth and total utxos
I’m running Bitcoin Core and I’m using the getblockstats and gettxoutsetinfo commands.
Running gettxoutsetinfo at block 770992 showed a total of 83,420,287 unspent transaction output. I then waited until block 770993 appeared and ran getblockstats on that block.
getblockstats displays the utxo_increase field, which is the difference between the outs and ins fields (output produced – output consumed). For block 770993, -603 was displayed.
I ran gettxoutsetinfo at block 770993 and it showed a total of 83,419,633 utxos. Why don’t they match?
I also tested it on a few older blocks and the same thing happened. Any ideas?