Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let it run indefinitely #20

Open
strites opened this issue May 16, 2020 · 5 comments
Open

Let it run indefinitely #20

strites opened this issue May 16, 2020 · 5 comments

Comments

@strites
Copy link

strites commented May 16, 2020

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

@andrewgdunn
Copy link

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.

@warner
Copy link
Owner

warner commented Dec 12, 2021

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

@jellium
Copy link

jellium commented Aug 10, 2023

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

@martinvonwittich
Copy link

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.

@Sveske-Juice
Copy link

A simple workaround in bash is to just make a oneline infinite while loop:

while :; do <command>; done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants