Bitcoin Forum
May 13, 2024, 10:39:34 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Why PTLC when HTLC does the job  (Read 126 times)
Majestic-milf (OP)
Hero Member
*****
Offline Offline

Activity: 798
Merit: 589



View Profile
August 02, 2022, 08:32:38 AM
Merited by n0nce (1)
 #1

 I'm quite confused about this and would need some insight on this. What does PTLC offer that makes it far better than HTLC? I'm aware that Taproot is an improvement or upgrade to the LN, but where I can't grab is why the PTLC is more preferred.

Contributions to this will be duly appreciated, thanks.

R


▀▀▀▀▀▀▀██████▄▄
████████████████
▀▀▀▀█████▀▀▀█████
████████▌███▐████
▄▄▄▄█████▄▄▄█████
████████████████
▄▄▄▄▄▄▄██████▀▀
LLBIT
  CRYPTO   
FUTURES
 1,000x 
LEVERAGE
COMPETITIVE
    FEES    
 INSTANT 
EXECUTION
.
   TRADE NOW   
1715639974
Hero Member
*
Offline Offline

Posts: 1715639974

View Profile Personal Message (Offline)

Ignore
1715639974
Reply with quote  #2

1715639974
Report to moderator
1715639974
Hero Member
*
Offline Offline

Posts: 1715639974

View Profile Personal Message (Offline)

Ignore
1715639974
Reply with quote  #2

1715639974
Report to moderator
1715639974
Hero Member
*
Offline Offline

Posts: 1715639974

View Profile Personal Message (Offline)

Ignore
1715639974
Reply with quote  #2

1715639974
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715639974
Hero Member
*
Offline Offline

Posts: 1715639974

View Profile Personal Message (Offline)

Ignore
1715639974
Reply with quote  #2

1715639974
Report to moderator
j2002ba2
Full Member
***
Offline Offline

Activity: 204
Merit: 437


View Profile
August 02, 2022, 09:53:30 AM
Merited by d5000 (1), ABCbits (1), n0nce (1)
 #2

This is the main disadvantage of HTLC:
When used to secure multiple payments (e.g. a routed LN payment or an atomic swap), all payments use the same preimage and hash lock. This creates a link between those payments if they’re published onchain or if they’re routed offchain though surveillance nodes.
Also using the same hash gives surveillance information for a single payment as well, by revealing parts of the path.

In contrast PTLC:
Each point lock can use different keys and signatures, so there is nothing about the point lock that correlates different payments either onchain or when routed offchain through surveillance nodes.
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6740


bitcoincleanup.com / bitmixlist.org


View Profile WWW
August 02, 2022, 10:59:38 AM
Merited by Rruchi man (1), n0nce (1)
 #3

In contrast PTLC:
Each point lock can use different keys and signatures, so there is nothing about the point lock that correlates different payments either onchain or when routed offchain through surveillance nodes.

PLTC depends on Schnorr signatures to be widely implemented on wallets and blockchain software first (and as Pieter Wuille explained to me on the mailing list, any implementation that supports Taproot already has the necessary code for making Schnorr signatures), so it's merely a matter on supporting Taproot in more places - and it will budge exchanges that want to participate with them to finally support segwit and bech32 in the process.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Zilon
Sr. Member
****
Offline Offline

Activity: 966
Merit: 421

Bitcoindata.science


View Profile WWW
August 02, 2022, 11:23:22 AM
Merited by Rruchi man (2), n0nce (1), Sandra_hakeem (1)
 #4

Both HTLC and PTLC are conditional payment options used in multi signature payment. For HTLC the payments are locked using a hash message/digest and can only be unlocked by the preimage that accurately matches the digest hashed. This message digest uses Hash 256 function which produces a 256-bit (32-byte) digest commonly generated from a 32-byte preimage.

For PTLC public keys here serve as the lock and can only be unlocked by proving a signature that matches the signature adaptors. PTLC allows outputs created to be spent if anyone can provide a digital signature to the address that arise from the public key that comes from a secret.

What makes PTLC more preferred to HTLC is the uncorrelated payment it offers offers both onchain and off chain meaning. We can say PTLC provides a secure, private with multisig and  makes multiparty payment using Schnorr signature
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!