Starting minig on Windows

Chucksta
Posts: 43
Joined: Tue May 31, 2011 8:04 pm
os: windows
Location: United Kingdom
Contact:

Re: Starting minig on Windows

Post by Chucksta »

Seeing as fess has not come back with any more updates, and the last entry was with him waiting 15 hours and no blocks appearing in his wallet, I thought I'd just come in with some positive news regarding solo mining...

Thanks to this thread I managed to setup solo mining and gave it a VERY short trial with 2 miners running at 305 Mhash/s each (computer is used for other things, therefore not overclocked).

Each miner located a block within minutes of each other (luck, no doubt).

It took about 20 hours (120 confirmations, I think) before they appeared in my wallet :)

tysat
Posts: 29
Joined: Sat Jun 04, 2011 3:33 am
os: windows

Re: Starting minig on Windows

Post by tysat »

I've got one running at home at about 200Mhash/s and will hopefully have found something by the time I get off work (about 9 more hours).
If I helped you out:
BTC: 1LabGXUN3rDgKpFrwG3zqh22UK11JEg5bb
NMC: N8ujgSozU4ctR2kDKiGMBVSysCtVKMGGdh

Chucksta
Posts: 43
Joined: Tue May 31, 2011 8:04 pm
os: windows
Location: United Kingdom
Contact:

Re: Starting minig on Windows

Post by Chucksta »

I forgot to say that although the miners found a block each within minutes of each other (I just happened to be looking at that screen), the whole test lasted about 2 hours. The 2 blocks came in during the first 30 minutes.

For anyone waiting on a block to appear in their wallet, just be patient, it does take a LONG time (20 hours for me).

jpt19
Posts: 1
Joined: Mon Jun 06, 2011 4:44 pm
os: windows

Re: Starting minig on Windows

Post by jpt19 »

so maybe this is a dumb question, but I am fairly new at this. How do you know that you solved a block other than by looking at your wallet (getbalance)?
I am trying to figure out what "delay" you guys are talking about. I have generated 2 blocks, and the only way I know is that I issued the "namecoind getbalance" command and it said 50.01.
That actually brings up another question. Why was my first block worth 50.01, and the second one worth exactly 50?

Chucksta
Posts: 43
Joined: Tue May 31, 2011 8:04 pm
os: windows
Location: United Kingdom
Contact:

Re: Starting minig on Windows

Post by Chucksta »

jpt19 wrote:so maybe this is a dumb question, but I am fairly new at this. How do you know that you solved a block other than by looking at your wallet (getbalance)?
I am trying to figure out what "delay" you guys are talking about. I have generated 2 blocks, and the only way I know is that I issued the "namecoind getbalance" command and it said 50.01.
That actually brings up another question. Why was my first block worth 50.01, and the second one worth exactly 50?
I've no idea why the difference in values - 50/50.01 ? I'm new to this as well.

The delay is the time taken to get the required 120 confirmations on the validity of a block that was discovered. That delay seems to vary. My first blocks took 20 hours. The next lot took a lot less (not sure how much, but not 20 hours).

Once you get the 120 confirmations, the block then appears in your wallet.

I use "namecoind listtransactions" to watch the progress of the blocks. When the block appears in the transaction list it is in an "immature" state. When the block moves from "immature" it then appears in your wallet.

I use "namecoind getinfo" to see the state of my wallet.

khal
Site Admin
Posts: 708
Joined: Mon May 09, 2011 5:09 pm
os: linux

Re: Starting minig on Windows

Post by khal »

Generated blocks includes transactions fees, so you can get more than 50NC.

