public inbox for bitcoindev@googlegroups.com
 help / color / mirror / Atom feed
From: gronager@mac•com
To: Eric Lombrozo <elombrozo@gmail•com>
Cc: Bitcoin Dev <bitcoin-development@lists•sourceforge.net>
Subject: Re: [Bitcoin-development] Zero-length scripts
Date: Thu, 13 Dec 2012 10:00:55 +0100	[thread overview]
Message-ID: <833554E8-0732-46D2-88BE-D8BA98325C4C@mac.com> (raw)
In-Reply-To: <A08D9088-82EE-4F67-B260-8AF5CB1D15A6@gmail.com>

Normally I would consider it an error of the parsing script of blockchain (seen that before), however, this seems genuine enough.

the second transaction is the most amusing - it has an output script which is:
OP_HASH256 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f OP_EQUAL

The hash is the most famous bitcoin hash... - so if you can come up with something that, when hashed with sha256 yields the genesisblock hash you can claim one BTC ;)

It is actually very easy to do (!), however, it is a game only for miners, as non_standard transactions are not relayed between standard clients. So now a miner can have a go creating a transaction redeeming this 1BTC.

Perhaps, Eligius creating that block, might be playing a little christmas game :)

Cheers,

Michael

On 12/12/2012, at 23:09, Eric Lombrozo <elombrozo@gmail•com> wrote:

> I've noticed a few transactions that have zero-length input and/or output scripts. There's a couple examples in block 0000000000000159a27442ee8b7f9ffad0cd799b003eafe007de9fbb47bd6ce7:
> 
> Txs: cdb553214a51ef8d4393b96a185ebbbc2c84b7014e9497fea8aec1ff990dae35, af32bb06f12f2ae5fdb7face7cd272be67c923e86b7a66a76ded02d954c2f94d
> 
> 
> Is there ever a legitimate reason to create a transaction with a zero-length script? Should the protocol even allow it?
> 
> -Eric Lombrozo
> 
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d_______________________________________________
> Bitcoin-development mailing list
> Bitcoin-development@lists•sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bitcoin-development

Michael Grønager
Jens Juels Gade 33
2100 Copenhagen E
DENMARK
Mobile: +45 31 45 14 01
E-mail: gronager@mac•com






      reply	other threads:[~2012-12-13  9:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-12 22:09 Eric Lombrozo
2012-12-13  9:00 ` gronager [this message]

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=833554E8-0732-46D2-88BE-D8BA98325C4C@mac.com \
    --to=gronager@mac$(echo .)com \
    --cc=bitcoin-development@lists$(echo .)sourceforge.net \
    --cc=elombrozo@gmail$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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