Bitcoin Forum
November 14, 2024, 09:42:40 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Question about MAST/Merkelized Abstract Syntax Trees  (Read 203 times)
ABCbits (OP)
Legendary
*
Offline Offline

Activity: 3066
Merit: 8087


Crypto Swap Exchange


View Profile
February 10, 2018, 07:39:38 PM
 #1

I've been reading topics about upcoming/proposals for Bitcoin including MAST, but i'm still confused about such things :
1. Will MAST allow complex Smart Contract or still only can use P2SH ?
2. Since MAST can increase user privacy, i wonder if MAST also can increase privacy when user use LN (especially some users have concern if they let user use connect to other users through their channel and turned out it's criminal acitivity)?
3. GitHub page mentioned MAST will be soft fork, but i wonder how will the backward compatibility works, is it similar with backward compatibility that SegWit use?

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3080



View Profile
February 10, 2018, 10:52:09 PM
Merited by ABCbits (2)
 #2

1. Will MAST allow complex Smart Contract or still only can use P2SH ?

I'm pretty sure MAST only permits a limited amount of extra complexity using the existing op-codes.


2. Since MAST can increase user privacy, i wonder if MAST also can increase privacy when user use LN (especially some users have concern if they let user use connect to other users through their channel and turned out it's criminal acitivity)?

MAST only increases privacy in specific circumstances; if a script has branches (e.g. when a threshold of signers is less than the total possible, 2 of 3 for instance), then only the branch that is satisfied ends up published on the blockchain when using MAST (e.g. if person 1 & 2 sign a transaction, person 3's pubkey isn't disclosed at all as a part of the transaction). With current scripting, all branches of a script are published when the script is spent from. This can make MAST transactions smaller than regular P2SH.

I don't think this will change LN privacy properties, it's already a private system in any case. I don't think it could make channel open/close transactions smaller, as they're always 2 of 2, but there's maybe some subtlety I've not picked up on.


3. GitHub page mentioned MAST will be soft fork, but i wonder how will the backward compatibility works, is it similar with backward compatibility that SegWit use?

There are no deployment implementations that I'm aware of, but any soft-fork is likely to get deployed using version bits (which Segwit was).

Vires in numeris
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!