Jeff Garzik [ARCHIVE] on Nostr: 📅 Original date posted:2012-04-13 📝 Original message:On Fri, Apr 13, 2012 at ...
📅 Original date posted:2012-04-13
📝 Original message:On Fri, Apr 13, 2012 at 6:04 AM, Mike Hearn <mike at plan99.net> wrote:
> It sounds OK as long as you exclude nLockTimed transactions.
ACK, agreed
> That said, if you broadcast a transaction that does not meet the fee
> rules, you should be able to notice that it wasn't accepted by your
> peers immediately. Today it's painful because the protocol isn't very
> chatty - in bitcoinj I plan to do this by announcing to half the
> connected peers and waiting to see if the transaction comes back on
> the other half. Getting a response from a peer that the TX was dropped
> for reasons {x,y,z} is a better design but needs another protocol
> change.
>
> So having transactions expire would address the case where somebody
> broadcasts a transaction that successfully propagates across the
> network, but then isn't actually accepted by miners for some reason.
Correct. As mentioned, this change should impact few TXs on the
existing network.
It's mostly about getting everyone to collectively agree that
transactions should expire, if they don't make it into a block.
(excl. nLockTime stuff) A minor technical step, but also a useful
policy step.
> For instance due to a change in the default fee schedules. That risk
> can be mitigated somewhat by being careful about such changes (timed
> phase ins set multiple months out so people have time to upgrade,
> alerts announcing it, etc).
>
> I'm not sure we should be encouraging users to attach fees to
> transactions though. Even if you can replace a transaction after a
> couple of days, the user experience of trying to get the fee "right"
> is atrocious.
Yes -- I think there is near-universal agreement on this user experience point.
> I don't think any sensible merchant will actually be
> willing to put their customers through this nonsense. If somebody
> broadcasts a transaction that successfully propagates across a big
> chunk of the network but then gets stuck due to lacking sufficient
> fees, the best fix is for the merchant to broadcast another
> transaction that spends the first and increases the fees on it that
> way. After this happens a few times, if I was a merchant I'd be
> tempted to just ask buyers to submit the TX to me directly and I'll
> handle keeping up with what miners currently charge and attaching
> fees. I don't want my customers to have to think about this and have
> trades spuriously fail when they forget.
>
> That design requires a minor change to how fees are calculated inside
> the memory pool, to include fees on un-included dependencies. But that
> seems fairly uncontroversial to me. It's best for users, merchants and
> miners to not leave chains of transactions in limbo when together
> their fees add up to the minimum required amount.
So, to be specific... a A->B chain of transactions, that collectively
meet the network's fee requirements? It seems quite reasonable to
accept that, sure. ACK on concept. A chain of length 2 seems like it
would be most common, and limiting total chain length (to 10? 100?)
for any one chain in the memory pool seems prudent.
As to the larger issue of fees... I will readily admit I have no good ideas.
The user's experience is pretty poor: while it might make economic
sense, from the network's standpoint, to charge for the service of
verifying and storing a transaction, the user has limited means to
determine an ideal fee. There are also other valid economic models
(receiver pays fee) out there that may successfully sustain the
network.
Ideally the fee, if any, is market based and negotiated. The current
method is loose-consensus, mainly aimed at (a) combating dust spam or
(b) ensuring it becomes increasingly more expensive to fill a block,
up to the current 1MB maximum. I think almost everyone agrees the
current fee system is an ugly, warty hack. Problem is... like
democracy, no matter how ugly it is, people have trouble finding a
better system :)
Furthermore, many of these ideas -- like sending TX's directly to the
merchant -- involve far more direct payee<->payer communication on the
part of the wallet client than is currently envisioned by the bitcoin
P2P network design, which is broadcast-oriented. So, it remains an
open question whether we want the base bitcoin layer to even worry
about real-time fee negotiation and direct TX transmission.
It is possible that an instant-payments layer evolves on top of the
base bitcoin block chain layer, with bitcoin transactions evolving
largely into settlements between instant-payment intermediaries large
and small.
--
Jeff Garzik
exMULTI, Inc.
jgarzik at exmulti.com
Published at
2023-06-07 10:04:13Event JSON
{
"id": "9467cf3e8b3707f20ab161c073af94798f1eeeab06b75111fb6db130b0287323",
"pubkey": "b25e10e25d470d9b215521b50da0dfe7a209bec7fedeb53860c3e180ffdc8c11",
"created_at": 1686132253,
"kind": 1,
"tags": [
[
"e",
"5f0cc6578a9ca4b7b0857c070ede1826db3227f161e70524c04566da5c5a56a8",
"",
"root"
],
[
"e",
"9ae1be9645952056d0761b6d72efa045d12aaad33f4ed49a4f6a284ab608fd08",
"",
"reply"
],
[
"p",
"f2c95df3766562e3b96b79a0254881c59e8639f23987846961cf55412a77f6f2"
]
],
"content": "📅 Original date posted:2012-04-13\n📝 Original message:On Fri, Apr 13, 2012 at 6:04 AM, Mike Hearn \u003cmike at plan99.net\u003e wrote:\n\u003e It sounds OK as long as you exclude nLockTimed transactions.\n\nACK, agreed\n\n\u003e That said, if you broadcast a transaction that does not meet the fee\n\u003e rules, you should be able to notice that it wasn't accepted by your\n\u003e peers immediately. Today it's painful because the protocol isn't very\n\u003e chatty - in bitcoinj I plan to do this by announcing to half the\n\u003e connected peers and waiting to see if the transaction comes back on\n\u003e the other half. Getting a response from a peer that the TX was dropped\n\u003e for reasons {x,y,z} is a better design but needs another protocol\n\u003e change.\n\u003e\n\u003e So having transactions expire would address the case where somebody\n\u003e broadcasts a transaction that successfully propagates across the\n\u003e network, but then isn't actually accepted by miners for some reason.\n\nCorrect. As mentioned, this change should impact few TXs on the\nexisting network.\n\nIt's mostly about getting everyone to collectively agree that\ntransactions should expire, if they don't make it into a block.\n(excl. nLockTime stuff) A minor technical step, but also a useful\npolicy step.\n\n\u003e For instance due to a change in the default fee schedules. That risk\n\u003e can be mitigated somewhat by being careful about such changes (timed\n\u003e phase ins set multiple months out so people have time to upgrade,\n\u003e alerts announcing it, etc).\n\u003e\n\u003e I'm not sure we should be encouraging users to attach fees to\n\u003e transactions though. Even if you can replace a transaction after a\n\u003e couple of days, the user experience of trying to get the fee \"right\"\n\u003e is atrocious.\n\nYes -- I think there is near-universal agreement on this user experience point.\n\n\u003e I don't think any sensible merchant will actually be\n\u003e willing to put their customers through this nonsense. If somebody\n\u003e broadcasts a transaction that successfully propagates across a big\n\u003e chunk of the network but then gets stuck due to lacking sufficient\n\u003e fees, the best fix is for the merchant to broadcast another\n\u003e transaction that spends the first and increases the fees on it that\n\u003e way. After this happens a few times, if I was a merchant I'd be\n\u003e tempted to just ask buyers to submit the TX to me directly and I'll\n\u003e handle keeping up with what miners currently charge and attaching\n\u003e fees. I don't want my customers to have to think about this and have\n\u003e trades spuriously fail when they forget.\n\u003e\n\u003e That design requires a minor change to how fees are calculated inside\n\u003e the memory pool, to include fees on un-included dependencies. But that\n\u003e seems fairly uncontroversial to me. It's best for users, merchants and\n\u003e miners to not leave chains of transactions in limbo when together\n\u003e their fees add up to the minimum required amount.\n\nSo, to be specific... a A-\u003eB chain of transactions, that collectively\nmeet the network's fee requirements? It seems quite reasonable to\naccept that, sure. ACK on concept. A chain of length 2 seems like it\nwould be most common, and limiting total chain length (to 10? 100?)\nfor any one chain in the memory pool seems prudent.\n\nAs to the larger issue of fees... I will readily admit I have no good ideas.\n\nThe user's experience is pretty poor: while it might make economic\nsense, from the network's standpoint, to charge for the service of\nverifying and storing a transaction, the user has limited means to\ndetermine an ideal fee. There are also other valid economic models\n(receiver pays fee) out there that may successfully sustain the\nnetwork.\n\nIdeally the fee, if any, is market based and negotiated. The current\nmethod is loose-consensus, mainly aimed at (a) combating dust spam or\n(b) ensuring it becomes increasingly more expensive to fill a block,\nup to the current 1MB maximum. I think almost everyone agrees the\ncurrent fee system is an ugly, warty hack. Problem is... like\ndemocracy, no matter how ugly it is, people have trouble finding a\nbetter system :)\n\nFurthermore, many of these ideas -- like sending TX's directly to the\nmerchant -- involve far more direct payee\u003c-\u003epayer communication on the\npart of the wallet client than is currently envisioned by the bitcoin\nP2P network design, which is broadcast-oriented. So, it remains an\nopen question whether we want the base bitcoin layer to even worry\nabout real-time fee negotiation and direct TX transmission.\n\nIt is possible that an instant-payments layer evolves on top of the\nbase bitcoin block chain layer, with bitcoin transactions evolving\nlargely into settlements between instant-payment intermediaries large\nand small.\n\n-- \nJeff Garzik\nexMULTI, Inc.\njgarzik at exmulti.com",
"sig": "5e44f0877eba45e448334730d176bd1635db9e18d9166c5bd4896d3b946d8bab19b60a88707ee61c2d82b33dba018056708d52e4f0cd396c013c99820e7e29da"
}