https://travis-ci.org/github/bitcoin/bitcoin/jobs/679885530#L8791
{
    LOCK(cs_wallet);
    
    
    
    
    m_last_block_processed_height = height - 1;
    m_last_block_processed = block.hashPrevBlock;
    for (const CTransactionRef& ptx : block.vtx) {
        SyncTransaction(ptx, {CWalletTx::Status::UNCONFIRMED,  0,  {},  0});
    }
}
void CWallet::updatedBlockTip()
{
    m_best_block_time = GetTime();
}
void CWallet::BlockUntilSyncedToCurrentChain() const {
    AssertLockNotHeld(cs_wallet);
    
    
    
    
    uint256 last_block_hash = WITH_LOCK(cs_wallet, return m_last_block_processed);
    chain().waitForNotificationsIfTipChanged(last_block_hash);
}
isminetype CWallet::IsMine(const CTxIn &txin) const