It tooks around 10 hours, depending on the network speed (previous 2016 blocks were done 2x normal speed, so it tooks 10 hours). Current speed is 1,12x (http://dot-bit.org/tools/nextDifficulty.php), so around 20h.
NamecoinID: id/khal
GPG : 9CC5B92E965D69A9
NMC: N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9
BTC: 1KHAL8bUjnkMRMg9yd2dNrYnJgZGH8Nj6T

Register Namecoin domains with BTC
My bitcoin Identity - Send messages to bitcoin users
Charity Ad - Make a good deed without paying a cent

bitcoinua
Posts: 3
Joined: Fri Jul 22, 2011 8:46 pm
os: windows

Re: Starting minig on Windows

Post by bitcoinua »

Hi,
I have joined mining namecoin recently on HD 6990 with 830Mhash.
For SOLO my steps/setting are:
Please confirm if they are right and can be used by others.

1.Create bitcoin.conf

Code: Select all

host=localhost
rpcuser=anything
rpcpassword=anythingelse
rpcport=8336
daemon=1
server=1
2.Go to cmd

Code: Select all

cd C:\namecoin_2011-07-04
namecoind -server 
Wait for the blockchain to download until last block
3.Open other cmd

Code: Select all

cd C:\namecoin_2011-07-04
namecoind getinfo 
namecoind listreceivedbyaddress 0 true
namecoind getnewaddress
4.Start mining with GUIminer!
-File->New miner->New OpenGL miner
-Server:Solo
-Host:localhost
-Username:anything
-Passward:anythingelse
-Extra flags: -v -w128 -f1
-Create second NewOpenGL miner for second GPUcore with exactly the same setting!
-START mining
Result:

Code: Select all

dificulty 1, hashes: 8661 at 12:12:25 Am 416Mhash
5. Сheck the results in NMC!(after 24h mining)
* in cmd form Step 3

Code: Select all

C:\namecoin_2011-07-04>namecoind getbalance
50.00000000
So Profit! 50 NMC :D

Code: Select all

C:\namecoin_2011-07-04>namecoind listreceivedbyaddress 0 true
[
    {
        "address" : "NEGD4T6Q7oP8UhU55FwdUcRTFirpjvTn4z",
        "account" : "",
        "label" : "",
        "amount" : 0.00000000,
        "confirmations" : 0
    },
    {
        "address" : "NEzXBdyKbP1okueCpzEmXJrHMMJHT9mx9S",
        "account" : "",
        "label" : "",
        "amount" : 0.00000000,
        "confirmations" : 0
    }
]
:? So empty

Code: Select all

C:\namecoin_2011-07-04>namecoind getinfo
{
    "version" : 32191,
    "balance" : 50.00000000,
    "blocks" : 17381,
    "connections" : 8,
    "proxy" : "",
    "generate" : false,
    "genproclimit" : -1,
    "difficulty" : 23508.97554354,
    "hashespersec" : 0,
    "testnet" : false,
    "keypoololdest" : 1311252889,
    "paytxfee" : 0.00000000,
    "errors" : ""
}
So 50 NMC :D

Code: Select all

C:\namecoin_2011-07-04>namecoind listtransactions
[
    {
        "account" : "",
        "category" : "generate",
        "amount" : 50.00000000,
        "confirmations" : 223,
        "txid" : "d2e6116cffe991cbd8fda422844e646
26",
        "time" : 1311344857
    }
]
So same 50 NMC :D

Questions:
1.Is it OK to have 50 NMC in getbalance, getinfo, listtransactions but not to have them in my actual address?
2.Do I have to transfer NMC to one of my address?
3.What I get and what can I lose?
4.Do I have to change something in the settings or they are OK and I can recommend them to others?
If you have a feeling that I was helpful:
NMC
NEGD4T6Q7oP8UhU55FwdUcRTFirpjvTn4z
BTC
1GJH5gP974UfVTQk6LN8EzJa9sihUaSY1S

doublec
Posts: 149
Joined: Mon May 23, 2011 12:47 am
os: linux
Location: Auckland, New Zealand
Contact:

Re: Starting minig on Windows

Post by doublec »

It doesn't matter if your addresses start with M or N. Both are valid namecoin addresses.

khal
Site Admin
Posts: 708
Joined: Mon May 09, 2011 5:09 pm
os: linux

Re: Starting minig on Windows

Post by khal »

bitcoinua wrote:1.Is it OK to have 50 NMC in getbalance, getinfo, listtransactions but not to have them in my actual address?
Yes, yes. There are hidden addresses and those used to generate blocks stay hidden, don't know why, but they are here, so no pb.
bitcoinua wrote:2.Do I have to transfer NMC to one of my address?
No.
bitcoinua wrote:3.What I get and what can I lose?
Here is your transaction :
- http://explorer.dot-bit.org/tx/50466
Here is your address for this one :
- NKALwxtFpqq4vNJYkarpnr6AVzqFq8sxPt
To check your really own it :

Code: Select all

namecoind validateaddress NKALwxtFpqq4vNJYkarpnr6AVzqFq8sxPt
Your should see "ismine": true.
You can repear for each block your generate by searching the txid.
bitcoinua wrote:4.Do I have to change something in the settings or they are OK and I can recommend them to others?
It's ok, just a little remark :

Code: Select all

namecoind listreceivedbyaddress 0 true
This command lists your existing addresses (and visible ones), so you can use those addresses to receive money.

Code: Select all

namecoind getnewaddress
This command generates a new address each time you type it, so this is useless in your case because you can use one of the previous ones. It is recommended to generate a new address for each transaction you make (to receive money) to keep a better anonymity.
NamecoinID: id/khal
GPG : 9CC5B92E965D69A9
NMC: N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9
BTC: 1KHAL8bUjnkMRMg9yd2dNrYnJgZGH8Nj6T

Register Namecoin domains with BTC
My bitcoin Identity - Send messages to bitcoin users
Charity Ad - Make a good deed without paying a cent

bitcoinua
Posts: 3
Joined: Fri Jul 22, 2011 8:46 pm
os: windows

Re: Starting minig on Windows

Post by bitcoinua »

Thanks khal, now everything is more clear)
If you have a feeling that I was helpful:
NMC
NEGD4T6Q7oP8UhU55FwdUcRTFirpjvTn4z
BTC
1GJH5gP974UfVTQk6LN8EzJa9sihUaSY1S

Post Reply