From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 3E5A5D37 for ; Wed, 11 Apr 2018 09:48:49 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail5.protonmail.ch (mail5.protonmail.ch [185.70.40.28]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 7381262A for ; Wed, 11 Apr 2018 09:48:48 +0000 (UTC) Date: Wed, 11 Apr 2018 05:48:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=default; t=1523440123; bh=6goPzvx1cktQSvA0aUuCcoTcNR59GWShEXDOy7GyH+o=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References: Feedback-ID:From; b=eqD3RPjfz+Xs4be41Upg6evXGwA0peEXyzpfVVjXDbyeJkkI942AEF9K37U2GFpB/ N0E+RmoqNkI2rZinY5yQqoB6+gcMYFwKhJjO1/uoXND6pTMndVmUpzybCIiJyQakde wVoAMkB3gMCc8CjFl7S3nnk95vIDtRBzT0EsieZA= To: Peter Todd , Bitcoin Protocol Discussion From: ZmnSCPxj Reply-To: ZmnSCPxj Message-ID: In-Reply-To: <20180411093724.GA21441@savin.petertodd.org> References: <20180411075225.GG20665@savin.petertodd.org> <20180411093724.GA21441@savin.petertodd.org> Feedback-ID: el4j0RWPRERue64lIQeq9Y2FP-mdB86tFqjmrJyEPR9VAtMovPEo9tvgA0CrTsSHJeeyPXqnoAu6DN-R04uJUg==:Ext:ProtonMail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, FROM_LOCAL_NOVOWEL, 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 X-Mailman-Approved-At: Wed, 11 Apr 2018 14:08:12 +0000 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 09:48:49 -0000 Good morning Karl-Johan Alm, To clarify: Nothing prevents a miner from completely ignoring nSequence when putting tr= ansactions in blocks. Unconfirmed transactions are, by definition, not recorded in blocks. So if= there is a transaction 0xFFFFFFF nSequence and fee 1000 satoshi, and anoth= er conflicting transaction 0xFFFFFFF nSequence and fee 100000000 satoshi, m= iners can include the latter one even if the first one came to their knowle= dge first, regardless nSequence. Thus, in the end "full replace-by-fee", where nSequence is IGNORED for purp= oses of replace-by-fee, is expected to become the norm, and we should reall= y be designing our wallets and so on so that we only trust transactions tha= t have confirmations. The "nSequence=3D0xFFFFFFFF means opt-OUT of RBF" convention is only follow= ed by fullnodes running standard bitcoind. Nothing prevents miners from ru= nning patched bitcoind that ignores this rule, and connecting with similar = peers who also ignore this rule. Regards, ZmnSCPxj =E2=80=8BSent with ProtonMail Secure Email.=E2=80=8B =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On April 11, 2018 5:37 PM, Peter Todd via bitcoin-dev wrote: > On Wed, Apr 11, 2018 at 05:10:43PM +0900, Karl-Johan Alm wrote: >=20 > > On Wed, Apr 11, 2018 at 4:52 PM, Peter Todd pete@petertodd.org wrote: > >=20 > > > Or via full replace-by-fee, which appears to be used by a significant= minority > > >=20 > > > of miners: > >=20 > > I was of the impression that final transactions (sequence=3D0xffffffff) > >=20 > > cannot be RBF'd. >=20 > My full-replace-by-fee tree ignores that. It also does preferential peeri= ng to >=20 > ensure it's well connected with likewise peers, and thus the whole networ= k. >=20 >=20 > -------------------------------------------------------------------------= ---------------------------------------------------------------------------= ----------- >=20 > https://petertodd.org 'peter'[:-1]@petertodd.org >=20 > bitcoin-dev mailing list >=20 > bitcoin-dev@lists.linuxfoundation.org >=20 > https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev