From: "Luke-Jr" <luke@dashjr.org>
To: bitcoin-development@lists.sourceforge.net
Subject: Re: [Bitcoin-development] BIP - Selector Script
Date: Fri, 25 Apr 2014 19:17:48 +0000 [thread overview]
Message-ID: <201404251917.49826.luke@dashjr.org> (raw)
In-Reply-To: <CAE-z3OXe4fG2S274qcgpGsXA=ZhhJQneEDqLYvNWZT8U9y_NLA@mail.gmail.com>
I believe you meant to link here instead?
https://github.com/TierNolan/bips/blob/bip4x/bip-0046.mediawiki
This looks reasonable from a brief skim over, but does not define any use
cases (it mentions "necessary for atomic cross chain transfers", but does not
explain how it is useful for that - perhaps that belongs in another BIP you
haven't written yet, though). IMO, it should also require P2SH.
Luke
On Friday, April 25, 2014 6:49:35 PM Tier Nolan wrote:
> This is a BIP to allow the spender to choose one of multiple standard
> scripts to use for spending the output.
>
> https://github.com/TierNolan/bips/blob/bip4x/bip-0045.mediawiki
>
> This is required as part of the atomic cross chain transfer protocol. It
> is required so that outputs can be retrieved, if the process ends before
> being committed.
>
> https://bitcointalk.org/index.php?topic=193281.msg2224949#msg2224949
>
> The script allows multiple standard scripts to be included in the
> scriptPubKey.
>
> When redeeming the script the spender indicates which of the standard
> scripts to use.
>
> Only one standard script is actually executed, so the only cost is the
> extra storage required.
>
> A more ambitious change would be a soft fork like P2SH, except the spender
> is allowed to select from multiple hashes. Effectively, it would be
> "Multi-P2SH".
>
> This gets much of the benefits of MAST, but it requires a formal soft fork
> to implement.
>
> If there is agreement, I can code up the reference implementation as a PR.
> The multi-P2SH might actually be easier.
next prev parent reply other threads:[~2014-04-25 19:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-25 18:49 [Bitcoin-development] BIP - Selector Script Tier Nolan
2014-04-25 19:17 ` Luke-Jr [this message]
2014-04-25 19:58 ` Peter Todd
2014-04-25 20:05 ` Tier Nolan
2014-04-25 20:02 ` Tier Nolan
2014-04-25 20:13 ` Gregory Maxwell
2014-04-25 20:26 ` Luke-Jr
2014-04-25 20:48 ` Tier Nolan
2014-04-26 17:00 ` Mark Friedenbach
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201404251917.49826.luke@dashjr.org \
--to=luke@dashjr.org \
--cc=bitcoin-development@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox