Skip to content

Swap-in transaction principle #399

Answered by dpad85
margre8 asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry for not replying sooner.

Address is a multisig address which is directly used to open a Payment Channel

Yes, the multisig scheme allows us to make the swap 0-conf (see swap-in potentiam)

what happens when Someone sends too few funds

Too few funds actually means : the cost of the swap would be too much relative to the amount to be swapped. By default, Phoenix will prevent the cost to be over 5000 sat / 50% of the amount received (that's configurable). So it all depends on the current on-chain feerate.

So if that happens, the funds remain on the address, until the feerate decrease enough that the swap can be made - or until more funds are deposited to this address and make the fee…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by margre8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants