Performs a check to ensure all pending transactions are still in the mempool.
NOTE: Transactions no longer in the mempool (eg orphaned) are deleted from
the pending map and credited back to the pending tally.
NOTE:
Discuss. This is taken from Omnilayer, I don't know if that's the right thing to do, what do you think?
It needs testing.
@sinetek : we don't have pending transactions implemented yet, so we can't test these changes for now. I will accept this pull request, because it's part of future work.
NOTE:
Discuss. This is taken from Omnilayer, I don't know if that's the right thing to do, what do you think? It needs testing.