This makes sure that cs_filter is never held while taking cs_main or CNode::cs_vSend.
This should fix #8599.
This makes sure that cs_filter is never held while taking cs_main
or CNode::cs_vSend.
utACK
I believe this bug was introduced in 0.13.0.
utACK 144ed76ea0b38b7c21b224501964f8a2c65c4bb6
Feel like testing whether this fixes your issue #8599, @jonasschnelli ?
I just ran again into #8599... Added this PR on top of current master and re-started the node... will report.
My node having the issue #8599 did run without deadlock assertion-exit the last 7 days. Testes ACK https://github.com/bitcoin/bitcoin/pull/8606/commits/144ed76ea0b38b7c21b224501964f8a2c65c4bb6