HomePhabricator

LoadWallet: acquire cs_wallet mutex before clearing setKeyPool
012ca1c9e4f2Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

LoadWallet: acquire cs_wallet mutex before clearing setKeyPool

Make the function mutex-aware, to prevent having to lock cs_wallet
at the call site in Init.

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on Dec 19 2013, 08:58
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING956916806a93: Document cs_wallet lock and add AssertLockHeld
Branches
Unknown
Tags
Unknown

Event Timeline

Wladimir J. van der Laan <laanwj@gmail.com> committed rSTAGING012ca1c9e4f2: LoadWallet: acquire cs_wallet mutex before clearing setKeyPool (authored by Wladimir J. van der Laan <laanwj@gmail.com>).Dec 19 2013, 09:00