Commit 4d54bb2
committed
Merge bitcoin/bitcoin#33264: threading: reduce the scope of lock in getblocktemplate
493ba0f threading: reduce the scope of lock in getblocktemplate (kevkevinpal)
Pull request description:
This change was motivated by bitcoin/bitcoin#32592 (comment)
It does exactly what is said in the comment. Reducing the scope of the lock by a bit before it is needed
ACKs for top commit:
stickies-v:
re-ACK 493ba0f
maflcko:
lgtm ACK 493ba0f
Tree-SHA512: aa3a21ef3da6be6c0af78aa2dda61ee21c3f6d4d9c897413dba9e7d7d2a91e9e069bbc6b6684b45aadaa28d8603dd310f2c2d2e58c31bb4d864204e468fefaf11 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
704 | 704 | | |
705 | 705 | | |
706 | 706 | | |
707 | | - | |
708 | | - | |
709 | 707 | | |
710 | 708 | | |
711 | 709 | | |
| |||
735 | 733 | | |
736 | 734 | | |
737 | 735 | | |
| 736 | + | |
738 | 737 | | |
739 | 738 | | |
740 | 739 | | |
| |||
773 | 772 | | |
774 | 773 | | |
775 | 774 | | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
776 | 778 | | |
777 | 779 | | |
778 | 780 | | |
| |||
811 | 813 | | |
812 | 814 | | |
813 | 815 | | |
814 | | - | |
| 816 | + | |
815 | 817 | | |
816 | 818 | | |
817 | 819 | | |
| |||
0 commit comments