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

I have several live tickets, they are not showing on the Tickets page #593

Open
dema501 opened this issue Feb 19, 2020 · 11 comments
Open

I have several live tickets, they are not showing on the Tickets page #593

dema501 opened this issue Feb 19, 2020 · 11 comments

Comments

@dema501
Copy link

dema501 commented Feb 19, 2020

Screen Shot 2020-02-18 at 5 43 40 PM

dcrstakepool -V
dcrstakepool version 1.5.0 (Go version go1.13.5 freebsd/amd64)

tail -f /var/log/dcrstakepool.log

Screen Shot 2020-02-18 at 10 23 28 PM

stakepoold -V
stakepoold version 1.5.0 (Go version go1.13.1 freebsd/amd64)

tail -f /var/log/stakepoold.log

Screen Shot 2020-02-18 at 10 23 18 PM

@dema501 dema501 changed the title have several live tickets, they are not showing on the Tickets page I have several live tickets, they are not showing on the Tickets page Feb 19, 2020
@JoeGruffins
Copy link
Member

JoeGruffins commented Feb 19, 2020

Is this after updating?

Can you try dcrctl --wallet stakepooluserinfo DC...WG on a voting wallet?

And then:
dcrctl --wallet listscripts | jq '.[] | map(select(.address=="DC...WG"))'

@dema501
Copy link
Author

dema501 commented Feb 19, 2020

@JoeGruffins yes, after updating

Screen Shot 2020-02-19 at 7 39 43 AM

Screen Shot 2020-02-19 at 7 41 43 AM

@JoeGruffins
Copy link
Member

JoeGruffins commented Feb 19, 2020

Can you double check your dcrwallet.conf. Make sure that stakepoolcoldextkey=xpub:10000 is set correctly and that promptpass is on.

And for good measure, do a wallet rescan from block 400000ish

@dema501
Copy link
Author

dema501 commented Feb 19, 2020

@JoeGruffins
after adding stakepoolcoldextkey=xpub:10000 to dcrwallet.conf

I've got this

DCRW: Failed to open wallet: loader.OpenExistingWallet:: wallet.Open: the provided serialized extended key length is invalid

@JoeGruffins
Copy link
Member

JoeGruffins commented Feb 19, 2020

Did you replace "xpub" with your fee-receiving extended public key? This pattern wasn't already somewhere in your dcrwallet.conf?

The key itself must match the one in your dcrstakepool.conf and stakepoold.conf, plus the :10000 at the end. It's called coldwalletextpub in those. So same key in three places.

@dema501
Copy link
Author

dema501 commented Feb 20, 2020

Did you replace "xpub" with your fee-receiving extended public key? This pattern wasn't already somewhere in your dcrwallet.conf?

I don't have anywhere in config

root@host:~ # grep stakepoolcoldextkey /usr/jails/VOTINGWALLET/usr/local/etc/*.conf
/usr/jails/VOTINGWALLET/usr/local/etc/dcrwallet.conf:;stakepoolcoldextkey=xpub:10000

@JoeGruffins
Copy link
Member

JoeGruffins commented Feb 20, 2020

Ok, put it in. This is an example from testnet:
stakepoolcoldextkey=tpubVp2kdbZrW8ftwax4frjXp12mUMDmhopdhfuG2JAW8a8Z22a t4uqGiwFenEzY8uVhJ3nGsfVFTFtKbnkEPuxYsp3rZYb:10000

Again, this must be the same key that is coldwalletextpub in stakepoold and dcrstakepool confs.

@dema501
Copy link
Author

dema501 commented Feb 20, 2020

@JoeGruffins
Could you please check does it looks right?

grep cold /usr/jails/VOTINGWALLET/usr/local/etc/*.conf

/usr/jails/VOTINGWALLET/usr/local/etc/dcrwallet.conf:stakepoolcoldextkey=dpubZ***TCYPTqB:10000
/usr/jails/VOTINGWALLET/usr/local/etc/stakepoold.conf:coldwalletextpub=dpubZ***TCYPTqB

it's kind of inconsistent settings
stakepoolcoldextkey with :1000
coldwalletextpub without :1000

@dema501
Copy link
Author

dema501 commented Feb 20, 2020

@JoeGruffins config changes + rescan helps
Thanks a lot!

@dema501 dema501 closed this as completed Feb 20, 2020
@jholdstock
Copy link
Member

Going to reopen this because we can hopefully prevent this issue from reoccurring once decred/dcrwallet#1673 is merged.

We can potentially have either stakepoold or dcrwallet perform a stakepooluserinfo call on startup and log a fatal error if dcrwallet is misconfigured

@jholdstock jholdstock reopened this Feb 27, 2020
@xaur
Copy link

xaur commented Mar 5, 2020

@dema501 FYI you don't really hide your private bits (addresses, ticket ids, etc) by masking them only in the middle because the visible left and right parts are still pretty unique. I would cover the whole thing.

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

4 participants