Solo Mining Fail

Discussion in 'Proof-of-work Mining' started by symbiant, Mar 28, 2016.

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

    symbiant New Member

    Mar 2, 2016
    7
    0
    i get this error after every 24hours solo mining... win10 (64bit) dcrd 0.0.8 ... thank you


    04:45:57 2016-03-26 [ERR] CHNS: Timeout waiting for session RPC
    04:45:57 2016-03-26 [ERR] WLLT: Failed to get next to use address for address pool external: the client has been shutdown
    04:45:57 2016-03-26 [INF] DCRW: Attempting RPC client connection to localhost:9109
    04:45:57 2016-03-26 [INF] CHNS: Established connection to RPC server localhost:9109
    04:45:57 2016-03-26 [INF] WLLT: Beginning a rescan of active addresses using the daemon. This may take a while.
    04:45:58 2016-03-26 [INF] WLLT: Wallet has 1 used address for default account external branch
    04:46:00 2016-03-26 [INF] WLLT: Started rescan from block 000000000000255597b22b1b9c44fc6a2c4caae573ed1774dd86e7fcdf07a966 (height 13643) for 63 addresses
    04:46:00 2016-03-26 [INF] WLLT: Finished rescan for 63 addresses (synced to block 000000000000119cf55aa9b07f3f0633ee8241951a2776810d6571b35d0cbc8e, height 13644)
    04:46:00 2016-03-26 [INF] WLLT: Syncing the transaction store blockchain to the most recent blocks.
     
  2. Ayush

    Ayush Full Member
    Advocate (Facebook)

    Jan 9, 2016
    512
    100
    Male
    .
    .
    Is the dcrd terminal running?
     
  3. symbiant

    symbiant New Member

    Mar 2, 2016
    7
    0
    Hi,
    my start conf. is:

    1.bat
    dcrd --rpcuser xxx --rpcpass xxx --miningaddr=DsmiB12hnEgSWmyWSvipWZprgnZBFSrvy3R
    2.bat
    dcrwallet --username xxx --password xxx --dcrdusername=xxx -- dcrdpassword=xxx --walletpass xxx
    3.bat
    cgminer --blake256 -o https://127.0.0.1:9109 -u xxx -p xxx --cert "%LOCALAPPDATA%\Dcrd\rpc.cert" -I 13

    thank you
     
  4. Ayush

    Ayush Full Member
    Advocate (Facebook)

    Jan 9, 2016
    512
    100
    Male
    .
    .
    The configuration seems correct. Did u close any command prompt?
    I think u closed the dcrd terminal.
    Let all the three command prompt run. Don't close any.
     
  5. Toplel

    Toplel New Member

    Mar 5, 2016
    58
    0
    why 3 prompt? i'm mining in solo with 2 only, the client and the miner
     
  6. Shadowlance

    Shadowlance Full Member

    Jan 9, 2016
    220
    155
    Male
    You need one for the daemon (dcrd), one for the miner (or wallet if PoS mining) and one to send commands (dcrctl).
     
  7. Toplel

    Toplel New Member

    Mar 5, 2016
    58
    0
    you need to leave the wallet open?
     
  8. Toplel

    Toplel New Member

    Mar 5, 2016
    58
    0
    what command you need to send after the miner started?
     
  9. Shadowlance

    Shadowlance Full Member

    Jan 9, 2016
    220
    155
    Male
    Yes, you need to leave the wallet open and unlocked. After the daemon and wallet are started, if you're PoS mining, you need to unlock the wallet which is what the third window is for. The command dcrctl --wallet walletpassphrase <walletpassword> 0 will unlock the wallet until it's shut down.
     
  10. Klaian

    Klaian New Member

    Feb 9, 2016
    24
    1
    Male
    I am assuming that the OP is POW mining. If that is the case, you do not need to keep the wallet open. You only need to run dcrd and mining software.
     
  11. Toplel

    Toplel New Member

    Mar 5, 2016
    58
    0
    that is what i was talking about, tnx
     
  12. qqqq

    qqqq New Member

    Apr 2, 2016
    5
    0
    Trying unlock the wallet use that command and get "[WRN] RPCS: Unauthorized client connection attempt" in dcrd. In dcrctl "401 Unauthorized"
     
  13. jolan

    jolan Sr. Member
    Developer

    Dec 7, 2015
    197
    226
    Male
    Decred Team Member
    That typically means you didn't specify a user name and password.
     
  14. qqqq

    qqqq New Member

    Apr 2, 2016
    5
    0
    what kind of user pass i have to set. "-u -P" "--dcrdusername --dcrdpassword" "rpcuser rpcpass" cause none of this work? It tells me of unknown flag `dcrdusername'
     
  15. jolan

    jolan Sr. Member
    Developer

    Dec 7, 2015
    197
    226
    Male
    Decred Team Member
    #15 jolan, Apr 5, 2016
    Last edited: Apr 5, 2016
    Here's a simple example:

    Code:
    dcrd -u user -P pass
    dcrwallet -u user -P pass --dcrdusername=user --dcrdpassword=pass
    dcrctl -u user -P pass --wallet <command>
    
     
  16. qqqq

    qqqq New Member

    Apr 2, 2016
    5
    0
    I hope --testnet is just for example.

    So i get -14: invalid passphrase for master private key. My passphrase is the same as pass.
     

Share This Page