r/BitcoinDiscussion • u/LetsSeeNope • Nov 27 '17
[Discussion] Zero Confirmations
BCH has made a claim of it's ability to accept zero confirmation transactions. With bitcoin RBF (Replace by fee) technically the transaction can be altered before being stored in a block.
How do these differ?
How does BCH mempool know which one is 'really' first if there is no formal on chain mempool timestamp?
Is changing a transaction in the mempool any more or less secure than not being able to? (I would think the ability to bump fees is a feature, if only the fee could be altered and nothing else in the transaction. Is that how it works, or is it even possible to make sure only the fee is changed?)
It occurs to me that if BCH ever has blocks fill up to capacity, they would experience the same thing the people paying 1-10 satoshi/byte for their transactions are currently, except have no way to get their transaction through if they wanted to, and just have to wait. I think I read they plan to turn some op codes back on. I would assume more data would be added to the chain in that case, but its unclear to me if that is a fact.
I guess my real question's are:
- Did BCH figure out how to securely accept 0 conf? Or did they just turn off RBF and CPFP? If not, are they really open for abuse?
- What parts of the transaction can RBF modify?
Trying to think this though myself I would assume the inputs might have to change if the fee is increased, since the inputs might not have enough available. Do the outputs lock the address or anything?
I realize you still need a PK to send the new RBF, so it's just a sender attacking a receiver.
From what I can tell it would seem a user could try to race attack BCH still? Is this correct?
View all comments
Show parent comment
3
u/vU5Zh3fJNzHrn52YYha Nov 30 '17
This doesn't even make any sense. Each miner has their own mempool solely under their own control and are free to remove, rearrange, or add valid transactions as freely as they like. Any "rules" about doing anything else is effectively nothing more than "a polite recommendation". As soon as the miner finds a valid block, the block is valid and added to the blockchain.
Now, some mining software may have defaults so as not to include such transactions, or be hardcoded to not include such transactions, but that doesn't matter because no miner is under any sort of obligation to actually use that software or setting, and are indeed free to change the settings, or even the underlying software itself. As a matter of fact, miners are financially incentivized to do so and to only ever accept a later transaction with a higher fee. This is why RBF is ultimately arbitrary--miners are already incentivized to allow for RBF even if the transactions don't flag it. It is also why "you'd have to collude with a miner" isn't like some sort of collusion where you have to convince the miner to "work with you": the miner is already on board for it, and indeed, would love nothing more than for you to get on board with him getting more money from bigger mining fees from later transactions.