     func syncStarted() {
         DispatchQueue.main.async() {
             self.db?.setDBFileAttributes()
-
             //endBackgroundTask()
             //startBackgroundTask()
             self.progressTimer = Timer.scheduledTimer(timeInterval: self.progressUpdateInterval, target: self, selector: #selector(self.updateProgress), userInfo: nil, repeats: true)

    func txDeleted(_ txHash: UInt256, notifyUser: Bool, recommendRescan: Bool) {
        if notifyUser {
            if recommendRescan {
                Store.perform(action: WalletChange(self.currency).setRecommendScan(recommendRescan))
            }
        }
        requestTxUpdate()
        db?.txDeleted(txHash, notifyUser: notifyUser, recommendRescan: true)
    }


    }

    func txStatusUpdate() {
        DispatchQueue.main.async { [weak self] in
            self?.requestTxUpdate()
        }
    }

    func saveBlocks(_ replace: Bool, _ blocks: [BRBlockRef?]) {
