Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Faster startup #7175

Merged

Commits on Mar 26, 2024

  1. lightningd: use get_network_blockheight() not get_block_height() for …

    …pay.
    
    This is useful once we allow pay before full sync.
    
    Signed-off-by: Rusty Russell <[email protected]>
    rustyrussell committed Mar 26, 2024
    Configuration menu
    Copy the full SHA
    0597610 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2024

  1. lightningd: allow *outgoing* HTLCs before full bitcoind sync.

    This allows for faster startup for Greenlight.  We still require full sync
    before *incoming* htlcs, and onchain operations.
    
    Signed-off-by: Rusty Russell <[email protected]>
    rustyrussell committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    023bb51 View commit details
    Browse the repository at this point in the history
  2. lightningd: debug log when we send a notification to a command.

    For testing.
    
    Signed-off-by: Rusty Russell <[email protected]>
    rustyrussell committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    2f882bd View commit details
    Browse the repository at this point in the history
  3. openchannel: delay, don't refuse, if node not synced.

    Signed-off-by: Rusty Russell <[email protected]>
    rustyrussell committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    a4d8a0f View commit details
    Browse the repository at this point in the history
  4. openchannel_bump: delay, don't refuse, if node not synced.

    Signed-off-by: Rusty Russell <[email protected]>
    rustyrussell committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    d8faf73 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2024

  1. pytest: rename lightning nodes to reduce confusion.

    I was trying to debug test_zeroconf_open and getting very confused.
    The reason: l0 is lightning-1, l1 is lightning-2, etc!  And there are
    two other tests where an l0 has been added at the front: fix them all
    to avoid future confusion!
    
    Signed-off-by: Rusty Russell <[email protected]>
    rustyrussell committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    1c968ee View commit details
    Browse the repository at this point in the history
  2. fundchannel_start: delay, don't refuse, if node not synced.

    Signed-off-by: Rusty Russell <[email protected]>
    rustyrussell committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    818ce4d View commit details
    Browse the repository at this point in the history
  3. lightningd: don't allow mindepth != 0 if they specify channel_type ze…

    …roconf.
    
    Signed-off-by: Rusty Russell <[email protected]>
    Changelog-Fixed: JSON-RPC: `fundchannel_start` now disallows a non-zero `mindepth` parameter if you ask for a zeroconf `channel_type`.
    rustyrussell committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    c155e42 View commit details
    Browse the repository at this point in the history