Post
Topic
Board Bitcoin Discussion
Re: Bitcoin puzzle transaction ~32 BTC prize to who solves it
by
nomachine
on 22/03/2025, 20:53:36 UTC
This means that the default stride is 1. It can be increased, I think, to 2000000000. It doesn't work beyond that value.

Why ?  Cry

Because the type used for Int is uint32_t, you can use a larger data type, such as int64_t:

Quote
Int step;
step.SetInt64(stride);
privateKey.Add(&step);

However, I’m not responsible for what happens after that.

The script processes keys in batches (e.g., POINTS_BATCH_SIZE). A large stride might cause the batch size to be exceeded, leading to incomplete or incorrect processing, progress calculation or even crashing the entire program.

That’s why I don’t like to mess with other people’s scripts. It’s easier for me to rebuild a new one from scratch than to try to support someone else’s script that works in a way they think is well-designed. Grin