elements
                                
                                 elements copied to clipboard
                                
                                    elements copied to clipboard
                            
                            
                            
                        set nNonce to Null in CoinsView
Alternative to #1006
Fixes #1008
Lol, some of the new assertions are triggering in CI
Sigh, so, the CCoinsView is a base class of two things -- the "UTXO set" which is saved to disk in the coinstate/ directory, where we want to erase the nonce, and the mempool tx db, where we do not want to erase the nonce (and there are existing assertions that prevent us from doing so).
Any update on solving this?
Why don't we want to erase it from the mempool?
@stevenroose no update. I think it might be practically impossible.
@roconnor-blockstream because of tangled inheritance relationships between various mempool-like structures. If you do what you're suggesting you will get far away assertion failures in consensus code where they might be meaningful.
I think we should just live with this bug.