Bitcoin Forum
November 07, 2024, 02:10:15 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: PROBLEM: mining genesis block x11 algo setgenerate  (Read 1798 times)
arloseb (OP)
Hero Member
*****
Offline Offline

Activity: 868
Merit: 1000


View Profile
November 22, 2014, 10:51:36 AM
 #1

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
arloseb (OP)
Hero Member
*****
Offline Offline

Activity: 868
Merit: 1000


View Profile
November 22, 2014, 02:59:11 PM
 #2

0.1 btc as reward.
elbandi
Hero Member
*****
Offline Offline

Activity: 525
Merit: 531


View Profile
November 23, 2014, 04:07:40 PM
 #3

use cpuminer to mine the first blocks!
Accommodation
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
November 23, 2014, 04:20:27 PM
 #4

use cpuminer to mine the first blocks!

Did you try this OP? If so did it work?  Huh
arloseb (OP)
Hero Member
*****
Offline Offline

Activity: 868
Merit: 1000


View Profile
November 23, 2014, 05:43:48 PM
Last edit: November 23, 2014, 07:46:49 PM by arloseb
 #5

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
kingscrown
Hero Member
*****
Offline Offline

Activity: 672
Merit: 500


http://fuk.io - check it out!


View Profile WWW
November 26, 2014, 07:06:52 PM
 #6

yes cpuminer isthe way to go for x11

arloseb (OP)
Hero Member
*****
Offline Offline

Activity: 868
Merit: 1000


View Profile
November 26, 2014, 10:17:33 PM
 #7

Done!
Thanks for your help.  Wink
djm34
Legendary
*
Offline Offline

Activity: 1400
Merit: 1050


View Profile WWW
November 27, 2014, 02:24:41 AM
 #8

or alternatively implement the missing method... (guess you didn't clone the right coin...)

djm34 facebook page
BTC: 1NENYmxwZGHsKFmyjTc5WferTn5VTFb7Ze
Pledge for neoscrypt ccminer to that address: 16UoC4DmTz2pvhFvcfTQrzkPTrXkWijzXw
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!