Author

Topic: PROBLEM: mining genesis block x11 algo setgenerate (Read 1801 times)

legendary
Activity: 1400
Merit: 1050
or alternatively implement the missing method... (guess you didn't clone the right coin...)
hero member
Activity: 868
Merit: 1000
Done!
Thanks for your help.  Wink
hero member
Activity: 672
Merit: 500
http://fuk.io - check it out!
yes cpuminer isthe way to go for x11
hero member
Activity: 868
Merit: 1000
Cpuminier didn't work. Or at least, i'm not able to run in a proper way.
Have downloaded and compiled xcoin-cpuminer but don't know what to put on -o -u- p- to run it to mine first block. Basically i miss which default parameters use the default "set generate true"

Pool address:
Username:
Password:




Thanks for your help
newbie
Activity: 37
Merit: 0
use cpuminer to mine the first blocks!

Did you try this OP? If so did it work?  Huh
hero member
Activity: 525
Merit: 531
use cpuminer to mine the first blocks!
hero member
Activity: 868
Merit: 1000
0.1 btc as reward.
hero member
Activity: 868
Merit: 1000
Hi,
I really apprecite if you someone's could helpme. I'm getting stuck on mining first genesisblock in testnet. I'm trying to fork a x11 coin with some tutorials found here and there. Already made genesisblock and relative stuff.
And also started 2 linux machine,each with in testnet mode.

This is what i have done:
-run -testnet -connect xx.xx.xx.xx on first machine
-run -testnet -connect xx.xx.xx.xx on second machine
On .conf i only write user and password.


-Create wallet getnewaddress

Then:
-testnet getinfo
"version" : "v0.9.1.1-beta",
    "protocolversion" : 90011,
    "walletversion" : 60000,
    "balance" : 0.00000000,
    "newmint" : 0.00000000,
    "stake" : 0.00000000,
    "blocks" : 0,
    "timeoffset" : 0,
    "moneysupply" : 0.00000000,
   "connections" : 2, (good, i already see 2 pc connected)
    "proxy" : "",
   "ip" : "0.0.0.0", (don't know if good or not)
    "difficulty" : {
        "proof-of-work" : 0.00000000,
        "proof-of-stake" : 0.00000000
    },
    "testnet" : true,
    "keypoololdest" : 1416577037,
    "keypoolsize" : 101,
    "paytxfee" : 0.00001000,
    "mininput" : 0.00000000,
    "errors" : ""

then i do getpeerinfo:
 "addr" : "192.168.1.74:34466",
        "services" : "00000001",
        "lastsend" : 1416610880,
        "lastrecv" : 1416610880,
        "conntime" : 1416610879,
        "version" : 90011,
        "subver" : "/OPTii:0.9.1.1/",
        "inbound" : true,
        "startingheight" : 0,
        "banscore" : 0
    },
    {
        "addr" : "192.168.1.74",
        "services" : "00000001",
        "lastsend" : 1416610880,
        "lastrecv" : 1416610880,
        "conntime" : 1416610879,
        "version" : 90011,
        "subver" : "/OPTii:0.9.1.1/",
        "inbound" : false,
        "startingheight" : 0,
        "banscore" : 0
    },
    {
        "addr" : "192.168.1.74:47357",
        "services" : "00000001",
        "lastsend" : 1416610880,
        "lastrecv" : 1416610880,
        "conntime" : 1416610879,
        "version" : 90011,
        "subver" : "/OPTii:0.9.1.1/",
        "inbound" : false,
        "startingheight" : 0,
        "banscore" : 0


Then i do getmininginfo:

"blocks" : 0, (ok, i don't have already start to mine)
    "currentblocksize" : 1000,
    "currentblocktx" : 0,
    "difficulty" : {
        "proof-of-work" : 0.00000000,
        "proof-of-stake" : 0.00000000,
        "search-interval" : 1
    },
    "blockvalue" : 2500000000000, (FIRST BLOCK REWARDS)
    "netmhashps" : 0.00000013,
    "netstakeweight" : 0.00000000,
    "errors" : "",
    "pooledtx" : 0,
    "stakeweight" : {
        "minimum" : 0,
        "maximum" : 0,
        "combined" : 0
    },
    "stakeinterest" : 3000000,
    "testnet" : true

Then, i just need to write -testnet setgenerate true to finally try to mine first block and genesis block.
Here comes the ERROR:
{"code":-32601,"message":"Method not found"}

Here i get stuck. What's that error? He didn't find the command setgenerate true?
I have also downloaded xcoin-cpuminer, compiled and launch this command:
minerd -ax11 and as pool(but i'm in solo cause i need to mine genesis block) i have try to put every ip. My ip,seednode ip,127.0.0.1 and also made several attemp with several ports. But it doesn't work It say:

Bindind thread to cpu1
Binding thread to cpu0
After 20 second it stuck:
HTTP request failed: Operation timed out after 30000 milliseconds with 0 bytes received
[2014-11-22 11:43:42] json_rpc_call failed, retry after 30 seconds


P.s. In the conf.file io only setted user and password.
Where i get wrong?

I really appreciate your help,since i lost 10 hours trying to solve it
Jump to: