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

fix: Add information about how many blocks to go until funding is confirmed #2405

Merged
merged 1 commit into from
Apr 7, 2019

Commits on Mar 19, 2019

  1. fix:Add infor about how many blocks needed until funding is confirmed

    1. Rename channel_funding_locked to channel_funding_depth in
    channeld/channel_wire.csv.
    2. Add minimum_depth in struct channel in common/initial_channel.h and
    change corresponding init function: new_initial_channel().
    3. Add confirmation_needed in struct peer in channeld/channeld.c.
    4. Rename channel_tell_funding_locked to channel_tell_depth.
    5. Call channel_tell_depth even if depth < minimum, and still call
    lockin_complete in channel_tell_depth, iff depth > minimum_depth.
    6. channeld ignore the channel_funding_depth unless its >
    minimum_depth(except to update billboard, and set
    peer->confirmation_needed = minimum_depth - depth).
    trueptolemy authored and trueptolemy committed Mar 19, 2019
    Configuration menu
    Copy the full SHA
    7f55203 View commit details
    Browse the repository at this point in the history