Added locks to wallet loop functions in main.cpp and added UnregisterAllWallets(). #2208

pull CodeShark wants to merge 1 commits into bitcoin:master from CodeShark:master changing 1 files +15 −0
  1. CodeShark commented at 8:46 PM on January 23, 2013: contributor

    Right now in the current master these hooks aren't really being used - a single wallet is registered at startup in init.cpp and is unregistered at shutdown, also in init.cpp. But in order to support dynamic loading and unloading of transaction listeners, it is necessary to lock these functions. It is also convenient to have an UnregisterAllWallets() function and to call that upon shutdown instead of just calling it on the single main wallet that master currently has.

  2. Added locks on the setpwalletRegistered functions in main.cpp and added an UnregisterAllWallets function. e15cb2b9d9
  3. CodeShark closed this on Jan 23, 2013

  4. BitcoinPullTester commented at 9:03 PM on January 23, 2013: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/e15cb2b9d90ee421d14881f232711016d5d3867a for binaries and test log.

  5. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-02 21:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me