Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mempool: add new method
checkMempoolAcceptance
This commit breaks the `maybeAcceptTransaction` into two parts - the first is reading the mempool to validate the transaction, and the relevant logic has been moved into the new method `checkMempoolAcceptance`. The second part is writing to the mempool, and is kept in the method `maybeAcceptTransaction`.
- Loading branch information