pub async fn node_id_task(fud: Arc<Fud>) -> Result<()>Expand description
Background task that:
- Updates the
crate::bitcoin::BitcoinHashCache - Removes old nodes from the DHT
- Removes old nodes from the seeders router
- If the Bitcoin block hash we currently use in our
fud.node_datais too old, we update it and reset our DHT