farcaster-node icon indicating copy to clipboard operation
farcaster-node copied to clipboard

Syncer client: many fns impl for SyncerState, should be impl for SyncerTasks

Open zkao opened this issue 3 years ago • 1 comments

zkao avatar Aug 18 '22 13:08 zkao

e.g.,

    pub fn is_watched_tx(&self, tx_label: &TxLabel) -> bool {
        self.tasks.watched_txs.values().any(|tx| tx == tx_label)
    }

zkao avatar Aug 18 '22 13:08 zkao

Would be kind of inconvenient for the call sites of the SyncerState to indirect these calls on level deeper to the SyncerTasks. I'm closing this for this reason.

sedited avatar Dec 28 '22 13:12 sedited