https://cirrus-ci.com/task/5603470202896384?logs=ci#L2681
bool CWalletUnlockAllCoins()
{
    AssertLockHeld(cs_);
    bool success = true;
    WalletBatch batch(GetDatabase());
    for (auto it = setLockedCoins.begin(); it != setLockedCoins.end(); ++it) {
        success &= batch.EraseLockedUTXO(*it);
    }
    setLockedCoins.clear();
    return success;
}
bool CWalletIsLockedCoin(const COutPoint& output) const
{
    AssertLockHeld(cs_);
    return setLockedCoins.count(output) > 0;
}
void CWalletListLockedCoins(stdvector<COutPoint>& vOutpts) const
{
    AssertLockHeld(cs_);
    for (stdset<COutPoint>iterator it = setLockedCoins.begin();
         it != setLockedCoins.end(); it++) {
        COutPoint outpt = (*it);
        vOutpts.push_back(outpt);
    }
}
/** @} */  Actions
void CWalletGetKeyBirthTimes(stdmap<CKeyID, int64_t>& mapKeyBirth) const {
    AssertLockHeld(cs_);
    mapKeyBirth.clear();
    // map in which we'll infer heights of other keys