mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-10-11 14:02:40 +02:00
Restructue the `migrateNodes` function so that it does the validation of migrated nodes in batches. So instead of fetching each node individually after migrating it, we wait for a minimum batch size to be reached and then validate a batch of nodes together. This lets us make way fewer DB round trips.