Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Add close_transaction API to cfd_protocol lib #100

Merged
merged 1 commit into from
Sep 23, 2021

Conversation

luckysori
Copy link
Contributor

Work towards #71.

Notes:

  • We use a flat fee like with all the other chain transactions. Both punish and close could take a feerate argument since they are both meant to be published soon after constructing them. We don't need to solve this now, but I remembered it.
  • Both parties must know lock_descriptor, lock_amount and lock_outpoint in order to build the close transaction. Maybe it would be best to remember the descriptor and the txid and calculate the other two when necessary.

What are the next steps? Should I try to use this new API in the binaries?

Copy link
Contributor

@thomaseizinger thomaseizinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, that will do for now! :)

Don't think we need to integrate it right away!

@luckysori luckysori mentioned this pull request Sep 22, 2021
2 tasks
@luckysori luckysori added this to In progress in Product MVP Sep 22, 2021
@luckysori luckysori merged commit 44937bd into master Sep 23, 2021
@luckysori luckysori deleted the collaborative-settlement branch September 23, 2021 00:02
Product MVP automation moved this from In progress to Done Sep 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants