pooler/cpuminer

Custom signet hint

Opened this issue · 1 comments

It's not possible to CPU mine on the main signet, because it's signed.

However you can create a custom signet and set the challenge to OP_TRUE (signetchallenge=51 in bitcoin.conf). This triggers an exception in the BIP where no signature is required.

The only change needed here is to add signet to GBT_RULES:

#define GBT_RULES "[\"segwit\", \"signet\"]"

See Sjors@20eb197

The main use case for signets without signatures is probably to test mining software, e.g. I find it very useful for testing stratum v2 stuff.