Error When Trying To Get New Address

Discussion in 'Addresses' started by ghostshell, Feb 25, 2016.

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

    ghostshell New Member

    Feb 14, 2016
    30
    1
    I have a wallet created and have it running, got dcrd running and when I issue ./dcrctl -u user -P password --wallet getnewaddress I get the following error and have no idea what it means:

    -4 : failed to GetNewAddress; pool not started

    Help please!
     
  2. ghostshell

    ghostshell New Member

    Feb 14, 2016
    30
    1
    Nevermind I figured it out
     
  3. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    can you say what was the problem so if by mistake someone first searches instead of creating a thread for same error then they find out what is the solution?
     
  4. invisible

    invisible New Member

    Mar 2, 2016
    5
    0
    I get the same error. Can you tell me what was the solution?
     
  5. Ayush

    Ayush Full Member
    Advocate (Facebook)

    Jan 9, 2016
    512
    100
    Male
    .
    .
    is dcrd running?
    u have to open dcrd and let it run. In new terminal use the command.
     
  6. invisible

    invisible New Member

    Mar 2, 2016
    5
    0
    It is running. When I start my dcrwallet this is what shows up in the dcrd logs:
    Code:
    13:46:46 2016-03-03 [INF] RPCS: New websocket client [::1]:54663
    13:46:53 2016-03-03 [INF] BMGR: Processed 4 blocks in the last 10.14s (26 transactions, height 5162, 2016-02-25 15:28:25 +0000 UTC)
    13:46:57 2016-03-03 [INF] RPCS: Beginning rescan for 40 addresses
    13:46:57 2016-03-03 [INF] RPCS: Finished rescan
    Otherwise it is like this:
    Code:
    13:51:50 2016-03-03 [INF] BMGR: Processed 5 blocks in the last 11.92s (9 transactions, height 5285, 2016-02-26 00:52:39 +0000 UTC)
    13:52:02 2016-03-03 [INF] BMGR: Processed 5 blocks in the last 11.98s (20 transactions, height 5290, 2016-02-26 01:15:02 +0000 UTC)

    But the dcrwallet shows this:
    Code:
    13:47:19 2016-03-03 [ERR] WLLT: PurchaseTicket error returned: failed to GetNewAddress; pool not started
    And if I run the dcrctl with getnewaddress this is what I get:
    Code:
    -4: failed to GetNewAddress; pool not started
    Maybe I missed something?
     
  7. Ayush

    Ayush Full Member
    Advocate (Facebook)

    Jan 9, 2016
    512
    100
    Male
    .
    .
    #7 Ayush, Mar 3, 2016
    Last edited: Mar 3, 2016
    Could u post the commands u used?

    P.s - Obvio but still saying dont post ur user name or password along with the password
     
  8. invisible

    invisible New Member

    Mar 2, 2016
    5
    0
  9. Ayush

    Ayush Full Member
    Advocate (Facebook)

    Jan 9, 2016
    512
    100
    Male
    .
    .
    U r on raspberry pi?
    and what about
    ./dcrd --testnet -u user -P pass
    part?
     
  10. invisible

    invisible New Member

    Mar 2, 2016
    5
    0
    Yes, I'm using Raspberry Pi.
    I didn't run it with the "--testnet" because I want to run it on the mainnet, and the -u and -P is not necessary if I'm using a config file, if my understanding is correct.
     
  11. Ayush

    Ayush Full Member
    Advocate (Facebook)

    Jan 9, 2016
    512
    100
    Male
    .
    .
    I suggest u follow this guide - https://forum.decred.org/threads/br...-included-with-basic-commands-os-neutral.478/

    I used it myself on Ubuntu. It should work fine with raspberry pi too.
     
    invisible likes this.

Share This Page