Skip to content
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

vspd staking with dcrctl is not supported yet #1182

Open
xaur opened this issue Aug 3, 2021 · 0 comments
Open

vspd staking with dcrctl is not supported yet #1182

xaur opened this issue Aug 3, 2021 · 0 comments

Comments

@xaur
Copy link

xaur commented Aug 3, 2021

Buying Tickets with dcrwallet page has a dangerous instruction:

To purchase tickets with their voting rights delegated to a VSP, we use the purchaseticket command.

Note: For v1.6.0, if you have set the VSP options within your dcrwallet.conf file, you need only pass the name of the account you intend to spend from, and the spend limit which specifies the highest ticket price you are willing to pay:

dcrctl --wallet purchaseticket "default" 160

I did it in dcrwallet v1.6.3 and this command does purchase tickets but does not assign them to the vspd configured in dcrwallet.conf. Whoever follows this will have those tickets left unmanaged and eventually missed (unless advanced workarounds are executed).

One way to buy tickets with dcrwallet that works in v1.6.3 is to configure the vsp.* options and use the auto ticketbuyer. Let's recommend that for now until dcrwallet is updated (decred/dcrwallet#2064). Mind that enableticketbuyer=1 config snippet needs to be replaced with --enableticketbuyer CLI flag as mentioned in #1181.

One workaround to "fix" tickets bought this way is to build decred/dcrwallet#2075 (with this branch of dcrctl) and run dcrctl --wallet processunmanagedticket <tickethash>. Another workaround is to use Decrediton for it (just a guess, I did not test it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant