leather-io / extension

Leather browser extension
https://leather.io
MIT License
295 stars 141 forks source link

Show microblocks as a state of pending rather than confirmed #3111

Closed 314159265359879 closed 1 year ago

314159265359879 commented 1 year ago

https://github.com/hirosystems/stacks-wallet-web/issues/2944#issuecomment-1411816492 a quick fix to resolve confusion about microblock confirmations would be to display them as an advanced stage of pending rather then confirmation.

Something like this in the activities tab: image

See also: https://github.com/hirosystems/stacks-wallet-web/issues/3110

Should be revisited after with nakamoto-release.

Hero-Gamer commented 1 year ago

why do you even need to tell people it's in microblock. It's either "Confirmed" or "pending" no? from the wallet perspective. Maybe in explore have more details re microblock? idk just thinking out aloud

Hero-Gamer commented 1 year ago

hypothetically speaking if there were 3 stages of tx (microblock, middle block, anchor block), we don't need to tell everybody everything technically correct to a user. Do we? It's either confirmed, or not confirmed (pending).

markmhendrickson commented 1 year ago

Let's tackle this on https://github.com/hirosystems/stacks-wallet-web/issues/3110 by clarifying what microblocks means as a state for users. Longer term this year with Nakamoto, they should become much more effective so I'd rather not take them out for now (since we may then have to put them back in)

Hero-Gamer commented 1 year ago

It's either "confirmed", or "pending".

markmhendrickson commented 1 year ago

Transactions in microblocks as they're currently implemented do have a stronger probability of inclusion in the next anchor block vs. transactions that are simply pending. So I'm thinking our clarification for the current implementation could be something along the lines of explaining this e.g. in a tooltip ("This transaction has been included in a microblock, which means it hasn't confirmed yet but has a higher likelihood of confirming in the next anchor block.").