Skip to content

Channels CC modification#1803

Merged
jl777 merged 8 commits intojl777:jl777from
Mixa84:channelsmod
Feb 25, 2020
Merged

Channels CC modification#1803
jl777 merged 8 commits intojl777:jl777from
Mixa84:channelsmod

Conversation

@Mixa84
Copy link
Copy Markdown

@Mixa84 Mixa84 commented Feb 25, 2020

Adding optional parameter for confirmation/notarization wait on channel open. If it is set to 0 (disabled) channelspayment could be issued right away after channelsopen is mined. Setting to 1 it will set it to default (101 confirmations or notarization). If it is set to X then it will wait X confirmations or notarization. Unspecified will default to 1.

Additiona rpc for generating secret for payment amount with which offline payments can be done by sending secret to destination party and they can verify that channelspayment can be done with that secret. Destination can broadcast channelspayment when desired, but it should be done before channelsrefund. Channelsclose tx is a signal for destination that channel will be closed and it should broadcast all pending payments before refund can be issued.

@jl777 jl777 merged commit 2bc8274 into jl777:jl777 Feb 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants