Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 3F2B7AE0 for ; Wed, 11 Apr 2018 07:52:33 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from outmail148161.authsmtp.com (outmail148161.authsmtp.com [62.13.148.161]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 1CA8917E for ; Wed, 11 Apr 2018 07:52:31 +0000 (UTC) Received: from mail-c245.authsmtp.com (mail-c245.authsmtp.com [62.13.128.245]) by punt22.authsmtp.com. (8.15.2/8.15.2) with ESMTP id w3B7qSRm069305; Wed, 11 Apr 2018 08:52:28 +0100 (BST) (envelope-from pete@petertodd.org) Received: from petertodd.org (ec2-52-5-185-120.compute-1.amazonaws.com [52.5.185.120]) (authenticated bits=0) by mail.authsmtp.com (8.15.2/8.15.2) with ESMTPSA id w3B7qQxg054869 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 11 Apr 2018 08:52:27 +0100 (BST) (envelope-from pete@petertodd.org) Received: from [127.0.0.1] (localhost [127.0.0.1]) by petertodd.org (Postfix) with ESMTPSA id 139A1400D0; Wed, 11 Apr 2018 07:52:26 +0000 (UTC) Received: by localhost (Postfix, from userid 1000) id 73B0B203BB; Wed, 11 Apr 2018 03:52:25 -0400 (EDT) Date: Wed, 11 Apr 2018 03:52:25 -0400 From: Peter Todd To: Karl-Johan Alm , Bitcoin Protocol Discussion Message-ID: <20180411075225.GG20665@savin.petertodd.org> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3xoW37o/FfUZJwQG" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Server-Quench: 47a0f906-3d5d-11e8-a281-9cb654bb2504 X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCd2Yg0TA1ZNQRgX IjsJECJaVQIpKltL GxAVKBZePFsRUQkR aQdMdwMUGUUGAgsB Am4bW1xeVV97W2Q7 bghPaBtcak9QXgdq T0pMXVMcUwYaBl1g TkkeVx16cQwIcXx3 ZQhmWSFbCk16c1t+ FksACGwHMG99OWIX UV1RJFFSdQcYLB1A alQxNiYHcQ5VPz4z GA41ejw8IwAXBilK ChgQIEkOQEENBXYm Sh8LBzkuG0JNYyQo MyA8I1gHFU0NM0I0 WQAA X-Authentic-SMTP: 61633532353630.1039:706 X-AuthFastPath: 0 (Was 255) X-AuthSMTP-Origin: 52.5.185.120/25 X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system. X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Subject: Re: [bitcoin-dev] Few questions regarding ListTransaction X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Bitcoin Protocol Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2018 07:52:33 -0000 --3xoW37o/FfUZJwQG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 11, 2018 at 02:22:42PM +0900, Karl-Johan Alm via bitcoin-dev wr= ote: > Clarification on one part below: >=20 > On Wed, Apr 11, 2018 at 2:21 PM, Karl-Johan Alm > wrote: > > On Wed, Apr 11, 2018 at 5:29 AM, Maksim Solovjov via bitcoin-dev > > wrote: > >> 1. What does it mean for a transaction ( with 0 confirmations ) to be > >> trusted or not? > > > > It is trusted if (1) it is final (i.e. it can't be replaced), (2) it > > is not in a block that was reorged out (negative confirmation count), > > (3) the 'spend zero conf change' option is set, (4) it is in the > > mempool, and (5) all inputs are from us. >=20 > "can't be replaced" here means it cannot be replaced through > conventional means. It is always possible to replace a transaction > that has not yet been confirmed, e.g. by asking a miner to mine a > conflicting transaction directly. Or via full replace-by-fee, which appears to be used by a significant minor= ity of miners: https://github.com/petertodd/bitcoin/tree/replace-by-fee-v0.16.0 In practice transaction replacement by the sender for any transaction is ve= ry easy. --=20 https://petertodd.org 'peter'[:-1]@petertodd.org --3xoW37o/FfUZJwQG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJazb62AAoJECSBQD2l8JH7jWgIAKkyYLWyHmUdpm3JgSlFad9n Zm+e/xuykNCfIvVcF0XnWkG60BFPtHYCMr9YJdInchHpG+vWV0vnPSB90NBf0Vr8 Vy6zzBYVz5L1qab6O9uAO9EdBCng0e/PUJyHApQOKKjW9rJgRuU9aJU9Y7zrVzgW ye1Vq4WoJKFjn7WdrwCXM7pV/Dfh94SeCyjJrYBM9ABl1JxXM1qLetG9iGrr0lJE P2WdHPWwBRi515Fvzfbs0lD6omDDm6uE+4tB4ECXLWF6mhsVcMS4PwLuF1Y9/z8w 9kbvhV2fGKrrR7avIShaxyTOjzagtemY0LYWEv7lsuPP4WK6kpZCE4SIwMPB2gw= =FhPe -----END PGP SIGNATURE----- --3xoW37o/FfUZJwQG--