decred / decrediton

Cross-platform GUI for Decred.
https://docs.decred.org/wallets/decrediton/decrediton-setup/
ISC License
195 stars 120 forks source link

[Tickets] Purchase new Tickets should check first if VSP is closed #3795

Open IWantMoreDecred opened 2 years ago

IWantMoreDecred commented 2 years ago

I just bought a new ticket on this VSPD and it let me, even though the VSP is closed.

https://vspd.synergy-crypto.net/

image

It was only afterwards, when i had clicked on the details of my ticket in decrediton & pushed the "Fetch VSP Ticket Status" button that i realized that they were closed. So now i have to wait for this dud ticket to get called.

So what if the process of purchasing a ticket first checked the Status of a VSP to see if they are down. Maybe when you select that VSP from list of VSPs or any time you go tab for buying tickets, have decrediton always auto-check VSP closed/open status prior to purchase to reduce accidentally buying duds.

Another idea that can also help this kind of situation is to simply let a person with a dud ticket have an option in the details of the ticket.. a button to "MOVE Ticket to Different VSP", since fee wasn't paid. then when you click that and select another, then it will move that ticket to them, pay gas again, but this time the VSP fee will actually go through on the new one selected to lock it in. Only allow "Move" function when vsp fee has not been paid & vsp is closed. image ticket that is a dud because it was bought after https://vspd.synergy-crypto.net/ closed. https://dcrdata.decred.org/tx/a9324fb16a31973c71c76bddce4f8f868d207b513ad82ece71132ad1e4bcccd4

alexlyp commented 1 year ago

Unfortunately there is no easy way to check if a VSP is closed or not. This will require some work elsewhere