-
Notifications
You must be signed in to change notification settings - Fork 990
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proposed wallet changes #2520
Comments
Why would you remove an output/tx that have already appeared on chain? 🤔 |
Meant ‘Awaiting finalization’, will change |
@yeastplume does that imply that we would have smth like grin/wallet/src/libwallet/types.rs Lines 559 to 572 in 130675e
In this case TxSent would become TxFinalized after it appears on the chain.
|
Fixed by mimblewimble/grin-wallet#8. |
Am thinking about making the following changes to the way the wallet handles outputs:
Currently, when a wallet creates an output to receive funds, it creates the output as ‘unconfirmed’ and adds it to the wallet total (overall total, not spendable amount). I propose not adding it to any totals, instead displaying these amounts separately as ‘Awaiting Finalization’ or something that implies these outputs are now awaiting someone else’s actions before they will appear confirmed. This will also include change outputs.
Outputs currently being displayed as ‘awaiting confirmation’ should only be outputs that have appeared on the chain, but have fewer than the default number of confirmations (currently 10 blocks). All others will be included in the ‘Awaiting finalization’ state described above
‘grin wallet check’ will no longer remove outputs/transactions that are in the ‘Awaiting finalization ’ by default. A flag can be added to remove them, or other options will be provided to clear them out (such as provide a command to return a list of all transactions associated with said outputs, making it easier to clear them
manually.
Putting this here for thought and discussion, would be grateful to hear suggestions from everyone, especially now we’ve all had a couple of weeks of real-world wallet use
The text was updated successfully, but these errors were encountered: