lightning icon indicating copy to clipboard operation
lightning copied to clipboard

Faster startup

Open rustyrussell opened this issue 1 year ago • 1 comments

Don't require us to be fully synced with bitcoind before we allow certain operations:

  1. Allow outgoing HTLCs immediately.
  2. Wait for openchannel_init/openchannel_bump/fundchannel_start instead of failing.
  3. 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.

rustyrussell avatar Mar 26 '24 01:03 rustyrussell

Woops! There was already a test for this, I didn't need a new one. Will repurpose that instead!

rustyrussell avatar Mar 27 '24 01:03 rustyrussell