Testnet Only Guide: How I Got My Daemon, Wallet, And Miner Running & Also Started Solo Stake Mining

Discussion in 'Proof-of-work Mining' started by sambiohazard, Jan 28, 2016.

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

    Johnshpon3 Member

    Dec 25, 2015
    210
    86
    Male
    Telecommunications
    Slovenia
    Hmm...In your tutorial I not find command 'getnewaddress', after I run it dcrctl actually generate addres for me.
     
  2. anondran

    anondran Full Member
    Advocate (Reddit)

    Jan 13, 2016
    131
    119
    Male
    Must be a problem in your system. Try rebooting your system or disabling your antivirus or running your command prompt as the administator
     
    Vanputlei likes this.
  3. MiloIce

    MiloIce Jr. Member

    Jan 18, 2016
    206
    26
    Male
    #43 MiloIce, Jan 28, 2016
    Last edited: Jan 28, 2016
    @sambiohazard Ah, problem solved, I missed out step 9's notls. sorry for the trouble!

    I'm getting <5s>:1.031G <avg>:1.029Gh/s 16.9/m, is this ok..? currently its just finding block for pool 0 though.

    May I know how do we close the cgminer correctly? I happen to just click on the x on the right and ended up crashing my com and restarting it >_>...
     
    sambiohazard likes this.
  4. whis

    whis New Member

    Jan 28, 2016
    59
    7
    In the third window for step 8 always when i paste dcrctl --testnet -u walletuser -P walletpass --wallet getnewaddress --notls it gives me the error no connection could be made because the target machine actively refused it. I also tried replacing walletuser and walletpass with one i choose in step 1 still didnt work. I think i give up.

    sn.PNG
     
  5. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    @whis

    When you run the command from step 1, note down the usename and password and use exactly same words for dcrdusername & dcrdpassword

    e.g. if step 1 is
    dcrd --testnet -u daemonuser -P daemonpass --notls

    then Step 5 should be

    dcrwallet -u walletuser -P walletpass --dcrdusername=daemonuser --dcrdpassword=daemonpass --noclienttls --noservertls

    Also when you run dcrwallet note down -u & -P, and use same in step 8

    e.g. if step 5 is

    dcrwallet -u walletuser -P walletpass --dcrdusername=daemonuser --dcrdpassword=daemonpass --noclienttls --noservertls

    then step 8 should be

    1. dcrctl --testnet -u walletuser -P walletpass --wallet getnewaddress --notls
     
    chappjc likes this.
  6. whis

    whis New Member

    Jan 28, 2016
    59
    7
    ok will try this
     
  7. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    It seems to be running fine. You would see A= [greater than zero] when your block will be accepted. It took me 47 mins to find my first block with similar hashrate. Also balance only shows after block mature. I think it is 16 confs for testnet.
     
  8. MiloIce

    MiloIce Jr. Member

    Jan 18, 2016
    206
    26
    Male
    oh i see.. How do we close the cgminer correctly? Sorry about all that questions..
     
  9. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    i updated the tutorial, please refresh your browser, it now instructs to use getnewaddress.
     
  10. davecgh

    davecgh Hero Member
    Developer Organizer

    Dec 31, 2015
    642
    788
    Male
    United States
    You can just press q (quit).
     
  11. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    No problem, just hit q to close the miner, all options are shown in the miner window
     
  12. Vanputlei

    Vanputlei Jr. Member
    Translator (Nederlands)

    Jan 12, 2016
    69
    36
    Male
    Belgium
    Rebooted my machine and also ran my command prompt as the administator.
    Still same problem....
    Maybe I can try it with my wife's laptop, just to create wallet and later on try to install miner on mine again.
     
  13. MiloIce

    MiloIce Jr. Member

    Jan 18, 2016
    206
    26
    Male
    that wouldn't cause the crash like pressing on the x right? okay.. thank you! =D
     
  14. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    Ok updated & tried to make it clear that which username & password must be the same
     
  15. whis

    whis New Member

    Jan 28, 2016
    59
    7
    I did what you told, at step 8 after psting the command it says -4: the client was never connected

    my first window which is daemon
    sn.PNG
    my second window which is wallet sn.PNG
     
  16. kendie

    kendie New Member

    Jan 21, 2016
    39
    9
    Male
    dcrctl --testnet -u kendie -P 19891012 --wallet getnewaddress --notls
    Post http://localhost:19110: dial tcp [::1]:19110: connectex: No connection could be made because the target machine actively refused it.
     
  17. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    I have no idea what is it you guys are missing. Including me and @MiloIce now 2 people were able to mine using the tutorial. Only thing i can see is confusion between wallet username & password & daemon username and password.

    Daemon username/password is used again in dcrwallet.
    With dcrctl you use usename/password used with wallet and not the daemon.
     
    MiloIce likes this.
  18. MiloIce

    MiloIce Jr. Member

    Jan 18, 2016
    206
    26
    Male
    Guys, follow the steps again and make sure you entered the same user and password also everything you connect to or sync ending with -notls. This pretty much solved my problem and I hope you guys can get through too!

    Thanks to @sambiohazard for the guide =).
     
    sambiohazard likes this.
  19. KKopf

    KKopf New Member

    Jan 22, 2016
    41
    3
    Male
    when i start the start_local_miner.bat, works the miner only my nvidia4600 Card and not with my 970M. how can this change to nvidia970M?
     
  20. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    Do you have both cards in same PC because those look like laptop GPUs to me and i havent seen any laptop with 2 GPUs. Other wise i am not sure why only one gpu will run.

    EDIT: using -d 0 or -d 1 will allow you to choose which card you want to run. Try that.
     

Share This Page