From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1YLo7f-0001mB-Qn for bitcoin-development@lists.sourceforge.net; Thu, 12 Feb 2015 07:23:39 +0000 X-ACL-Warn: Received: from wp059.webpack.hosteurope.de ([80.237.132.66]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1YLo7e-0003Ye-BP for bitcoin-development@lists.sourceforge.net; Thu, 12 Feb 2015 07:23:39 +0000 Received: from [37.143.74.116] (helo=[192.168.0.100]); authenticated by wp059.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) id 1YLo7X-0006Mx-Kx; Thu, 12 Feb 2015 08:23:31 +0100 Content-Type: multipart/signed; boundary="Apple-Mail=_6AF86DB7-A65F-480B-B53C-73BF72E42679"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) From: Tamas Blummer In-Reply-To: <20150212064719.GA6563@savin.petertodd.org> Date: Thu, 12 Feb 2015 08:23:29 +0100 Message-Id: <7C171F0B-1EF8-4542-8E18-187B2E94DF14@bitsofproof.com> References: <20150212064719.GA6563@savin.petertodd.org> To: Peter Todd X-Mailer: Apple Mail (2.1878.6) X-bounce-key: webpack.hosteurope.de; tamas@bitsofproof.com; 1423725818; b7f44ccf; X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.237.132.66 listed in list.dnswl.org] 1.0 HTML_MESSAGE BODY: HTML included in message X-Headers-End: 1YLo7e-0003Ye-BP Cc: bitcoin-development@lists.sourceforge.net Subject: Re: [Bitcoin-development] replace-by-fee v0.10.0rc4 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: Thu, 12 Feb 2015 07:23:39 -0000 --Apple-Mail=_6AF86DB7-A65F-480B-B53C-73BF72E42679 Content-Type: multipart/alternative; boundary="Apple-Mail=_D8FEF80C-94D4-4862-B4C2-067BB662D07F" --Apple-Mail=_D8FEF80C-94D4-4862-B4C2-067BB662D07F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Peter, An important use of the core is being border router to proprietary = software, that is usually indexing the block chain and mempool. That = software is also assuming that double spends are not relayed by the = core. To remain useful as border router, the replace-by-fee patched core = should only relay double spend if it actually replaces an earlier = transaction, as otherwise the replace logic that is according to your = commit more than just fee comparison, would have to be replicated in the = proprietary stack and mempool might get out of sync with that of the = border router.=20 Tamas Blummer Bits of Proof --Apple-Mail=_D8FEF80C-94D4-4862-B4C2-067BB662D07F Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii
Peter,

An important use of the core is being border router to proprietary software, that is usually indexing the block chain and mempool. That software is also assuming that double spends are not relayed by the core.

To remain useful as border router, the replace-by-fee patched core should only relay double spend if it actually replaces an earlier transaction, as otherwise the replace logic that is according to your commit more than just fee comparison, would have to be replicated in the proprietary stack and mempool might get out of sync with that of the border router. 

Tamas Blummer
Bits of Proof
--Apple-Mail=_D8FEF80C-94D4-4862-B4C2-067BB662D07F-- --Apple-Mail=_6AF86DB7-A65F-480B-B53C-73BF72E42679 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJU3FTxAAoJEPZykcUXcTkcIbcH/RkFbGse38U76nnJ7CbYdAwP mcNdQlTryWsxVJ1T2Ff77p4sE9s26QFUhnIPxKpO8R6NB4FWg/0uYFFL57dlZKUt uxvg46sFRMdXRyPF9KIwfCXjVszPqX9opffhyQ/Ho4GiUzTClskL5ObtQ1vE16fQ 96QXaW5WSNVwwdGSdzlabnFHF9wYmAMJPRxZWV5pn8b64dqG7+J7dbHy40v4OgPR lYAo+TrYI3pMjPzUDB+3Ce3jatXCdlmCD8OIa0bLt3X17OSnI8ZTqSHpIXOYet75 DJQdqMnD72HSYhDydDefrAMS2UCFfOUDxjQouc46RHYnpMdTFw1zlU3Dd74B4j0= =hlsB -----END PGP SIGNATURE----- --Apple-Mail=_6AF86DB7-A65F-480B-B53C-73BF72E42679--