investigate methods to backup the redeem script
If both a stake pool and a user lose the script, there really isn't a good way to reconstruct it at the moment.
This should at least be documented until a solution is implemented.
I looked into this a bit. In the end you need the user's pubkey, that we don't store. So any attempt to recreate the script would require that information. If the user can provide that key, and the multisig address they gave voting rights too, which is the redeem script's public address, we can find the address we used to make the original redeem script by looping through our known addresses creating multisigs until we find a match. This is doable for address that have already voted, but for an address that hasn't voted even once yet we would need to probe unused addresses to some index number while searching. I'm sorry to butcher terms.
Edit: Actually I looks like we do save the pubkey address in the db. As long as the db data is intact we could produce the script. But we save the script too, so loosing one would probably mean we lost the other.
I believe to fundamentally fix the problem something like https://github.com/decred/dcrwallet/issues/1217 is needed.
I agree @xaur and that's where I will be spending my time.... When I have some.
@JoeGruffins time is tricky indeed, but when you realize you want it, the allocation happens.
I currently have an expired ticket where the vsp dropped out and I did not backup my redeem script.(yes stupid I know) My wallet shows the expired ticket, but I do not have access to the DCR used to purchase it. Is there a way for me to retrieve my lost DCR without have the redeem script? Any help would be appreciated
@cball321 please join support on matrix: https://matrix.to/#/!dhHYPTtCtvPSUfTepT:decred.org?via=decred.org&via=matrix.org&via=zettaport.com Let me know if that link doesn't work.
@cball321 out of curiosity what was the VSP?
Sorry, I do not remember. I didn't keep the records I should have.
I did get this resolved with the help of DCR support.