Re: [bitcoin-dev] Building Blocks of the State Machine Approach to Consensus

2016-06-20 Thread Alex Mizrahi via bitcoin-dev
> All practical single-use seals will be associated with some kind of > condition, > such as a pubkey, or deterministic expression, that needs to be satisfied > for > the seal to be closed. I think it would be useful to classify systems w.r.t. what data is available to condition. I imagine it

[bitcoin-dev] Even more proposed BIP extensions to BIP 0070

2016-06-20 Thread Erik Aronesty via bitcoin-dev
BIP 0070 has been a a moderate success, however, IMO: - protocol buffers are inappropriate since ease of use and extensibility is desired over the minor gains of efficiency in this protocol. Not too late to support JSON messages as the standard going forward - problematic reliance on

Re: [bitcoin-dev] Building Blocks of the State Machine Approach to Consensus

2016-06-20 Thread zaki--- via bitcoin-dev
Hi Peter, I didn't entirely understand the process of transaction linearization. What I see is a potential process where when the miner assembles the block, he strips all but one sigscript per tx. The selection of which sigscript is retained is determined by the random oracle. Is this is

Re: [bitcoin-dev] Building Blocks of the State Machine Approach to Consensus

2016-06-20 Thread Police Terror via bitcoin-dev
Bitcoin could embed a lisp interpreter such as Scheme, reverse engineer the current protocol into lisp (inside C++), run this alternative engine alongside the current one as an option for some years (only for fine tuning) then eventually fade this lisp written validation code instead of the

[bitcoin-dev] Building Blocks of the State Machine Approach to Consensus

2016-06-20 Thread Peter Todd via bitcoin-dev
In light of Ethereum's recent problems with its imperative, account-based, programming model, I thought I'd do a quick writeup outlining the building blocks of the state-machine approach to so-called "smart contract" systems, an extension of Bitcoin's own design that I personally have been