Skip to content

Commit

Permalink
Update for channel phase changes
Browse files Browse the repository at this point in the history
Moves the following methods (which, once unwound, don't actually depend on
anything but the ChannelContext) into ChannelContext:

- Channel::build_commitment_no_state_update
- Channel::send_commitment_no_state_update
- Channel::get_last_commitment_update_for_send
- Channel::signer_maybe_unblocked

Modifies `signer_unblocked` to use the phase rather than the channel.
  • Loading branch information
waterson committed Sep 11, 2023
1 parent 5ef97d2 commit ef6738d
Show file tree
Hide file tree
Showing 3 changed files with 189 additions and 194 deletions.
Loading

0 comments on commit ef6738d

Please sign in to comment.