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 0A9E788A for ; Sat, 28 Jan 2017 18:35:01 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 4EE87196 for ; Sat, 28 Jan 2017 18:35:00 +0000 (UTC) Received: by mail-wm0-f47.google.com with SMTP id c85so159721953wmi.1 for ; Sat, 28 Jan 2017 10:35:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=FKIwHoVN5PG5c/GYGrknIROA2q24XMcC9PTF498qs4M=; b=D2xJgwovFVWciYsHc4jaJ/g+xP5C02NFCa75tZVd3mlljSCmBxCFWxRytzqyI/e7Em agCk5zd+0Fd8cKKA1//RLmPW6W5Q89KDNpcriQsBKRYujSPFJ9z1qYPeTmGRZzvvHaJI 786zmYQA0AIAoeddIosh0IIM1eRuKT+DfdruzVVnWc4bRbXgCfNVPGaUHtQsbXs4RW0h MInBHTbbtU8dGm3PucyutS/SvXoal2m7wc97Q6XOqzn+73l+r3swsfF9lc0LbYooiXxJ 82xqj55L7EdoY3hpjXPvRKya1jeyRgtsDMSTTHAhXE0jrK5HVSpxLeB8DYql1JJzZqix N1DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=FKIwHoVN5PG5c/GYGrknIROA2q24XMcC9PTF498qs4M=; b=SGRk4ud2hniGnMGQhe/AE8WPXjOqAQFxYIy8qgUs5f3RWGhxb7CBicmFqVfeN/6Po3 OA4JPK0m+jzgTGakOnPsIGvCsqzqFiBWa4siaLAmHf0YbbHcM/bmtpxQXsJ1C6B/SItZ 9rWl56jbURFfJyZWoSk7ccKzvzzRheBJtJwgaprqxeLbNQRuOdaEGhOoKQyijySyRtqH I9h//3SGqBGcuhTAa62KuwqFhgGMCgz8vzPKRcQj/f5WpnKbjfq30Sy8oCeZiTUb92D1 UdemJ7TopVRMvLu2RMiq/vUJSpOZPtB6q5L6lIOjxKaS2rHZiczdKhUYvtcvHA9rfpL/ 0Sag== X-Gm-Message-State: AIkVDXIeG+N/PQRhYQLtZJRCbohXmqYTlecG3e4RPPQKaKdCxQZvKBpGu2DDrgtWbICxfcgLkQ5aK8H9IJhoqQ== X-Received: by 10.28.132.9 with SMTP id g9mr8593361wmd.28.1485628498823; Sat, 28 Jan 2017 10:34:58 -0800 (PST) MIME-Version: 1.0 Sender: akaramaoun@gmail.com Received: by 10.28.226.134 with HTTP; Sat, 28 Jan 2017 10:34:58 -0800 (PST) In-Reply-To: <20170112195830.GA5663@savin.petertodd.org> References: <2ac49fb0-ff79-5cb9-7b92-14ec791ecc45@dyne.org> <20170112195830.GA5663@savin.petertodd.org> From: Andrew Date: Sat, 28 Jan 2017 18:34:58 +0000 X-Google-Sender-Auth: DSBzLS-0pEIpgTKoEYcM3oGVoGw Message-ID: To: Peter Todd , Bitcoin Protocol Discussion Content-Type: text/plain; charset=UTF-8 X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Subject: Re: [bitcoin-dev] Transaction Replacement by Fee 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: Sat, 28 Jan 2017 18:35:01 -0000 Hi, recently been trying to get RBF working on a multisig input. I set the nSequence to 0, but script didn't verify (used python-bitcoinlib). Should it work for this type of transaction? I am using the SignatureHash(...) method of signing, not rpc.signrawtransaction(...). Thanks On Thu, Jan 12, 2017 at 7:58 PM, Peter Todd via bitcoin-dev wrote: > On Thu, Jan 12, 2017 at 09:13:23AM -0500, Greg Sanders via bitcoin-dev wrote: >> BIP125 is the standard way to signal: >> https://github.com/bitcoin/bips/blob/master/bip-0125.mediawiki >> >> Should explain everything you need. > > Additionally some miners mine full replace-by-fee, which has no limitations on > nSequence. My implementation (for v0.13.2) is here: > > https://github.com/petertodd/bitcoin/tree/replace-by-fee-v0.13.2 > > and is identical to Bitcoin Core modulo the nSequence stuff being removed, and > a special service bit added to allow full-rbf nodes to preferentially peer with > each other to make sure replacement transactions get propagated. > > In practice full-RBF works fairly well, so while it's even faster to use the > nSequence signalling specified in BIP-125, doing so is not mandatory so long as > you can et your replacement transaction to a full-RBF node. > > -- > https://petertodd.org 'peter'[:-1]@petertodd.org > > _______________________________________________ > bitcoin-dev mailing list > bitcoin-dev@lists.linuxfoundation.org > https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev > -- PGP: B6AC 822C 451D 6304 6A28 49E9 7DB7 011C D53B 5647