Bitcoin Forum
May 05, 2024, 01:25:04 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: OP_CHECKCOLORVERIFY: soft-fork for native color coin support  (Read 3567 times)
TierNolan
Legendary
*
Offline Offline

Activity: 1232
Merit: 1083


View Profile
July 12, 2013, 01:31:13 PM
 #21

TierNolan: learn about merkelized abstract syntax trees.

There is no Google hit for "merkelized abstract syntax tree"

However, a syntax tree is basically the root of a tree of instructions.  Do you mean that you give the root node of a tree that defines the operations?

I don't see that as an improvement.  You still need to provide the entire script when spending the coin?

What I was suggesting was a way to add code for functions.

Maybe

<name> OP_CALL

is a better description.  That would call the given function.

1LxbG5cKXzTwZg9mjL3gaRE835uNQEteWF
1714872304
Hero Member
*
Offline Offline

Posts: 1714872304

View Profile Personal Message (Offline)

Ignore
1714872304
Reply with quote  #2

1714872304
Report to moderator
"Bitcoin: mining our own business since 2009" -- Pieter Wuille
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714872304
Hero Member
*
Offline Offline

Posts: 1714872304

View Profile Personal Message (Offline)

Ignore
1714872304
Reply with quote  #2

1714872304
Report to moderator
1714872304
Hero Member
*
Offline Offline

Posts: 1714872304

View Profile Personal Message (Offline)

Ignore
1714872304
Reply with quote  #2

1714872304
Report to moderator
Peter Todd
Legendary
*
expert
Offline Offline

Activity: 1120
Merit: 1150


View Profile
July 12, 2013, 01:37:35 PM
 #22

"merkelized abstract syntax tree" == "abstract syntax tree + hashing"

You only provide the parts of the tree actually executed, take advantage of that.

Making transactions as statefull as you suggest - depending on external data for the scripts - has many severe drawbacks due to the non-determinism and complexity. Anyway with MASTs that step can be just a matter of optional blockchain compression.

TierNolan
Legendary
*
Offline Offline

Activity: 1232
Merit: 1083


View Profile
July 12, 2013, 01:54:37 PM
 #23

Anyway with MASTs that step can be just a matter of optional blockchain compression.

That's true, the "real" script could be the expanded version.  If a client finds a particular sequence of bytes repeating in script, then it could have some way tell its peers about it.

1LxbG5cKXzTwZg9mjL3gaRE835uNQEteWF
Pages: « 1 [2]  All
  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!