From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Vneyg-0003vd-Fk for bitcoin-development@lists.sourceforge.net; Tue, 03 Dec 2013 01:40:42 +0000 Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of gmail.com designates 74.125.82.174 as permitted sender) client-ip=74.125.82.174; envelope-from=gavinandresen@gmail.com; helo=mail-we0-f174.google.com; Received: from mail-we0-f174.google.com ([74.125.82.174]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1Vneyf-0004ZE-He for bitcoin-development@lists.sourceforge.net; Tue, 03 Dec 2013 01:40:42 +0000 Received: by mail-we0-f174.google.com with SMTP id q58so12714068wes.5 for ; Mon, 02 Dec 2013 17:40:35 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.180.13.142 with SMTP id h14mr169672wic.3.1386034835247; Mon, 02 Dec 2013 17:40:35 -0800 (PST) Received: by 10.195.13.68 with HTTP; Mon, 2 Dec 2013 17:40:35 -0800 (PST) In-Reply-To: References: <5E4597E4-C1C7-4536-8CF0-82EDD7715DAB@plan99.net> <39921E12-B411-4430-9D56-04F53906B109@plan99.net> Date: Tue, 3 Dec 2013 11:40:35 +1000 Message-ID: From: Gavin Andresen To: Mike Hearn Content-Type: multipart/alternative; boundary=001a11c23dc2005a9404ec9762c8 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 (gavinandresen[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: plan99.net] 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: 1Vneyf-0004ZE-He Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Floating fees and SPV clients 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: Tue, 03 Dec 2013 01:40:42 -0000 --001a11c23dc2005a9404ec9762c8 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Dec 3, 2013 at 12:44 AM, Mike Hearn wrote: > PPv1 doesn't have any notion of fee unfortunately. I suppose it could be > added easily, but we also need to launch the existing feature set. > Lets bang out a merchant-pays-fee extension. How about: SPEC: optional uint64 allowfee tag number=1000 Allow up to allowfee satoshis to be deducted from the amount paid to be used to pay Bitcoin network transaction fees. A wallet implementation must not reduce the amount paid for fees more than allowfee, and transaction fees must be equal to or greater than the amount reduced. :ENDSPEC Rationale: we don't want wallet software giving users discounts-- sending transactions that are amount-allowfee without paying any fee. We also want to allow users to pay MORE in fees, if they need to (fragmented wallet, maybe, or big CoinJoin transaction) or decide to. PS: I think there was also consensus that the BIP72 request=... should be shortened to just r=... (save 6 chars in QR codes). Unless somebody objects, I'll change the BIP and the reference implementation code to make it so... -- -- Gavin Andresen --001a11c23dc2005a9404ec9762c8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On T= ue, Dec 3, 2013 at 12:44 AM, Mike Hearn <mike@plan99.net> wrot= e:
PPv1 doesn't have any notion of fee unfortunately. I s= uppose it could be added easily, but we also need to launch the existing fe= ature set.

Lets bang out a merchant-p= ays-fee extension.

How about:

SPEC:
=A0 =A0 optional uint64 allowfee =A0 =A0tag number=3D1000
=

Allow up to allowfee satoshis to be deducted from the a= mount paid to be used to pay Bitcoin network transaction fees. A wallet imp= lementation must not reduce the amount paid for fees more than allowfee, an= d transaction fees must be equal to or greater than the amount reduced.

:ENDSPEC

Rationale: we don'= ;t want wallet software giving users discounts-- sending transactions that = are amount-allowfee without paying any fee. =A0We also want to allow users = to pay MORE in fees, if they need to (fragmented wallet, maybe, or big Coin= Join transaction) or decide to.


PS: I think there was also consensus tha= t the BIP72 =A0request=3D... =A0 should be shortened to just r=3D... (save = 6 chars in QR codes). =A0Unless somebody objects, I'll change the BIP a= nd the reference implementation code to make it so...

--
--
Gavin Andresen

--001a11c23dc2005a9404ec9762c8--