On Tue, Dec 3, 2013 at 11:36 AM, Drak wrote: > I dont like the idea of putting the min fee in the hands of the receiver. > Seems like that will work against the best interests of senders in the long > run. > Senders have no interest in ever attaching any kind of fee, which is one reason we explored child-pays-for-parent for a while. It's not the sender who cares about double spending risk. Left to their own devices, all senders would always attach no fee at all (or rather: whatever the min was to get the transaction relayed to the merchant). However, receivers do want a fee attached, and ideally we would do this without redundant transactions. Hence, receivers asking senders to attach a fee and effectively folding it into the price that is paid. That is, if you go into a restaurant and the menu says "Burger: 10mBTC" then when you come to pay, what you see on your phone screen is 10mBTC. The fact that actually the shop with receiver 9.9mBTC and the tx fee is 0.1mBTC is hidden in the user interface - creating a situation like many others, where receivers eat a transaction cost. For instance in Europe sales taxes are included in the price, not attached separately later. There's no need to trust the vendor. If a vendor asks for a ridiculously high tx fee, it will just surface as uncompetitively priced goods/services. Buyers will go elsewhere. > Why not try a different path of calculating the min fee like difficulty > retarget. You can analyse the last 2016 blocks to find the average fee > accepted per kb (which would include transactions that were included > without fees) and then write that into the block as a soft recommendation > that wallets could use in the UI. This way the price can vary up and down > according to what people were willing to spend on fees and miners willing > to accept. > That's what fee estimation does, essentially, minus the encoding into blocks. Once you start getting miners telling people what fees are directly you run into cases where they might try to lie about their behaviour or otherwise influence the average. Querying all nodes avoids that problem.