Launch Mainnet Stake Pool Is Live

Discussion in 'Announcements' started by jolan, Mar 7, 2016.

  1. 2017/12/15 - Decred v1.1.2 released! → Release Notes  → Downloads
  1. Noah

    Noah Member
    Advocate (Twitter)

    Feb 1, 2016
    154
    97
    Male
    Amsterdam
    Just did this:
    - deleted the old blockchain and wallet info;
    - downloaded and unpacked v0.0.8;
    - redownloaded the blockchain;
    - re-created my airdrop wallet with seed;

    However, getbalance shows 0 for me (I'm sure some tickets voted already). If I use dcrctl --wallet getbalance default 0 all , which should show the total balance including the DCR locked for PoS tickets (I'm using the pool), still 0 balance. Also listtransactions gives me nothing.

    Did I do something wrong while re-creating my wallet? Or is the update missing something?
     
  2. davecgh

    davecgh Hero Member
    Developer Organizer

    Dec 31, 2015
    642
    788
    Male
    United States
    Is your dcrd fully synced to the network? It can take some time. Latest block is 11614.

    EDIT: dcrctl getblockcount
     
  3. norikai

    norikai New Member

    Dec 24, 2015
    40
    12
    @davecgh I can confirm the issue.

    Renamed dcrd and dcrwallet folders. Using 0.0.8 recreated wallet from seed successfully. Waited until fully synced to latest block. Balance incorrect.

    By the way, I tried doing this same thing with 0.0.7 and I had the same problem.
     
  4. davecgh

    davecgh Hero Member
    Developer Organizer

    Dec 31, 2015
    642
    788
    Male
    United States
    @ceejep: Ping. You might want to see if you get some details such as the extended public from these users so you can figure out what's going on. I suspect there is a gap limit issue or something along those lines.
     
  5. deceiver

    deceiver New Member

    Dec 30, 2015
    13
    0
    Male
    UPDATE:

    I tried on windows and this works correctly only with the seed. So must be some problem with binaries of linux arm, because on windows it show the real balance/tickets. Im redownloading all blockchain on raspberry again to test again.

    regards
     
  6. zero

    zero Full Member

    Jan 1, 2016
    288
    121
    Male
    There has to be an issue on v0.0.8 as well, returning incorect --wallet getbalance "default" 0 all and --wallet getbalance "default" 0 locked when re-creating wallet from seed. I can confirm this for Windows 10 Pro x64 and windows-amd64-20160318-01.zip files.
     
  7. ceejep

    ceejep Sr. Member
    Developer

    Dec 14, 2015
    192
    220
    To everyone with resyncing problems from seed, there's now a debug function to help troubleshoot this. Turn on '-d debug' in the command line to print the graphical results of the address usage for the wallet. An example is below.

    Code:
    23:07:17 2016-03-18 [DBG] WLLT: Begin debug address scan scanning backwards from idx 3505, account 0, branch 0
    Last used index found: 5
           0  #####
    
    23:07:17 2016-03-18 [INF] WLLT: Wallet default account external branch is desynced and must be resynced. Doing this now...
    23:07:17 2016-03-18 [DBG] WLLT: Currently getting address 0
    23:07:17 2016-03-18 [INF] WLLT: Successfully synchronized the address manager to external address SsomyUs3ycj6em9hZemEnxpGpEV5gpYA6po (key index 5)
    23:07:21 2016-03-18 [DBG] WLLT: Begin debug address scan scanning backwards from idx 5882, account 0, branch 1
    Last used index found: 3801
           0  ##########  ##########  ##########  ##########  ##########
          50  ##########  ##########  ##########  ##########  ##########
         100  ##########  ##########  ##########  ##########  ##########
         150  ##########  ##########  ##########  ##########  ##########
         200  ##########  ##########  ##########  ##########  ##########
         250  ##########  ##########  ##########  ##########  ##########
         300  ##########  ##########  ##########  ##########  ##########
         350  ##########  ##########  ##########  ##########  ##########
         400  ##########  ##########  ##########  ##########  ##########
         450  ##########  ##########  ##########  ##########  ##########
         500  ##########  ##########  ##########  ##########  ##########
         550  ##########  ##########  ##########  ##########  ##########
         600  ##########  ##########  ##########  ##########  ##########
         650  ##########  ##########  ##########  ##########  ##########
         700  ##########  ##########  ##########  ##########  ##########
         750  ##########  ##########  ##########  ##########  ##########
         800  ##########  ##########  ##########  ##########  ##########
         850  ##########  ##########  ##########  ##########  ##########
         900  ##########  ##########  ##########  ##########  ##########
         950  ##########  ##########  ##########  ##########  ##########
        1000  ##########  ##########  ##########  ##########  ##########
        1050  ##########  ##########  ##########  ##########  ##########
        1100  ##########  ##########  ##########  ##########  ##########
        1150  ##########  ##########  ##########  ##########  ##########
        1200  ##########  ##########  ##########  ##########  ##########
        1250  ##########  ##########  ##########  ##########  ##########
        1300  ##########  ##########  ##########  ##########  ##########
        1350  ##########  ##########  ##########  ##########  ##########
        1400  ##########  ##########  ##########  ##########  ##########
        1450  ##########  ##########  ##########  ##########  ##########
        1500  ####___###  ##########  ##########  ####______  ###______#
        1550  __________  __________  __________  __________  ________##
        1600  #_________  #_________  __________  __________  __________
        1650  __________  __________  _#########  ##########  ##########
        1700  ##########  ##########  ##########  ##########  ##########
        1750  ##########  ##########  ##########  ##########  ##########
        1800  ##########  ##########  ##########  ##########  ##########
        1850  ##########  ##########  ##########  ##########  ##########
        1900  ##########  ##########  ######____  __________  _#________
        1950  __________  __________  __________  __________  __________
        2000  __________  __________  #_________  __________  __________
        2050  __________  #_________  __________  __########  ##########
        2100  ##########  ##########  ##########  ##########  ##########
        2150  ##########  ##########  #####___##  #_________  __________
        2200  __________  __________  __________  __________  __________
        2250  __________  #_________  __________  __________  __________
        2300  __________  __________  _#________  __________  __________
        2350  __________  __________  __________  __#_______  __________
        2400  __________  __________  __________  __________  __________
        2450  __________  __________  ___######_  __________  __________
        2500  #_________  __________  __________  __________  __________
        2550  __________  __________  __________  __#_______  __________
        2600  __________  __________  __________  __________  __________
        2650  _____#####  #######___  __________  __________  _______#__
        2700  __________  __________  __________  __________  __________
        2750  __________  __________  __________  __________  __________
        2800  __________  __________  __________  __________  __________
        2850  __________  __________  __________  __________  __________
        2900  __________  __________  __________  __#_______  ________##
        2950  ##########  ##########  ##########  ##########  ##########
        3000  ##########  __________  __________  __________  __________
        3050  __________  __________  __________  __________  __________
        3100  __________  __________  __________  ___#######  ##########
        3150  ##########  ##########  ##########  ##########  ##########
        3200  ##########  ##########  ##########  ##########  ##########
        3250  ##########  ##########  ##########  ##########  ##########
        3300  ##########  ##########  ##########  ##########  ##########
        3350  ##########  ##########  ##########  ##########  ##########
        3400  ##########  ##########  ##########  ########__  __________
        3450  __________  __________  ____###___  __________  __#######_
        3500  __________  __________  __________  __________  __________
        3550  __________  ##########  ##########  ##########  ##########
        3600  ##########  ##########  ##########  ##########  ##########
        3650  ##########  ##########  ##########  ##########  ##########
        3700  ##########  ##########  ##########  ##########  ##########
        3750  ##########  ##########  ##########  ##########  ##########
        3800  #
    
    23:07:21 2016-03-18 [INF] WLLT: Wallet default account internal branch is desynced and must be resynced. Doing this now...
    23:07:21 2016-03-18 [DBG] WLLT: Currently getting address 0
    ...
    23:07:22 2016-03-18 [DBG] WLLT: Currently getting address 3380
    23:07:22 2016-03-18 [INF] WLLT: Successfully synchronized the address manager to internal address SsgeHFTENHhM4wicYQHYHFAMLwUmKguMqc4 (key index 3382)
    Addresses that were found to be unused in daemon are marked _, while used addresses are marked #. A wallet may fail to restore correctly if there are very large amounts of unused addresses that were generated incorrectly with old versions. In particular, when restoring from seed, you'll want to make sure that "Last used index found: 3801" corresponds to the result given on the line reading "23:07:22 2016-03-18 [INF] WLLT: Successfully synchronized the address manager to internal address SsgeHFTENHhM4wicYQHYHFAMLwUmKguMqc4 (key index 3382)". Here we see the address synced to the correct index. If the latter is a much different address than the former, the sync has failed because of wallet gaps. We will be adding features to do manual syncing in the future. For now, you can try to increase the scan distance on restore from seed by increasing this value and recompiling:

    https://github.com/decred/dcrwallet/blob/master/wallet/wallet.go#L879-L881

    If you still have issues, try sending me your extended pubkey (getmasterpubkey) through PM or email and I will recreate your wallet locally and have a look at it.
     
    deceiver likes this.
  8. zero

    zero Full Member

    Jan 1, 2016
    288
    121
    Male
    #128 zero, Mar 18, 2016
    Last edited: Mar 18, 2016
    If you are using stake pool you should re-import redeem script from pool, after unlocking your wallet of course:

    dcrctl --wallet importscript your_redeem_script_from_pool

    And then you will be able to view everything from your balance on stake pool with these commands:

    dcrctl --wallet getbalance imported 0 locked

    dcrctl --wallet getbalance imported 0 all

    Thanks again @ceejep for those.

    And as @davecgh suggested me don't re-download blockchain or re-creating wallet from seed if there is no need to. I've done this "mistake" with dcrwallet and since I didn't have any problem before v0.0.7 I stupidly didn't even take a backup of it's folder and files.
     
  9. nikos1978

    nikos1978 New Member

    Feb 17, 2016
    110
    3
    Male
    I have at pool
    One ticket 2 days now and still zero balance at my account
    How I will see when and if voted or not
    And how many days I must wait for my balance to be available
     
  10. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    I just found out that to see your balance you are using to stake on pool you have to use

    dcrctl --wallet getbalance imported 0 all

    instead of

    dcrctl --wallet getbalance default 0 all

    Try that and see if it works for you.
     
  11. nikos1978

    nikos1978 New Member

    Feb 17, 2016
    110
    3
    Male
    Ok and what I will see with these command
     
  12. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    you will see your balance that you are using for staking on pool with first command and with second you will see rest of your balance. You can add up those to get your total balance.
     
  13. nikos1978

    nikos1978 New Member

    Feb 17, 2016
    110
    3
    Male
    Yes ok but my major problem for me is to see in how many days my ticket at pool
    Will be voted or not?
    And in how many days my ticket price 9dcr that I had sent for by the ticket
    Will be come back to my wallet
     
  14. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    is --wallet getstakeinfo command not showing you your staking info? Also it depends on luck when your ticket will vote but after voting balance will be available after 256 blocks, so if you voted on block 12000 then your balance will be available on block 12256.
     
  15. nikos1978

    nikos1978 New Member

    Feb 17, 2016
    110
    3
    Male
    Ok and how many days I must wait to see if my tickets will be voted???
     
  16. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    each ticket has a high chance of voting within 28 days, although more tickets = frequent votes, i have seen 1-3 votes per day with around 70-80 tickets.
     
  17. bones261

    bones261 New Member

    Feb 13, 2016
    8
    1
    Male
    I'm getting a 504 error when trying to log into stakepool.decred.org. I get the home page, but when I try to sign in, I get a 504 error.
     
  18. nikos1978

    nikos1978 New Member

    Feb 17, 2016
    110
    3
    Male
    ok i put that order i mean--wallet getbalance imported 0 all
    and i see 8.92 dcr
    'what is that dcr??
    my balncce is still zero
     
  19. Adriano

    Adriano New Member

    Mar 16, 2016
    20
    0
    Male
    I'm having the same issue. Can see all my ticket information at getstakeinfo cmd but nothing at the pool site.
    Will this affect my tickets to be voted?
    Is this an error at the pool?
     
  20. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    #140 sambiohazard, Mar 20, 2016
    Last edited: Mar 20, 2016
    that should be DCR that is locked for staking using your pool address. You import a key into your wallet when you want to stake with stakepool so that key/address ends up in "imported" account instead of "default" account of your wallet. I hope this makes things clear for you.

    EDIT: Maybe this can help you see everything in your wallet

    https://forum.decred.org/threads/dd-4-v0-0-8-03-18-16.1336/page-2#post-14859
     

Share This Page