warner/wireguard-vanity-address

Let it run indefinitely

strites opened this issue · 4 comments

Is there a way to let it run indefinitely? For the moment, it stops running after an arbitrary time - even without finding any key

I'll glom on here, I was going to use a good deal of electricity for vanity on a longer address (eight characters) and it appears to stop after a handful of seconds.

yeah, that's definitely a good idea, I think I was being overly cautious when I first wrote that loop, but turning it into a simple infinite loop is a fine idea

How would one tweak the loop at the end of the main() function in order to have an infinite loop?

How would one tweak the loop at the end of the main() function in order to have an infinite loop?

Replacing the (0..100_000_000) with rayon::iter::repeat(0) has worked for me.