Hello, I have some tickets not voted more than 120 days open, someone can tell me how long they expire? Example: https://mainnet.decred.org/tx/abcca6a2ae51925e4d5a8ba885dd36bd1e41fc7a4ae31734be8ccd31c0aef757 Thank's
As ceejep said, but there may be other things related. Running testnet, I had some tickets missed, but the missed count did not change. Due to all restarts etc I forgot to unlock the wallet. So after unlock and rebroadcastmissed the count missed / revoked changed, but it still is not the same. There was ERR in log something about revocation using ticket xxx rejected already have transaction. Probably restore from seed would help me.
You can manually create, sign, and send the revocation. Code: createrawssrtx [{"txid":"your_ticket_hash","vout":n,"tree":1}] signrawtransaction <result_of_above> sendrawtransaction <result_of_above>
./dcrctl -u USER -P PASS createrawssrtx [{"txid":"abcca6a2ae51925e4d5a8ba885dd36bd1e41fc7a4ae31734be8ccd31c0aef757","vout":1,"tree":1}] createrawssrtx command: wrong number of params (expected between 1 and 2, received 3) (code: ErrNumParams) Usage: createrawssrtx [{"txid":"value","vout":n,"tree":n},...] (fee) Can you help me?
Almost there. Should be in quotes if not in terminal mode, and vout should be 0. Try: Code: ./dcrctl -u USER -P PASS createrawssrtx '[{"txid":"abcca6a2ae51925e4d5a8ba885dd36bd1e41fc7a4ae31734be8ccd31c0aef757","vout":0,"tree":1}]'
Ok. Next Step: ./dcrctl -u USER -P PASS --wallet signrawtransaction 010000000157f7aec031cd8cbe3417e34a7afc411ebd36dd85a88b5a4d5e9251aea2a6ccab0000000001ffffffff0165fc9d230000000000001abc76a9149bac99f6503e7b3be8d6725a5ea5d8512cf3c77788ac000000000000000001ffffffffffffffff00000000ffffffff00 Return: Post https://localhost:9110: EOF
Did wallet panic or report anything? EOF is usually returned if it crashes. Just tried creating and signing a raw revocation on testnet and it worked OK.
I also have some tickets that are stuck more than 4 months. Can someone please guide me through this process? If I get this right, first I should list tickets to get the ticket hashes, and then manually revoke them with the command ceejep provided above?
You won't need to do anything. Once (if) they expire, they will automatically be revoked and then after the coinbase maturity period (256 blocks) the original coin amount (minus whatever txfee was paid for the ticket) will be available to you again. However, keep in mind that the expiration period is 40960 blocks. That equates to roughly 4.7 months (closer to 5 than it is to 4).
Thank you @davecgh Is there a lower chance for very old tickets to be selected for voting? One of them I successfully voted with after 3 months.
No. Buying a ticket is actually buying a ticket to 40,960 lotteries. A lottery happens each block with approximately the same level of fairness (approximately because the total number of tickets in the ticket pool from which the ticket is being selected is not constant from block to block, although it is quite stable and is exactly what the ticket price is designed to stabilize). A ticket that became live in the current block has the same probability to be selected as one that became live 40959 blocks ago.