Solo Mining The Testnet

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

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

    Bl0ckchain New Member

    Jan 20, 2016
    8
    2
    I have launched this on windows for the deamon :
    Code:
    dcrd --testnet --rpcuser=user --rpcpass=pass --notls
    The block are processed normally, the RPC server is listening on the port 127.0.0.1:19109

    But when i launch cgminer with this :
    Code:
    cgminer --blake256 -o http://127.0.0.1:19109 -u user -p pass
    cgminer wont work saying :
    Code:
    Pool 0 slow/down or credentials invalid
    cgminer only support stratum ? what i need to use to be able to solomine the testnet ?
     
    eshriek likes this.
  2. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    You need to add --miningaddr=[your testnet address] to dcrd flags
     
    thepotterone likes this.
  3. whis

    whis New Member

    Jan 28, 2016
    59
    7
    i downloaded cgminer for nvidia, what do i have to do next? using windows 10
     
  4. ingram

    ingram New Member

    Jan 11, 2016
    11
    3
    Male
    i use command
    C:\testnet>dcrd --testnet --rpcuser=user --rpcpass=pass --miningaddr TsTc3Ji28NFReN2gAjsWEEu9KgpnNg4GtDE /notls
    05:48:33 2016-02-01 [WRN] DCRD: open C:\Users\Administrator\AppData\Local\Dcrd\dcrd.conf: The system cannot find the file specified.
    05:48:33 2016-02-01 [INF] DCRD: Version 0.0.1-beta
    05:48:33 2016-02-01 [INF] DCRD: Loading block database from 'C:\Users\Administrator\AppData\Local\Dcrd\data\testnet\blocks_leveldb'
    05:48:33 2016-02-01 [INF] BCDB: Address index synced and loaded to height 4357
    05:48:33 2016-02-01 [INF] DCRD: Block database loaded with block height 4357
    05:48:33 2016-02-01 [INF] DCRD: Loading ticket database from disk
    05:48:35 2016-02-01 [INF] DCRD: Ticket DB loaded with top block height 4357
    05:48:35 2016-02-01 [INF] BMGR: Generating initial block node index. This may take a while...
    05:48:36 2016-02-01 [INF] BMGR: Block index generation complete
    05:48:36 2016-02-01 [INF] SRVR: Server listening on 0.0.0.0:19108
    05:48:36 2016-02-01 [INF] SRVR: Server listening on [::]:19108
    05:48:36 2016-02-01 [INF] RPCS: RPC server listening on [::1]:19109
    05:48:36 2016-02-01 [INF] RPCS: RPC server listening on 127.0.0.1:19109
    server listening on 127.0.0.1:19109

    and his address in the wallet
    but
    when i use
    cgminer --blake256 -o 127.0.0.1:19109 -u user -p pass
    also display
    [2016-02-01 05:48:17] Pool 0 slow/down or URL or credentials invalid

    please help me
     
  5. Reynold

    Reynold Member

    Jan 28, 2016
    198
    70
    Male
    Programmer
    @ingram You may have to make a dcrd.conf file. Here is kinda what mine looks like.

    Find your ip by typing: ipconfig
    Look for: IPv4 Address. . . . . . . . . . . : 192.168.1.xxx

    Create a text file and name it dcrd.conf with the following lines (modify xxx, and username, pass)
    ----
    testnet=1
    listen=192.168.1.xxx:19109
    rpcuser=YourUserName
    rpcpass=YourPassword
    ----

    Put the text file here:
    C:\Users\Administrator\AppData\Local\Dcrd\dcrd.conf
     
  6. thepotterone

    thepotterone Jr. Member

    Jan 28, 2016
    128
    27
    Male
    enthusiast
    Somewhere above the UK
    i use

    dcrd --testnet --notls -u xxxxxx -P xxxxxx --miningaddr=xxxxxxxxxxxxxxxxxx

    cgminer --blake256 -o http://127.0.0.1:19109 -u xxxxxx -p xxxxxx


    try that, i hope it is of some help.
     
  7. ingram

    ingram New Member

    Jan 11, 2016
    11
    3
    Male
    thanks all
    i found the port 10109 use another app
    i use dcrd.conf to modify it


    testnet=1
    rpclisten=127.0.0.1:19119
    rpcuser=user
    rpcpass=pass
     
    Reynold likes this.

Share This Page