• Pieter Wuille's avatar
    Allow SendMessages to run partially without cs_main · bc1e7c79
    Pieter Wuille authored
    SendMessages() tries to acquire a cs_main lock now, but this isn't nessecary
    for much of its functionality. Move those parts out of the locked section,
    so they can always be performed, and we hold cs_main for a shorter time.
    bc1e7c79
main.cpp 152 KB