arloseb (OP)
|
|
November 22, 2014, 10:51:36 AM |
|
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
|