Dcrd And Solo Mining?

Discussion in 'Proof-of-work Mining' started by colt05, Feb 15, 2016.

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

    colt05 New Member

    Jan 9, 2016
    34
    2
    Hello.
    I am thinking about setting up dcrd and solo mining, but does dcrd record your IP/does the Blockchain viewer show the node that relayed any transactions and it's location?
    Thanks!
     
  2. Enjei

    Enjei New Member

    Feb 8, 2016
    26
    7
    Male
    Other nodes will know your IP, as for the blockchain I don't believe there's a dedicated input that records IPs automatically.
     
  3. colt05

    colt05 New Member

    Jan 9, 2016
    34
    2
    Can I solo mine without a node? For some reason, pools don't work for me.
     
  4. Enjei

    Enjei New Member

    Feb 8, 2016
    26
    7
    Male
    When you run dcrd, you're running a node; it needs to relay block information and the network relays information back to it about new blocks that're found.

    Any other information you can provide about pools not working? What does your setup look like at the moment?
     
  5. colt05

    colt05 New Member

    Jan 9, 2016
    34
    2
    Mining errors even on online VMs, not just my internet. It returns a json_rpc_call failed/HTTP error.
     
  6. Enjei

    Enjei New Member

    Feb 8, 2016
    26
    7
    Male
    Run cgminer with the --debug option, then post the full output here.
    Also post the commandline you're using to launch it (or cgminer.conf if you have that setup).

    Looks like you have the wrong url/port from what you've said.
     
  7. colt05

    colt05 New Member

    Jan 9, 2016
    34
    2
    I'm using cpuminer-multi. Does it have a --debug option?
     
  8. upgradeadvice

    upgradeadvice New Member

    Jan 9, 2016
    7
    4
    Male
    Code
    Texas
    Check that your dcrd config has a miningaddr option with an address you own. You'll also need to run dcrwallet and have cpuminer connect to it.

    Then run cpuminer:
    Code:
    ./cpuminer -a decred -o https://127.0.0.1:9110 -O rpcuser:rpcpass

    Use -DP to show debug and protocol output.
     
    colt05 likes this.
  9. colt05

    colt05 New Member

    Jan 9, 2016
    34
    2
    It seems to have a "time out" error. Unfortunately, this cannot be fixed because this is not the only thing that has happened to :/
     
  10. upgradeadvice

    upgradeadvice New Member

    Jan 9, 2016
    7
    4
    Male
    Code
    Texas
    Sounds like you've either turned off tls and/or you are trying to connect to a remote wallet and need to set dcrwallet's rpclisten option to its hosts external ip (the one you want your miner to connect to).
     
  11. colt05

    colt05 New Member

    Jan 9, 2016
    34
    2
    Since I must broadcast my IP if I solo mine, I have tried this on a pool with this error. Unfortunately, there is no version of cpuminer-multi with Decred that works on linux without having to download the source code and build it.
     
  12. upgradeadvice

    upgradeadvice New Member

    Jan 9, 2016
    7
    4
    Male
    Code
    Texas
    It takes like 2 minutes to clone and build cpuminer-multi on my 6 year old laptop lol
     
  13. colt05

    colt05 New Member

    Jan 9, 2016
    34
    2
    O.O Well the problem is that all the online free VMs run Linux. Even if one actually ran Windows (and was free) it would return that error anyway, which is weird since they are running the internet, not me. Why would it error on both my computer AND a remote VM?
     

Share This Page