muntorg / munt-official

Munt is a witness-secured decentralized network for payments, digital assets, finance and more
https://www.munt.org
Other
135 stars 46 forks source link

CORE: Fix Coin::DynamicMemoryUsage() for all output types #240

Closed orobio closed 3 years ago

orobio commented 3 years ago

For output types other than scriptPubKey the return value is currently undefined and often quite large. This causes FlushStateToDisk() to flush basically every single state change, due to the cache being 'too large'.