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. MiloIce

    MiloIce Jr. Member

    Jan 18, 2016
    206
    26
    Male
    ok lets keep it simple, do it again from step 1 and use all same user and password so as to make sure you don't make any mistake? Update here after you have done so? =)
     
  2. kendie

    kendie New Member

    Jan 21, 2016
    39
    9
    Male


    23:52:38 2016-01-29 [INF] WLLT: Opened wallet
    23:52:38 2016-01-29 [INF] DCRW: Server TLS is disabled
    23:52:38 2016-01-29 [INF] DCRW: RPCS: RPC server listening on [::1]:19110
    23:52:38 2016-01-29 [INF] DCRW: RPCS: RPC server listening on 127.0.0.1:19110
    23:52:38 2016-01-29 [INF] DCRW: Client TLS is disabled
    23:52:38 2016-01-29 [INF] CHNS: Established websocket RPC connection to dcrd
    23:52:38 2016-01-29 [INF] WLLT: Beginning a rescan of active addresses using the daemon. This may take a while.
    23:52:39 2016-01-29 [INF] WLLT: Wallet has no used addresses for default account external branch
    23:52:39 2016-01-29 [INF] WLLT: Wallet has no used addresses for default account internal branch
    23:52:39 2016-01-29 [INF] WLLT: Started rescan from block 5b7466edf6739adc9b32aaedc54e24bdc59a05f0ced855088835fe3cbe58375f (height 0) for 0 addresses
    23:52:39 2016-01-29 [INF] WLLT: Rescanned through block 5b7466edf6739adc9b32aaedc54e24bdc59a05f0ced855088835fe3cbe58375f (height 0)
    23:52:39 2016-01-29 [INF] WLLT: Rescanned through block 000000005a2356fbcef6e798b11a16d2144a380128a1d0132b75b7cb0a9e470b (height 100)
    23:52:39 2016-01-29 [INF] WLLT: Rescanned through block 00000000c307e4d762dfad1cf9c271f2d84f5f7080e0eac4bcbd2f97217ae285 (height 200)
    23:52:39 2016-01-29 [INF] WLLT: Rescanned through block 00000000db1e701fb86528477da533ff537b83e7d07222a21655ac672935aac3 (height 300)
    23:52:39 2016-01-29 [INF] WLLT: Rescanned through block 000000009b16aaa5cc610b433cdee0ea8cf4e5aaf08475faec96ca37a1b8b572 (height 400)
    23:52:39 2016-01-29 [INF] WLLT: Rescanned through block 00000000bae1a29190aba76f001a43081b6c4014fdb082ba7ff9e880314a212a (height 500)
    23:52:39 2016-01-29 [INF] WLLT: Rescanned through block 00000000ba5f4e3cc4099cb417fb78c2630d50726de2c30a1bbed44f1142d3dd (height 600)
    23:52:40 2016-01-29 [INF] WLLT: Rescanned through block 00000000c10f9e728fd27b7b9417e04a2fdc3d388eb4127c4d869a8e70d8fdb5 (height 700)
    23:52:40 2016-01-29 [INF] WLLT: Rescanned through block 0000000023ad173d137b00d054f2cd1da15f66e731fdd72b3ea659be662004bd (height 800)
    23:52:40 2016-01-29 [INF] WLLT: Rescanned through block 00000000ae466009e0841623d5be369fb1770be8baccc41efcc753f340c6e41b (height 900)
    23:52:40 2016-01-29 [INF] WLLT: Rescanned through block 00000000b8d8dc9fc16b49901597fb0ae5241a2195f2298c9c929b8f7b8ebe42 (height 1000)
    23:52:40 2016-01-29 [INF] WLLT: Rescanned through block 000000002190d19458733a73fb3610c6d5301e6dd1235d3d8a9d14e370a1536d (height 1100)
    23:52:40 2016-01-29 [INF] WLLT: Rescanned through block 000000000aabcebbb5175ee281829374ac47618adac8e0c7dd5e43d2a3696f90 (height 1200)
    23:52:40 2016-01-29 [INF] WLLT: Rescanned through block 00000000001eb67a44216d04b664c0076dee7dac16bd24bb68f1afa992642204 (height 1300)
    23:52:40 2016-01-29 [INF] WLLT: Rescanned through block 0000000003039706b1344cefe7342b13661479f3583e5eef6df1c42a5baa244a (height 1400)
    23:52:40 2016-01-29 [INF] WLLT: Rescanned through block 00000000001792608f43e59b8eee0c0d9fdbfd66aee4ef3a9817def25ae35d09 (height 1500)
    23:52:40 2016-01-29 [INF] WLLT: Rescanned through block 0000000000e5d53d8fa00150e31a1de4fcd9335e161701d16d2b37015d2b9fa5 (height 1600)
    23:52:40 2016-01-29 [INF] WLLT: Rescanned through block 00000000000f5bbf2e4a7f78efcb2ad154f020c176e3b827369906a0e56fc64b (height 1700)
    23:52:40 2016-01-29 [INF] WLLT: Rescanned through block 00000000006ace162280590cb2d395d5ed2c87719835e17003c74e42071e326b (height 1800)
    23:52:40 2016-01-29 [INF] WLLT: Rescanned through block 000000000082b9f6700ea61133e11114a9fad74aa3cc7a00aeeec19b4a05d593 (height 1900)
    23:52:40 2016-01-29 [INF] WLLT: Rescanned through block 00000000001976fccbf05f6176fc59000f7710d1f5591b456032dba3c4b9a1ac (height 2000)
    23:52:40 2016-01-29 [INF] WLLT: Rescanned through block 0000000000579ea810a52ab235376ba93e9d9139b505019f4e55c92ec9daed5d (height 2100)
    23:52:40 2016-01-29 [INF] WLLT: Rescanned through block 0000000000041abfc9cab81cb8a95a2325ec97b2fd2ebe721ff3e851b331d7b9 (height 2200)
    23:52:40 2016-01-29 [INF] WLLT: Rescanned through block 00000000006220e60d2a72ba5bdb1edf36f43b2ad5b4ab74785fe1d5937a8142 (height 2300)
    23:52:40 2016-01-29 [INF] WLLT: Syncing the transaction store blockchain to the most recent blocks.
    23:52:40 2016-01-29 [INF] WLLT: Rescanned through block 000000000020ed60005b65acd6dac6972a2fd3e11a47b10b9e26b77c05b903d2 (height 2400)
    23:52:40 2016-01-29 [INF] WLLT: Rescanned through block 000000000036a9584f9a70dc7557f7ec23ba3953d1d3a29e2edd33ea70282eaf (height 2500)
    23:52:40 2016-01-29 [INF] WLLT: Rescanned through block 0000000000562d2e25132e7deea9910735f73de295999d236b928f9f44f268a3 (height 2600)
    23:52:40 2016-01-29 [INF] WLLT: Finished rescan for 0 addresses (synced to block 00000000000736b937f4e0c75f2f3ee9503a36da4d12c42301b5eff7bd7dc632, height 2689)
    23:54:46 2016-01-29 [INF] WLLT: Connecting block 00000000000f1cd0bb9afa2399dd09b87fdb0009e0e9e683db924135610eba81, height 2690
     
    anondran likes this.
  3. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    There you go, your wallet is synced now yay!!
     
  4. kendie

    kendie New Member

    Jan 21, 2016
    39
    9
    Male
    Will you come out with a new address?
     
  5. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    Just follow the next step in the guide now that your wallet is connected to daemon.
     
  6. kendie

    kendie New Member

    Jan 21, 2016
    39
    9
    Male
    What am I going to do next? Waiting for synchronization to complete?:)
     
  7. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    I
    think its already synchronized. I am at block 2697. You can now go ahead and follow the next step in the guide.
     
    Freemind likes this.
  8. kendie

    kendie New Member

    Jan 21, 2016
    39
    9
    Male

    try go to step 8?
     
  9. whis

    whis New Member

    Jan 28, 2016
    59
    7
    Guys, is setting up mainnet much different than testnet? What are the differences to mine on mainnet?
     
  10. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    yeah, do it in a new command window, OK?
     
  11. kendie

    kendie New Member

    Jan 21, 2016
    39
    9
    Male
    step 11


    00:17:09 2016-01-30 [WRN] DCRD: open C:\Users\kendie\AppData\Local\Dcrd\dcrd.conf: The system cannot find the file specified.
    00:17:09 2016-01-30 [INF] DCRD: Version 0.0.1-beta
    00:17:09 2016-01-30 [INF] DCRD: Loading block database from 'C:\Users\kendie\AppData\Local\Dcrd\data\testnet\blocks_leveldb'
    00:17:09 2016-01-30 [ERR] DCRD: The process cannot access the file because it is being used by another process.
     
  12. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    you forgot step 10, goto window running dcrd and press ctrl+c to stop it. you can enter step 11 command in the same window.
     
    chappjc likes this.
  13. kendie

    kendie New Member

    Jan 21, 2016
    39
    9
    Male
    00:25:48 2016-01-30 [WRN] DCRD: open C:\Users\kendie\AppData\Local\Dcrd\dcrd.conf: The system cannot find the file specified.
    00:25:48 2016-01-30 [INF] DCRD: Version 0.0.1-beta
    00:25:48 2016-01-30 [INF] DCRD: Loading block database from 'C:\Users\kendie\AppData\Local\Dcrd\data\testnet\blocks_leveldb'
    00:25:48 2016-01-30 [INF] BCDB: Address index synced and loaded to height 2711
    00:25:48 2016-01-30 [INF] DCRD: Block database loaded with block height 2711
    00:25:48 2016-01-30 [INF] DCRD: Loading ticket database from disk
    00:25:49 2016-01-30 [INF] DCRD: Ticket DB loaded with top block height 2711
    00:25:49 2016-01-30 [INF] BMGR: Generating initial block node index. This may take a while...
    00:25:50 2016-01-30 [INF] BMGR: Block index generation complete
    00:25:50 2016-01-30 [INF] SRVR: Server listening on 0.0.0.0:19108
    00:25:50 2016-01-30 [INF] SRVR: Server listening on [::]:19108
    00:25:50 2016-01-30 [INF] RPCS: RPC server listening on [::1]:19109
    00:25:50 2016-01-30 [INF] AMGR: Loaded 35 addresses from file 'C:\Users\kendie\AppData\Local\Dcrd\data\testnet\peers.json'
    00:25:50 2016-01-30 [INF] RPCS: RPC server listening on 127.0.0.1:19109
    00:25:50 2016-01-30 [INF] DISC: 8 addresses found from DNS seed testnet.decredseed.org
    00:25:50 2016-01-30 [INF] DISC: 4 addresses found from DNS seed testnet-seed.decred.org
    00:25:51 2016-01-30 [INF] DISC: 4 addresses found from DNS seed testnet-seed.decred.netpurgatory.com
    00:26:00 2016-01-30 [INF] DISC: DNS discovery failed on seed testnet-seed.decred.mindcry.org: lookup testnet-seed.decred.mindcry.org: getaddrinfow: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server.
    00:26:01 2016-01-30 [INF] BMGR: New valid peer 195.154.5.239:19108 (outbound) (/dcrwire:0.0.1/dcrd:0.0.1/)
    00:26:01 2016-01-30 [INF] BMGR: Syncing to block height 2711 from peer 195.154.5.239:19108
    00:26:01 2016-01-30 [INF] BMGR: New valid peer 52.72.95.150:19108 (outbound) (/dcrwire:0.0.1/dcrd:0.0.1/)
    00:26:02 2016-01-30 [INF] BMGR: New valid peer 52.71.223.47:19108 (outbound) (/dcrwire:0.0.1/dcrd:0.0.1/)
    00:26:18 2016-01-30 [INF] RPCS: New websocket client [::1]:63081
    00:26:19 2016-01-30 [INF] RPCS: Beginning rescan for 20 addresses
    00:26:37 2016-01-30 [INF] RPCS: Finished rescan
     
    anondran likes this.
  14. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    great! everything is fine, go on to next step.
     
  15. kendie

    kendie New Member

    Jan 21, 2016
    39
    9
    Male
    start_local.bat
    cgminer --blake256 -o 127.0.0.1:19109 -u XXX -p XXXX

    Is this set?
     
  16. kendie

    kendie New Member

    Jan 21, 2016
    39
    9
    Male
    How to know that they get to the coin?
     
  17. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    That should do it, just use the username & password from step 1
     
  18. kendie

    kendie New Member

    Jan 21, 2016
    39
    9
    Male

    cgminer version 3.7.2 - Started: [2016-01-30 00:36:05]
    --------------------------------------------------------------------------------
    (5s):69.35M (avg):75.04Mh/s | A:0 R:0 HW:0 WU:0.7/m
    ST: 3 SS: 0 NB: 4 LW: 0 GF: 0 RF: 0
    Connected to 127.0.0.1 diff 697 without LP as user zhujinbiao
    Block: 17a13f00... Diff:257 Started: [00:41:30] Best share: 3
    --------------------------------------------------------------------------------
    [P]ool management [G]PU management ettings [D]isplay options [Q]uit
    GPU 0: | 69.16M/75.04Mh/s | A:0 R:0 HW:0 WU:0.7/m I: 3
    --------------------------------------------------------------------------------

    [2016-01-30 00:36:04] Started cgminer 3.7.2
    [2016-01-30 00:36:04] Probing for an alive pool
    [2016-01-30 00:36:05] Network diff set to 257 (target 1b5dfe5c)
    [2016-01-30 00:36:05] No suitable long-poll found for http://127.0.0.1:19109
    [2016-01-30 00:37:00] New block detected on network
    [2016-01-30 00:40:29] New block detected on network
    [2016-01-30 00:41:30] New block detected on network
     
  19. sambiohazard

    sambiohazard Sr. Member

    Jan 21, 2016
    844
    372
    woo!! finally we got you mining!! yay!!
    Your hashrate is low but you will see "A:" >0 when you find a block. Also miner will show "Accepted fjri45jgs9" something like that.
     
  20. whis

    whis New Member

    Jan 28, 2016
    59
    7
    A is now 697, does that mean i have mined so much blocks? Also i don't see "Accepted..." in miner.
    sn.PNG
     

Share This Page