dr-bonez / tor-v3-vanity

A TOR v3 vanity url generator designed to run on an NVIDIA GPU.
https://crates.io/crates/tor-v3-vanity
MIT License
133 stars 22 forks source link

[FR] Checkpoint support #3

Closed Diniboy1123 closed 3 years ago

Diniboy1123 commented 4 years ago

Hi,

I just found this project and it seems to be amazing. However I would like to request a feature to periodically save a checkpoint to the disk so the generator doesn't have to start from the beginning always if an unexpected system crash or power outage happens, but can continue from the last saved step. Would that be possible to implement?

Thanks

dr-bonez commented 3 years ago

So, I'm not sure what you mean. Every time it starts, it generates a random 256 bit integer for each device and starts counting from there. This is all probabilistic so there is no such thing as "progress". If your system crashes, you can simply start it over again, and it will not affect the expected time to completion.

Diniboy1123 commented 3 years ago

Oh I see. Then there is no way to pick up the previous session's progress.