-
Notifications
You must be signed in to change notification settings - Fork 127
Description
Buying Tickets with dcrwallet page has a dangerous instruction:
To purchase tickets with their voting rights delegated to a VSP, we use the
purchaseticketcommand.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).