stratum-mining / stratum

stratum
https://stratumprotocol.org
Other
204 stars 121 forks source link

Bitcoin blockchain should be at least 16 block long #849

Open Sjors opened 4 months ago

Sjors commented 4 months ago

When launching a pool against a new network (e.g. a custom signet), it complains: "Bitcoin blockchain should be at least 16 block long"

This is annoying, because it requires people to mine those 16 blocks using some other tool first.

rockcoolsaint commented 4 months ago

So what is the suggested fix for this? What should be the appropriate behaviour or expected outcome if things were working perfectly? Maybe I can give it a try @Sjors

Sjors commented 4 months ago

It depends on what the reason for it is. The best place to look is around the code where this error is fired.