diff options
author | Sjors Provoost <sjors@sprovoost.nl> | 2024-06-26 13:42:55 +0200 |
---|---|---|
committer | Sjors Provoost <sjors@sprovoost.nl> | 2024-06-27 08:58:25 +0200 |
commit | a74b0f93efa1d9eaf5abc2f6591c44a632aec6ed (patch) | |
tree | fdba4752f6cec737b715d7a226a41a65dfdc885e /contrib/guix/patches/glibc-2.27-guix-prefix.patch | |
parent | f6dc6db44ddc22ade96a69a02908f14cfb279a37 (diff) |
Have testBlockValidity hold cs_main instead of caller
The goal of interfaces is to eventually run in their own process,
so we can't use EXCLUSIVE_LOCKS_REQUIRED in their declaration.
However TestBlockValidaty will crash (in its call to ConnectBlock)
if the tip changes from under the proposed block.
Have the testBlockValidity implementation hold the lock instead,
and non-fatally check for this condition.
Diffstat (limited to 'contrib/guix/patches/glibc-2.27-guix-prefix.patch')
0 files changed, 0 insertions, 0 deletions