Two issues after update

- 2 réponse(s)

Répondre
58 vues 2 réponses
linksh bc1q0yyx...upm9y5vx 32,771modifié

I've encountered two separate issues while testing btcpuzzle v2.

1. Incorrect range size in v2

When running v2, the client sometimes receives an abnormally large range.

  • Expected: 35,184,372,088,832 keys per range

  • Actual: Approximately 27–28 sextillion keys per range

  • Estimated completion time: Over 47,000 years

This also happens when I explicitly set --custom-range none, so the incorrect range size does not appear to be related to the custom range prefix.

2. CustomRange stopped working after using circularHex

I recently tried the circularHex feature, which is described as:

Walks through the prefixes of the pool one by one, starting at the prefix you choose.

After testing this feature, I disabled it and switched back to normal CustomRange mode.

However, CustomRange no longer seems to work as expected.

For example:

  • Requested prefix: 5

  • Actual assigned prefixes: 4 or 6

The strange part is that this issue is not limited to v2.

CustomRange worked correctly before I experimented with circularHex.

I don't know whether circularHex could have left some server-side state or affected how the pool handles subsequent CustomRange requests, but the timing seems worth investigating.

Summary

These appear to be two separate issues:

  1. v2 sometimes receives an extremely large range, even with --custom-range none.

  2. CustomRange stopped behaving as expected after I used and disabled circularHex, and the issue now affects multiple clients and versions.

Could you please check whether these issues are related to the range allocation logic or any persistent state associated with circularHex?

Thanks!

1
ilkerc 1LKERC27...w74a4eDU 139,652

Hi,

Thanks a lot for the detailed report. Both issues were real, and your notes made them quick to find.

1. Huge range size in v2: fixed in v2.0.1

This was a bug in the v2 client. On puzzles with a custom workload, v2 read the range end wrongly. The range came out far larger than intended, so it never finished and was never reported to the pool. The --custom-range setting had nothing to do with it. v2.0.1 fixes it, and a range now has the expected 35,184,372,088,832 keys.

  • Docker: ilkercndk/btcpuzzle:latest is already v2.0.1. Pull it and restart your container.

  • Windows/Linux packages: download v2.0.1 from the GitHub releases page.

If v2 left an unfinished range behind, v2.0.1 either continues it with the correct size or drops it and requests a new one.

2. CustomRange not working after circularHex: fix coming in the next server update

Your guess was right: circularHex left state on the server. Turning it off stored a value that the pool then used in place of your CustomRange on every request. That is why you got random prefixes, and why every client and version was affected. The fix will be in the next server update. You don't need to change anything on your side; your CustomRange will work again once it is deployed.

Thanks again for testing and reporting it so clearly.

Hunting Keys in the Blockchain | Btcpuzzle.info

1
an2800 bc1qkg5e...azqce9r3 474

new version 2.0.1 so far is good, overall processing and range are fixed

1

Écrire une réponse

Supprimer ce message ?

Le message est supprimé pour tout le monde. Cette action est irréversible.

Signaler ce message

Dites-nous ce qui ne va pas. Un modérateur y jettera un œil.

Motif

Faire un don

Puzzles du pool

Ce que le pool scanne maintenant, ce qui vient ensuite, et les puzzles sur lesquels il a déjà travaillé.

En cours de scan2

Suivant2

Scannés auparavant4

Les 160 puzzles