stratisproject / StratisBitcoinFullNode

Bitcoin full node in C#
https://stratisplatform.com
MIT License
783 stars 315 forks source link

Async lock for MempoolOrphans #4143

Closed JeronimoCrypto closed 3 years ago

JeronimoCrypto commented 4 years ago

Removed some unused variables, replaced lock in MempoolOrphans with async read\write lock to reduce amount of threads it consumes, added skip for smart contract tests that fail on master.

JeronimoCrypto commented 4 years ago

@fassadlr could you please review this PR? It should be a pretty straight forward one- I kept the old logic and replaced blocking lock with async one that doesn't consume a thread when waiting for the entry.

JeronimoCrypto commented 4 years ago

@fassadlr @zeptin could you please take a look at the PR?

fassadlr commented 3 years ago

@JeronimoCrypto we are going to be migrating to the StratisFullNode codebase soon, so you are welcome to do this change there 👍 https://github.com/stratisproject/StratisFullNode