Altalogy / tari

The Tari protocol
https://tari.com
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

fix: blockchain sync issues #412

Closed CjS77 closed 2 years ago

CjS77 commented 2 years ago

closes #385 closes #386

Several edge cases and issues were resolved:

Also:

Example of response (this will get camelCase renamed into a JSON object):

 SyncProgressInfo { sync_type: Block, header_progress: 100, block_progress: 68, total_blocks: 79871, estimated_time_sec: 319, done: false }
...
SyncProgressInfo { sync_type: Block, header_progress: 100, block_progress: 99, total_blocks: 79871, estimated_time_sec: 261, done: false }
...
SyncProgressInfo { sync_type: Done, header_progress: 100, block_progress: 100, total_blocks: 79871, estimated_time_sec: 0, done: true }