This commit refactors the method `sendBatch` into `sendLocalBatch` and `sendRemoteBatch` for clarity. The batch size calculation is also moved into `splitAnnouncementBatches`.
This commit refactors the method `sendBatch` into `sendLocalBatch` and `sendRemoteBatch` for clarity. The batch size calculation is also moved into `splitAnnouncementBatches`.