https://travis-ci.org/github/MarcoFalke/btc_nightly/jobs/680655419#L412
uint256 last_scanned_block;
        Optional<int> last_scanned_height;
        
        
        
        
        uint256 last_failed_block;
    };
    ScanResult ScanForWalletTransactions(const uint256& start_block, int start_height, Optional<int> max_height, const WalletRescanReserver& reserver, bool fUpdate);
    void transactionRemovedFromMempool(const CTransactionRef &ptx) override;
    void ReacceptWalletTransactions() EXCLUSIVE_LOCKS_REQUIRED(cs_wallet);
    void ResendWalletTransactions();
    struct Balance {
        CAmount m_mine_trusted{0};           
        CAmount m_mine_untrusted_pending{0}; 
        CAmount m_mine_immature{0};          
        CAmount m_watchonly_trusted{0};
        CAmount m_watchonly_untrusted_pending{0};
        CAmount m_watchonly_immature{0};