Update 04.md

This commit is contained in:
brqgoo
2023-01-16 16:52:37 +03:00
committed by GitHub
parent 50d6f9e84d
commit 4279e1a2d5

5
04.md
View File

@@ -19,10 +19,7 @@ Cannot allow batch openings, consuming more on-chain footprint. A third party (i
Offline receiving is not possible without compromising privacy. Offline receiving is not possible without compromising privacy.
### Scalibility ### Scalibility
Submarine swaps don't scale. Each swap consumes >182 vBytes per channel opening: Submarine swaps don't scale. From sweeping funds to opening a channel, overall process consumes >182 vBytes in a HTLC-based approach and 142 vBytes in a PTLC-based approach:
`43 HTLC out + 40 HTLC outpoint + 56 HTLC redeem + 43 channel out`
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`
| Type | HTLC output | HTLC outpoint | HTLC redeem | Channel output | Total | | Type | HTLC output | HTLC outpoint | HTLC redeem | Channel output | Total |
|------------------------------|----------------|----------------|--------------|----------------|----------- | |------------------------------|----------------|----------------|--------------|----------------|----------- |