Prerequisites For Mainnet. Unofficial Airdrop Import & Mining Guide. Use At Your Own Risk!

Discussion in 'Proof-of-work Mining' started by sambiohazard, Feb 8, 2016.

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

    Dedale New Member

    Jan 13, 2016
    67
    12
    Male
    About hashrates,

    I see cgminer i have an average 37Mh/S but my pool tell me my worker has sometimes 20 or 50 Kh/S.

    It's kilohashes against megahashes. Someone could explain to this noob what does that means. I am just curious.
     
  2. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
  3. Dedale

    Dedale New Member

    Jan 13, 2016
    67
    12
    Male
    Thanks. I haven't found the version prebuilt for linux.
     
  4. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
  5. ec8_civic

    ec8_civic New Member

    Jan 9, 2016
    17
    0
    Male
    A:0 means?

    Sorry new to cgm.
     
  6. Dedale

    Dedale New Member

    Jan 13, 2016
    67
    12
    Male
    I sorta answered my question. It's the same number expressed either in megahashrates or in thousands of kilohashrates.
     
  7. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    A shows no of accepted shares from your miner, since it is 0 that means you have not submitted any shares to solve a block.
     
  8. zero

    zero Full Member

    Jan 1, 2016
    288
    121
    Male
    @sambiohazard @davecgh

    If we want drcd and dcrwallet data to be kept in another location or drive, the basic commands will go like this? :

    dcrd --datadir "x:\folder\" --rpcuser="dcrd_username" --rpcpass="dcrd_password"

    dcrwallet --datadir "x:\folder\" --create

    dcrwallet --datadir "x:\folder\" --username="dcrwallet_username" --password="dcrwallet_password" --walletpass="public_passphrase" --dcrdusername="dcrd_username" --dcrdpassword="dcrd_password"

    For mining solo:

    dcrd --datadir "x:\folder\" --rpcuser="dcrd_username" --rpcpass="dcrd_password" --miningaddr=OurDecredAddressForMining

    And edit start_local.bat to:
    cgminer --blake256 -o https://127.0.0.1:9109 -u "dcrd_username" -p "dcrd_password" --cert "x:\folder\Dcrd\rpc.cert"

    The other dcrctl commands won't need --datadir and remains the same? :

    dcrctl -u "dcrwallet_username" -P "dcrwallet_password" --wallet getnewaddress

    dcrctl -u "dcrwallet_username" -P "dcrwallet_password" --wallet listtransactions

    dcrctl -u "dcrwallet_username" -P "dcrwallet_password" --wallet getbalance

    dcrctl -u "dcrwallet_username" -P "dcrwallet_password" --wallet walletpassphrase "private_passphrase" x (x -> Time in seconds)

    dcrctl -u "dcrwallet_username" -P "dcrwallet_password" --wallet sendtoaddress DsAddressYouWantToSendDCR x.y (x.y -> DCR Amount)

    I am asking because I want to move my dcrd and dcrwallet folders to another drive location and I hope I won't mess up anything.
     
  9. davecgh

    davecgh Hero Member
    Developer Organizer

    Dec 31, 2015
    642
    788
    Male
    United States
    @zero: Yes, that's correct. I'd suggest creating config files with the options of course since that makes it a lot easier and means the passwords don't have to be typed on the command line.
     
    zero likes this.
  10. zero

    zero Full Member

    Jan 1, 2016
    288
    121
    Male
    Thanks, by creating config files you mean save them into .bat files?
     
  11. davecgh

    davecgh Hero Member
    Developer Organizer

    Dec 31, 2015
    642
    788
    Male
    United States
    Each application (dcrd, dcrwallet, dcrctl) can have their own configuration files. Use -h and look at the path in parenthesis of the configuration file option (-C, --configfile) to see the default path. Create a text file at the path and named according to that path you just looked up.

    Then you can use the dcrd sample config file and dcrwallet sample config file to set whatever options you want. You can do the same thing for dcrctl too. The format is the same. Every command line option listed by -h can be specified in the config files (just use the long option name).

    Once those are created and in place, you don't have add all of the options to the command line all the time. That's why I can do:

    Code:
    $ dcrctl getnetworkhashps
    2547036949350
    
    Without haven't to add passwords and usernames and all of that.
     
  12. adam2312

    adam2312 Jr. Member

    Jan 11, 2016
    118
    43
    Male
    @sambiohazard,
    What's a Decred address for you for donation? Wanted to send a day's take for your guide getting me up and running so quickly.
    Thanks for the support!
     
  13. Ayush

    Ayush Full Member
    Advocate (Facebook)

    Jan 9, 2016
    512
    100
    Male
    .
    .
    Guys I need help. While trying to run Cgminer I got - cgminer error while loading shared libraries: libOpenCL.so.1: cannot open shared object file: No such file or directory. Any idea what should be done guys?
     
  14. Dedale

    Dedale New Member

    Jan 13, 2016
    67
    12
    Male
  15. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    Thanks for beautiful gesture :)
    My address is in my signature, now you can see it i guess :p
     
  16. adam2312

    adam2312 Jr. Member

    Jan 11, 2016
    118
    43
    Male
    Ah, had to go to your profile to see signature.
    Thanks again!
     
  17. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    thanks for your donation. You can see my signature right below my every post.
     
  18. adam2312

    adam2312 Jr. Member

    Jan 11, 2016
    118
    43
    Male
    Alas, I cannot. Perhaps it's a setting or not displayed on mobile device.
     
  19. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    hmm maybe not shown on mobile, i will check my settings as well.
     
  20. adam2312

    adam2312 Jr. Member

    Jan 11, 2016
    118
    43
    Male
    FYI: on the computer now, signature visible. It appears to be truncated for mobile use.
     
    sambiohazard likes this.

Share This Page