Join Pos Pool But Rcvd: "-4: Address Manager Is Locked"

Discussion in 'PoS Pools' started by Yea, Mar 13, 2016.

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

    Yea New Member

    Jan 9, 2016
    I'm trying to join the pooled proof of stake. My commands:
    ./dcrd -u user -P pass
    ./dcrwallet --create
    ./dcrwallet -u user -P pass --walletpass=walletpass --dcrdusername=user --dcrdpassword=pass
    /dcrctl -u user -P pass --wallet getnewaddress
    /dcrctl -u user -P pass --wallet validateaddress theAddressReturned
    ./dcrctl -u user -P pass --wallet importscript scriptCopiedFromWebsite
    -4: address manager is locked

    where user and password are my username and password. walletpass is my wallet's password. I also have a public passphrase for the wallet.
    What does "-4: address manager is locked" mean? I guess it's some kind of a failure but I can't see what I'm doing wrong.
  2. tunnus

    tunnus New Member

    Mar 10, 2016
    you need to unlock the wallet:
    ./dcrctl -u user -P pass --wallet walletpassphrase "wallet_passphrase" 0

    (this unlocks it indefinitely; you can replace the last 0 with a non-zero time interval )
    Yea likes this.

Share This Page