Skip to content

Retry if bundle not complete.

Andreas C. Osowski requested to merge alfredch:dev into dev

Created by: alfredch

If the bundle information (transaction list) was not available for a new milestone, then no retry was attempted to validate the new milestone. Tests show that the bundle information is complete with high probability in the next call to 'updateLatesMilestone()'. That function is called every 5000 ms by the 'Latest Milestone Tracker' thread.

The logic suggested in this fix could be improved by counting the number of retries. If the bundle is not complete after some time - let's say 1 minute - there is little chance that it will ever be complete.

Merge request reports