Bitcoin Forum
May 14, 2024, 04:51:54 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: When would Contract and more complicated transactions be enabled in Bitcoin?  (Read 1277 times)
Balloon (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
July 29, 2014, 06:53:41 PM
 #1

All features and new functionalities described in https://en.bitcoin.it/wiki/Contracts are very fascinating. But when would these features be enabled in Bitcoin? When would these complex transactions become "standard" transactions? When would such features be included in a BIP?
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4172
Merit: 8420



View Profile WWW
July 29, 2014, 07:02:16 PM
 #2

All features and new functionalities described in https://en.bitcoin.it/wiki/Contracts are very fascinating. But when would these features be enabled in Bitcoin? When would these complex transactions become "standard" transactions? When would such features be included in a BIP?
They're already included since day one. Many of them have long been standard transactions, but for those who are not they don't need to be standard transactions to use them, develop tools for them, or experiment with them. Since a month ago in Master, practically any script encoded as P2SH IsStandard in any case.

Sadly there seems to be fairly little true interest in doing anything advanced or at least in building tools to make things usable to laymen.

There is no need to create a BIP for features that already part of the protocol, though if some transaction form becomes common and people might want to make interoperable implementations and at that point writing up a specification to help front end implementations interop might make sense, but it wouldn't be a bitcoin protocol thing.
Balloon (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
July 29, 2014, 09:31:38 PM
 #3

All features and new functionalities described in https://en.bitcoin.it/wiki/Contracts are very fascinating. But when would these features be enabled in Bitcoin? When would these complex transactions become "standard" transactions? When would such features be included in a BIP?
They're already included since day one. Many of them have long been standard transactions, but for those who are not they don't need to be standard transactions to use them, develop tools for them, or experiment with them. Since a month ago in Master, practically any script encoded as P2SH IsStandard in any case.

Sadly there seems to be fairly little true interest in doing anything advanced or at least in building tools to make things usable to laymen.

There is no need to create a BIP for features that already part of the protocol, though if some transaction form becomes common and people might want to make interoperable implementations and at that point writing up a specification to help front end implementations interop might make sense, but it wouldn't be a bitcoin protocol thing.

Got it! Most things mentioned by Mike, nLockTime, Oracle, SIGHASH, are already implemented. So the problem is just not so many people are using them? And also not many miners accept these transactions?

kolinko
Full Member
***
Offline Offline

Activity: 518
Merit: 101



View Profile
August 01, 2014, 09:02:55 PM
 #4

As for miners accepting the transaction - right now it's basically Eligius. As for the oracles - check out our whitepaper: https://github.com/orisi/wiki/wiki/Orisi-White-Paper and our repo: https://github.com/orisi/orisi . We have a framework for delivering external inputs to the transactions, and an example timelock transaction ready + working on new contract kinds.

Also, Gavin pushed a commit recently that will make virtually all scripts standard within a couple of months.
Saitteld
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
August 06, 2014, 08:20:51 PM
 #5

Escrow, assurance contract (kickstarter) and a decentralized lottery are already possible to execute. Block chain contains transactions for all these contracts. For details see https://curiosity-driven.org/bitcoin-contracts

Quote
Also, Gavin pushed a commit recently that will make virtually all scripts standard within a couple of months.

Is it about P2SH scripts or standard output scripts? Could you point the exact commit that changes this (I'm not seeing it on github)?
Charles Hope
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
August 07, 2014, 02:13:32 AM
 #6

There are a few oracles around. I created one, called Early Temple, which handles conditional payments based on a phrase appearing on a given webpage. I ship a custom client as well, because typical clients can't handle the protocol required.

I think the lack of client support is really the major stumbling block for the field.
kolinko
Full Member
***
Offline Offline

Activity: 518
Merit: 101



View Profile
August 07, 2014, 09:12:52 AM
 #7

Is it about P2SH scripts or standard output scripts? Could you point the exact commit that changes this (I'm not seeing it on github)?

Here's the commit:
https://github.com/gavinandresen/bitcoin-git/commit/7f3b4e95695d50a4970e6eb91faa956ab276f161
Saitteld
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
August 07, 2014, 05:02:09 PM
 #8

Thanks kolinko!
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!