cmdruid / regtest-workbench

A containerized stack of Bitcoin and Lightning, plus a full suite of development tools. Prototype and deploy your next project with lightning speed!
MIT License
15 stars 2 forks source link

Script takes a while to process lightning funding transaction and channel open #5

Open cmdruid opened 2 years ago

cmdruid commented 2 years ago

FYI this is a known issue. The default behavior of the --mine flag is to poll the mempool and settle transactions every 2 seconds. This seems to process the funding transaction for bitcoin wallets relatively quickly, however the funding transactions and channel opens for lightning seem to take a while to confirm. I am investigation what may be the cause!

cmdruid commented 2 years ago

A dirty work-around may be to allow nodes specify --miner=0,0,0 flag, to disable scheduling but still allow nodes to mine their own funding transactions.

cmdruid commented 2 years ago

I have added additional build flags on c lightning binary that are supposed to speed up confirmations of things.