wallet icon indicating copy to clipboard operation
wallet copied to clipboard

Warn user when transactions are tagged for RBF

Open xbtdev opened this issue 11 years ago • 8 comments

Now that Opt-In RBF has been merged into Bitcoin Core, I would suggest an option in wallet settings "Require confirmation before displaying RBF transactions". I would suggest that this option be enabled by default, and users be warned when they try to disable it.

The user still needs to be alerted that an incoming transaction is being received, but it needs to be clearly distinguished from normal transactions. I would suggest the wallet home screen have a notification "Waiting for confirmation for reversible incoming transaction. Not safe until confirmed."

xbtdev avatar Nov 28 '15 22:11 xbtdev

Transactions are never safe until confirmed. RBF (even unconditional instead of opt-in) doesn't change that.

luke-jr avatar Nov 29 '15 01:11 luke-jr

To say that the probability of having an incoming transaction replaced by a double spend attempt is exactly equal in both non-RBF and RBF scenarios is disinegnuous.

If you consider any non-100%-safe thing as "unsafe", Then you must consider 1 confirmation as equally unsafe as unconfirmed... And 2 confirms... And 3 confirms... And so on and so on.

Security based on lowering probability of attack success to miniscule amounts is what POW and Bitcoin is based on, turn around and saying "any non-100% safe feature should be broken purposefully to prevent people from relying on it" would lead to the logical conclusion of "ok, break 1 confirm, now break 2 confirms... etc"

dabura667 avatar Nov 29 '15 03:11 dabura667

For the time being, I think the best thing we can do is ignore RBF transactions until they get 1 confirmation (at which point the user will get notified of the incoming tx). Adding extra messages and warnings to the UI will only increase complexity for non-expert users. If RBF transactions become the norm, we can review this policy.

isocolsky avatar Nov 30 '15 14:11 isocolsky

For the time being, I think the best thing we can do is ignore RBF transactions until they get 1 confirmation (at which point the user will get notified of the incoming tx). Adding extra messages and warnings to the UI will only increase complexity for non-expert users. If RBF transactions become the norm, we can review this policy.

That sounds reasonable.

xbtdev avatar Nov 30 '15 15:11 xbtdev

Knowing that a transaction is in mempool is useful, even with RBF. Maybe an advance option to show them with a special UX flag (exclamation mark or something) would be nice.

franamati avatar Jan 19 '16 15:01 franamati

+1 on ignoring RBF until 1st confirm.

dabura667 avatar Jan 19 '16 15:01 dabura667

JFYI, this is been worked out in Insight (first) then BWS and then Copay. It is not simple as it sounds since a non-RBF TX could depend (use unconfirmed inputs) from RBF TXs.

On Tue, Jan 19, 2016 at 12:33 PM, Dabura667 [email protected] wrote:

+1 on ignoring RBF until 1st confirm.

— Reply to this email directly or view it on GitHub https://github.com/bitpay/copay/issues/3546#issuecomment-172889695.

BitPay.com

matiu avatar Jan 19 '16 15:01 matiu

depends on https://github.com/bitpay/bitcore-wallet-service/pull/430

matiu avatar Jun 09 '16 02:06 matiu