Skip to content

Commit

Permalink
mempool: add new method checkMempoolAcceptance
Browse files Browse the repository at this point in the history
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
yyforyongyu authored and kcalvinalvin committed Nov 5, 2024
1 parent 66bd7b7 commit 9afb3df
Showing 1 changed file with 487 additions and 326 deletions.
Loading

0 comments on commit 9afb3df

Please sign in to comment.