From dbc30010359adbba93b8c75aaa7650031b78bccb Mon Sep 17 00:00:00 2001 From: brqgoo <100725376+brqgoo@users.noreply.github.com> Date: Mon, 16 Jan 2023 16:45:00 +0300 Subject: [PATCH] Update 04.md --- 04.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/04.md b/04.md index c781a90..77306ca 100644 --- a/04.md +++ b/04.md @@ -24,6 +24,12 @@ Submarine swaps don't scale. Each swap consumes >182 vBytes per channel opening: PTLCs doesn't help either, as it consumes still too much >142 vBytes; `43 PTLC out + 40 PTLC outpoint + 16 PTLC redeem + 43 channel out` +### Onboarding +| Type | HTLC output | HTLC outpoint | HTLC redeem | Channel output | Total | +|------------------------------|----------------|----------------|--------------|----------------|----------- | +| HTLC-based Submarine Swaps | 43 vBytes | 40 vBytes | 56 vBytes | 43 vBytes | 182 vBytes | +| PTLC-based Submarine Swaps | 43 vBytes | 40 vBytes | 16 vBytes | 43 vBytes | 142 vBytes | + ## Specification `Channel addresses`, as seen [here](https://burakkeceli.medium.com/channel-addresses-bd85e9ab8fe1) and [here](https://rubin.io/bitcoin/2021/12/11/advent-14/), make it possible to craft on-chain bitcoin addresses such that whenever funded by someone, becomes a payment channel between the user and the channel partner (LSP), where the channel funds are initially kept on the user's side. Channel address require new additions to the bitcoin scripting system, and planned as a future extension under [BDS-19](https://github.com/bits-wallet/specs/blob/main/19.md).