getumbrel / umbrel-bitcoin

The official Bitcoin Node app for Umbrel, powered by Bitcoin Core.

Home Page:https://umbrel.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Shower Thought] If NETWORK=regtest a cronjob should generate blocks

junderw opened this issue · comments

1 block per minute seems reasonable, since an empty block (most will be empty) is a couple hundred bytes anyways.
The address to generate to should be an on-chain LND address so you can use those mined coins in LND.
Also, to start off with, it should just generate like 1000 blocks to the LND address to start off with.

Maybe even add a UI button for regtest only that says (generate block) and will generate a block on demand.

maybe a script that someone can add to the cron if they wish