Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1We0pj-0007Kw-1w for bitcoin-development@lists.sourceforge.net; Sat, 26 Apr 2014 11:31:51 +0000 Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.216.54 as permitted sender) client-ip=209.85.216.54; envelope-from=tier.nolan@gmail.com; helo=mail-qa0-f54.google.com; Received: from mail-qa0-f54.google.com ([209.85.216.54]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1We0pi-00066Q-AK for bitcoin-development@lists.sourceforge.net; Sat, 26 Apr 2014 11:31:51 +0000 Received: by mail-qa0-f54.google.com with SMTP id w8so4665019qac.27 for ; Sat, 26 Apr 2014 04:31:44 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.229.112.5 with SMTP id u5mr18873976qcp.3.1398511904865; Sat, 26 Apr 2014 04:31:44 -0700 (PDT) Received: by 10.140.25.86 with HTTP; Sat, 26 Apr 2014 04:31:44 -0700 (PDT) In-Reply-To: References: <20140425201403.GA8994@savin> <20140425211426.GD8994@savin> Date: Sat, 26 Apr 2014 12:31:44 +0100 Message-ID: From: Tier Nolan To: Bitcoin Development Content-Type: multipart/alternative; boundary=001a11330a744dc3fe04f7f06d84 X-Spam-Score: -0.6 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tier.nolan[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1We0pi-00066Q-AK Subject: Re: [Bitcoin-development] BIP - Hash Locked Transaction X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Apr 2014 11:31:51 -0000 --001a11330a744dc3fe04f7f06d84 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, Apr 26, 2014 at 12:11 PM, Jorge Tim=C3=B3n wro= te: > script IsStandard > main IsStandardTx > main AcceptToMemoryPool > Accept to memory pool could probably be replaced with an IsStandard(scriptPubKey, scriptSig) method. The only "isStandard" part of the process is the check inputs method (and AcceptToMemoryPool calls IsStandardTx). The standard script methods at the moment are also used for extracting addresses for wallet management. The standard script check could be made easier if it just checked for pattern matches. Is there any objections to this change, other than it doesn't go far enough= ? --001a11330a744dc3fe04f7f06d84 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Sat, Apr 26, 2014 at 12:11 PM, Jorge Tim= =C3=B3n <jtimon@monetize.io> wrote:
script IsStandard
main IsStandardTx
main AcceptToMemoryPool

Accept to memory pool could probably be replac= ed with an IsStandard(scriptPubKey, scriptSig) method.=C2=A0 The only "= ;isStandard" part of the process is the check inputs method (and Accep= tToMemoryPool calls IsStandardTx).

The standard script methods at the moment are also used for extra= cting addresses for wallet management.

The standard script che= ck could be made easier if it just checked for pattern matches.

Is there any objections to this change, other than it doesn'= t go far enough?
--001a11330a744dc3fe04f7f06d84--