lightning
lightning copied to clipboard
Faster startup
Don't require us to be fully synced with bitcoind before we allow certain operations:
- Allow outgoing HTLCs immediately.
- Wait for openchannel_init/openchannel_bump/fundchannel_start instead of failing.
- Use bitcoind's height, not ours, for CLTV values on payments.
This means Greenlight doesn't have to block operations while waiting for block sync.
Woops! There was already a test for this, I didn't need a new one. Will repurpose that instead!