MASTer Plan: Better Bitcoin Smart Contracts Could Go Live This Year

The wait for more advanced bitcoin smart contracts might soon be over.

Spurred by last month’s SegWit activation, bitcoin developers are reviving a plan that would see the world’s most popular blockchain retooled with functionality long synonymous with ethereum and its more expressive code executions.

Known as Merkelized Abstract Syntax Trees (MAST), the concept has moved in fits and starts – Russell O’Connor, Pieter Wuille and Peter Todd put forward the idea, and Johnson Lau put together his own proposal last year – but the upgrade to SegWit makes the change not only possible, but possibly actionable soon. 

So, Blockstream co-founder Mark Friedenbach is now breathing new life into the idea, putting forth a proposal this week that would have MAST deployed by way of soft fork (a backwards-compatible change to the blockchain’s rule set).

Should it be enacted (and in the world of bitcoin upgrades, that’s a big if), it would mean greater transaction flexibility. With it, users can require that a transaction will go through only if one of two or more things happen. For instance, a transaction could be redeemable only after a certain period of time, or only once two users give their blessing.

MAST also enables better user privacy, as it stores transaction data in a new way and doesn’t reveal unused scipts to the public blockchain. And finally, it could also allow for increased scaling potential, since it enables less data to be stored on the blockchain.

Merging features

Getting to those benefits, though, means fusing together two technical features: pay-to-script-hash (P2SH) and Merkle trees.

READ  SEC Will Not Review ETFs Based on Exchange Traded Bitcoin Derivatives Until They Exist

In an email addressing bitcoin developers, Friedenbach outlines three Bitcoin Improvement Proposals (BIPs), including the code, for adding two scripts that would make it possible for users to take advantage of MAST.

He explained what his proposed idea would enable, writing:

“These two features together are enough to enable a range of applications such as tree signatures … and a generalized MAST useful for constructing private smart contracts.”

The first BIP, “Fast Merkle Trees,” proposes a different Merkle tree structure than the one currently used by bitcoin to store transactions in blocks. The second BIP, arguably the most important one, describes the opcode – MERKLE-BRANCH-VERIFY – which is a script that would allow users to make new types of transactions.

“In brief summary, MERKLE-BRANCH-VERIFY allows script authors to force redemption to use values selected from a pre-determined set committed to in the scriptPubKey, but without requiring revelation of unused elements in the set for both enhanced privacy and smaller script sizes,” Friedenbach wrote.

The final BIP, “Tail Call Execution Semantics,” is a pretty complex read, but – put simply – explains a new way for bitcoin smart contracts to terminate.

The road to upgrades

Despite how complicated the technology sounds, Friedenbach said in practice it’s relatively straightforward.

“I believe that the implementation of these features is simple enough, and the use cases compelling enough that we could [roll out] these features in relatively short order, perhaps before the end of the year,” he wrote.

Interestingly, though, he mentioned the change could be made one of two ways, by BIP 8 or BIP 9, two methods of making bitcoin upgrades which have had plenty of back-and-forth over the past year.

READ  TokenStars Blockchain Platform Allows Ignored Young Talents to Be Supported and Achieve Success

SegWit was originally proposed to deploy via BIP 9, which called for a certain percentage of miners to signal for the change before it could be deployed. Because miners didn’t signal, SegWit stalled, and some argued BIP 9 gave miners (one group in an elaborate ecosystem) too much control over the future of bitcoin.

Because of that, some users have since rallied around BIP 8 as a better upgrading mechanism because it relies on bitcoin users and businesses rather than mining pools to enforce the change.

But Friedenbach’s lack of stance regarding this upgrading mechanism raises the question: after all the drama over SegWit – which took nearly two years to activate – how will upgrades be made in the future?

The way users, companies and developers choose to go on MAST (if they decide it’s the right step), might help determine that.

Disclosure: CoinDesk is a subsidiary of Digital Currency Group, which has an ownership stake in Blockstream. 

Mathematical theory image via Shutterstock

