Guide icon indicating copy to clipboard operation
Guide copied to clipboard

Pending transactions: vague time frames instead of precise number of minutes

Open paulosacramento opened this issue 3 years ago • 3 comments

Hello, I would like to know your opinion about a possible addition to the Activities page.

I was reading Patricia's research today and found an interesting suggestion.

As we all know, the confirmation time for an on-chain transaction can vary a lot, specially if the user decides to pay a lower fee.

At the same time, a lot of users may have an expectation of having their transactions cleared in about 10 minutes.

To avoid frustration, it may be a good idea to give a vague time frame for when the transaction should be confirmed, instead of an precise number of minutes.

An example: Instead of

  • Pending - 12 minutes

Maybe it would be better to have something like

  • Pending - Around half an hour

What do you think about that?

paulosacramento avatar May 29 '22 15:05 paulosacramento

That's a good point. The "12 minutes" featured in this section is an oddly specific number.

On the one hand, if it's been 8 minutes since the last block was mined, wallet software can take an educated guess that the next block will be in 2 minutes. However, there's no certainty in that. Sometimes we randomly get blocks after only 3 minutes, and sometimes a block might take 20 minutes to arrive if there is a sudden drop in hashrate. So I think it's safer to not try and estimate these so precisely.

One convention I have seen is to use the tilde symbol.

~10 minutes
~20 minutes
Etc.

Another convention I have seen is to just use a flat "Pending".

Regardless, sees like better practice to under-promise and over-deliver. Better to prepare the user with a vague timeframe and then have funds confirms quicker than expected rather than to try and estimate it with a false degree of precision.

Screen Shot 2022-06-13 at 6 48 07 AM

IMG_6419

sbddesign avatar Jun 13 '22 10:06 sbddesign

~ will do the job here. We already use it for fee estimates.

GBKS avatar Jun 16 '22 14:06 GBKS

Excellent!

paulosacramento avatar Jun 17 '22 05:06 paulosacramento

Addressed here https://bitcoin.design/guide/daily-spending-wallet/sending/#fees

pavlenex avatar Nov 22 '22 11:11 pavlenex