vincenzopalazzo / bitcoin

Bitcoin Core integration/staging tree
https://bitcoincore.org/en/download
MIT License
0 stars 0 forks source link

resurrection of the Mempool interface refactoring #2

Open vincenzopalazzo opened 1 year ago

vincenzopalazzo commented 1 year ago

This is a work in progress to resurrect the work of this PR https://github.com/bitcoin/bitcoin/pull/11775

vincenzopalazzo commented 1 year ago

After working on this I understand that we should rewrite how the Signal is implemented. Currently, it is coupled with the CVerificationInterface, but now that we have the second interface, we should move this into another design.

I was thinking of using a struct CSignal and add and remove a signal, with the current interface but with the only problem is that we should feel the signal as needed.

I do not know if exist a better design for this, so I will leave cook a little bit