user139201: I'm running bitcoin core and using the commands getblockstats and gettxoutsetinfo.
I ran gettxoutsetinfo at block 770992 and it showed a total of 83,420,287 unspent transaction outputs. I then waited for block 770993 to appear and ran getblockstats for that block.
In getblockstats it shows a utxo_increase field, which is the difference between the outs and ins fields (outputs created - outputs consumed). For block 770993 it showed -603.
I ran gettxoutsetinfo at block 770993 and it shows a total of 83,419,633 utxos. Why doesn't it match up?
I tested it for a couple previous blocks as well and the same thing happened. Any ideas?

user48884: The utxo_increase and utxo_size_inc fields of getblockstats does not exclude provably unspendable outputs. However provably unspendable outputs will not be added to the UTXO set, so gettxoutsetinfo will not count them.

139201: <p>I'm running bitcoin core and using the commands getblockstats and gettxoutsetinfo.</p>
<p>I ran gettxoutsetinfo at block 770992 and it showed a total of 83,420,287 unspent transaction outputs. I then waited for block 770993 to appear and ran getblockstats for that block.</p>
<p>In getblockstats it shows a utxo_increase field, which is the difference between the outs and ins fields (outputs created - outputs consumed). For block 770993 it showed -603.</p>
<p>I ran gettxoutsetinfo at block 770993 and it shows a total of 83,419,633 utxos. Why doesn't it match up?</p>
<p>I tested it for a couple previous blocks as well and the same thing happened. Any ideas?</p>
 48884: <p>The <code>utxo_increase</code> and <code>utxo_size_inc</code> fields of <code>getblockstats</code> does not exclude provably unspendable outputs. However provably unspendable outputs will not be added to the UTXO set, so <code>gettxoutsetinfo</code> will not count them.</p>