The leader in blockchain news, CoinDesk is an independent media outlet that strives for the highest journalistic standards and abides by a strict set of editorial policies. Interested in offering your expertise or insights to our reporting? Contact us at [email protected].

133 Replies to “MASTer Plan: Better Bitcoin Smart Contracts Could Go Live This Year”

  1. I just want to mention I am newbie to blogging and honestly savored this blog. Most likely I’m planning to bookmark your website . You amazingly have fabulous stories. Regards for sharing with us your web site.

  2. I simply wish to notify you that I am new to writing a blog and completely liked your work. Likely I am inclined to save your blog post . You absolutely have magnificent article blog posts. Truly Appreciate it for share-out with us your very own site write-up

  3. Great beat ! I wish to apprentice while you amend your site, how could i subscribe for a blog website? The account aided me a acceptable deal. I had been tiny bit acquainted of this your broadcast offered bright clear concept

  4. MichaelJemery.com is a site with many hypnosis downloads. Whether you are looking for free hypnosis downloads, self hypnosis download for mp3, video and any audio files, Michael Jemery has the downloads for you. You can download hypnosis from apps, audio, mp3 and even youtube !

  5. The core of your writing while sounding agreeable initially, did not sit properly with me personally after some time. Somewhere throughout the paragraphs you managed to make me a believer unfortunately only for a short while. I still have got a problem with your leaps in logic and one might do well to fill in all those gaps. When you can accomplish that, I would surely end up being impressed.

  6. Excellent goods from you, man. I’ve understand your stuff previous to and you’re just extremely wonderful. I really like what you’ve acquired here, certainly like what you are saying and the way in which you say it. You make it enjoyable and you still care for to keep it smart. I cant wait to read far more from you. This is really a terrific site.

  7. Hi, Neat post. There’s an issue along with your site in internet explorer, may test this… IE still is the market chief and a good portion of other people will leave out your excellent writing due to this problem.

  8. I precisely wanted to thank you so much yet again. I do not know the things I would have taken care of without the actual ideas contributed by you concerning my area of interest. It absolutely was a real intimidating case in my view, however , spending time with a new skilled mode you managed it took me to jump for happiness. I’m grateful for the service and as well , hope you find out what a great job that you’re putting in educating people today using your website. More than likely you haven’t encountered all of us.

  9. Very interesting info !Perfect just what I was searching for! “Fear not that thy life shall come to an end, but rather fear that it shall never have a beginning.” by John Henry Cardinal Newman.

  10. I’m also commenting to make you be aware of what a extraordinary experience my friend’s child undergone studying your site. She discovered a lot of things, which included what it is like to have an excellent teaching character to get certain people without difficulty know just exactly specified grueling things. You really exceeded visitors’ desires. Many thanks for rendering those practical, trustworthy, edifying and easy tips on the topic to Jane.

  11. Fantastic goods from you, man. I’ve understand your stuff previous to and you are just extremely fantastic. I actually like what you have acquired here, certainly like what you’re stating and the way in which you say it. You make it enjoyable and you still take care of to keep it smart. I cant wait to read much more from you. This is really a tremendous website.

  12. It is in point of fact a nice and useful piece of info. I’m satisfied that you simply shared this helpful information with us. Please stay us informed like this. Thank you for sharing.

  13. I have been absent for a while, but now I remember why I used to love this blog. Thanks, I’ll try and check back more frequently. How frequently you update your site?

  14. I loved as much as you’ll receive carried out right here. The sketch is tasteful, your authored subject matter stylish. nonetheless, you command get bought an nervousness over that you wish be delivering the following. unwell unquestionably come further formerly again since exactly the same nearly very often inside case you shield this hike.

  15. I like this website very much, Its a very nice situation to read and receive info . “…when you have eliminated the impossible, whatever remains, however improbable, must be the truth.” by Conan Doyle.

  16. We’re a group of volunteers and starting a new scheme in our community. Your website provided us with valuable information to work on. You’ve done a formidable job and our entire community will be thankful to you.

  17. Just wanna remark on few general things, The website style and design is perfect, the subject material is real superb. “Art for art’s sake makes no more sense than gin for gin’s sake.” by W. Somerset Maugham.

  18. Wow! This could be one particular of the most useful blogs We’ve ever arrive across on this subject. Actually Wonderful. I’m also a specialist in this topic so I can understand your hard work.

  19. Merely wanna remark on few general things, The website layout is perfect, the content is very good. “Believe those who are seeking the truth. Doubt those who find it.” by Andre Gide.

  20. I like the helpful info you provide in your articles. I will bookmark your blog and check again here regularly. I am quite certain I’ll learn many new stuff right here! Best of luck for the next!

  21. Wonderful beat ! I wish to apprentice while you amend your site, how could i subscribe for a blog website? The account aided me a acceptable deal. I had been a little bit acquainted of this your broadcast offered bright clear concept

  22. I cling on to listening to the news bulletin talk about receiving boundless online grant applications so I have been looking around for the top site to get one. Could you tell me please, where could i find some?

  23. Keep up the good work , I read few content on this web site and I conceive that your weblog is very interesting and holds lots of fantastic information.

  24. I like what you guys are up also. Such clever work and reporting! Keep up the superb works guys I’ve incorporated you guys to my blogroll. I think it will improve the value of my web site :).

  25. I have been surfing online more than 3 hours today, yet I never found any interesting article like yours. It’s pretty worth enough for me. Personally, if all web owners and bloggers made good content as you did, the web will be a lot more useful than ever before.

  26. I am not certain where you’re getting your info, however good topic. I needs to spend a while finding out more or figuring out more. Thanks for excellent info I was on the lookout for this information for my mission.

  27. I do consider all of the ideas you’ve offered for your post. They’re really convincing and can definitely work. Nonetheless, the posts are too short for novices. May you please prolong them a little from next time? Thanks for the post.

  28. It’s in point of fact a great and useful piece of information. I’m happy that you simply shared this helpful information with us. Please stay us informed like this. Thanks for sharing.

  29. Thank you for sharing excellent informations. Your site is so cool. I am impressed by the details that you’ve on this website. It reveals how nicely you perceive this subject. Bookmarked this website page, will come back for extra articles. You, my pal, ROCK! I found simply the info I already searched everywhere and just could not come across. What a great website.

  30. You really make it seem so easy with your presentation but I find this matter to be really something which I think I would never understand. It seems too complicated and extremely broad for me. I am looking forward for your next post, I’ll try to get the hang of it!

  31. You actually make it seem so easy with your presentation but I find this topic to be really something that I think I would never understand. It seems too complicated and extremely broad for me. I’m looking forward for your next post, I will try to get the hang of it!

  32. Hello, Neat post. There’s a problem with your site in web explorer, may test this¡K IE still is the marketplace leader and a large element of other folks will pass over your excellent writing due to this problem.

  33. Thank you, I’ve recently been searching for information approximately this topic for ages and yours is the greatest I’ve came upon so far. However, what about the conclusion? Are you sure about the source?

  34. Thank you for sharing superb informations. Your website is very cool. I’m impressed by the details that you’ve on this web site. It reveals how nicely you understand this subject. Bookmarked this web page, will come back for extra articles. You, my friend, ROCK! I found simply the information I already searched all over the place and simply couldn’t come across. What an ideal website.

  35. I genuinely enjoy reading on this internet site , it has superb posts . “He who sees the truth, let him proclaim it, without asking who is for it or who is against it.” by Henry George.

  36. Hey very cool web site!! Guy .. Excellent .. Superb .. I will bookmark your website and take the feeds also¡KI’m satisfied to search out numerous helpful info right here within the post, we need develop more strategies in this regard, thank you for sharing. . . . . .

  37. Keep up the fantastic piece of work, I read few content on this site and I conceive that your weblog is real interesting and has got bands of good information.

  38. What i do not understood is in truth how you are not really much more smartly-preferred than you might be right now. You’re so intelligent. You know therefore significantly on the subject of this subject, produced me in my view consider it from numerous various angles. Its like women and men are not involved except it¡¦s one thing to accomplish with Girl gaga! Your individual stuffs nice. Always maintain it up!

  39. You can certainly see your enthusiasm in the paintings you write. The sector hopes for more passionate writers like you who aren’t afraid to mention how they believe. Always go after your heart. “Until you walk a mile in another man’s moccasins you can’t imagine the smell.” by Robert Byrne.

  40. What i don’t understood is in reality how you’re not actually much more neatly-favored than you might be right now. You are very intelligent. You realize therefore significantly when it comes to this topic, produced me individually believe it from a lot of numerous angles. Its like women and men are not fascinated except it’s something to do with Lady gaga! Your own stuffs great. All the time handle it up!

  41. you’re actually a just right webmaster. The web site loading speed is amazing. It sort of feels that you’re doing any unique trick. Furthermore, The contents are masterwork. you’ve done a great process on this topic!

  42. I’ve recently started a web site, the info you offer on this website has helped me greatly. Thanks for all of your time & work. “‘Tis our true policy to steer clear of permanent alliances with any portion of the foreign world.” by George Washington.

  43. This is very interesting, You are a very skilled blogger. I’ve joined your rss feed and look forward to seeking more of your wonderful post. Also, I’ve shared your web site in my social networks!

  44. This is very interesting, You’re a very skilled blogger. I’ve joined your feed and look forward to seeking more of your fantastic post. Also, I have shared your site in my social networks!

  45. You are my intake, I possess few blogs and often run out from brand :). “He who controls the past commands the future. He who commands the future conquers the past.” by George Orwell.

  46. This is really interesting, You’re a very skilled blogger. I have joined your rss feed and look forward to seeking more of your great post. Also, I have shared your web site in my social networks!

  47. A lot of thanks for all of the work on this blog. My daughter delights in engaging in research and it is obvious why. All of us hear all regarding the dynamic ways you convey great tactics on this blog and as well as invigorate response from some others about this theme while my simple princess is studying a great deal. Enjoy the rest of the new year. You are always performing a really great job.

  48. You actually make it seem really easy with your presentation however I in finding this matter to be actually one thing that I think I’d never understand. It seems too complicated and very large for me. I am looking forward in your next submit, I will attempt to get the cling of it!

  49. I would like to thank you for the efforts you have put in writing this web site. I am hoping the same high-grade site post from you in the upcoming also. Actually your creative writing abilities has encouraged me to get my own site now. Actually the blogging is spreading its wings quickly. Your write up is a good example of it.

  50. Whats Happening i’m new to this, I stumbled upon this I’ve discovered It positively helpful and it has helped me out loads. I’m hoping to give a contribution & help other users like its helped me. Good job.

  51. I loved as much as you’ll receive carried out right here. The sketch is tasteful, your authored subject matter stylish. nonetheless, you command get bought an edginess over that you wish be delivering the following. unwell unquestionably come more formerly again as exactly the same nearly a lot often inside case you shield this hike.

  52. Unquestionably believe that which you stated. Your favorite reason seemed to be on the web the easiest thing to be aware of. I say to you, I certainly get annoyed while people think about worries that they just don’t know about. You managed to hit the nail upon the top as well as defined out the whole thing without having side-effects , people can take a signal. Will probably be back to get more. Thanks

  53. I just wanted to post a small word so as to express gratitude to you for the great concepts you are placing here. My time-consuming internet research has at the end been compensated with pleasant strategies to go over with my good friends. I ‘d mention that most of us readers are very much endowed to be in a magnificent network with so many awesome individuals with interesting basics. I feel really happy to have used your entire site and look forward to plenty of more fabulous times reading here. Thanks a lot again for everything.

  54. I loved as much as you’ll receive carried out right here. The sketch is tasteful, your authored subject matter stylish. nonetheless, you command get got an impatience over that you wish be delivering the following. unwell unquestionably come further formerly again as exactly the same nearly very often inside case you shield this increase.

  55. Great tremendous issues here. I¡¦m very satisfied to peer your article. Thank you so much and i’m looking ahead to contact you. Will you kindly drop me a mail?

Leave a Reply

Your email address will not be published. Required fields are marked *