lbryio / lbry.go

MIT License
29 stars 20 forks source link

If the daemon times out the same video could get published twice #15

Closed nikooo777 closed 6 years ago

nikooo777 commented 6 years ago

And if both of them are synced within the same block, a double claim will show up.

Solution: when ytsync tool detects a time out it should restart the daemon (and thus wait a block too)

nikooo777 commented 6 years ago

This issue was worked around rather than solved by extending the timeout from 5 minutes to 40 minutes (thus covering every failed attempt so far) and by not retrying the publication.