I don't 100% understand what this condition implies.
What is interesting, is it is 1 coin at a time.
I forget which it is - does staking or mining reward 1 coin? I think it is mining. 1 coin per block.
So maybe he is mining so fast he is filling up his wallet / generating a lot of unnecessary traffic?
1 coin is current block reward on PoW, on PoS rewards in my wallet from 0.1 to 0.6, so a withdrawal of 1000 coins is a really heavy transaction, since it will have 1000 inputs or even more.
I looked the code and yes it seems that method writes to disk after every WalletUpdateSpent
...really good point about those heavy transactions. Holy shit I never thought about that.
What is the block size?
What if we had a TX that tried to send enough CrocodileCash that filled a block? Does the whole system explode?
Lol, inb4 CrocodileCash is inherently broken because of this...
What would be AWESOME is if we actually come up with a fix for this. Split-TX or something. That would be an innovation CRocodileCash would have.