Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solarcoin not syncing #32

Open
paketecuento opened this issue Jan 5, 2018 · 14 comments
Open

solarcoin not syncing #32

paketecuento opened this issue Jan 5, 2018 · 14 comments

Comments

@paketecuento
Copy link

paketecuento commented Jan 5, 2018

I followed the steps given in https://github.com/Scalextrix/SolarCoin-Raspberry-Pi-Node/blob/master/Create-a-Pi-Node.md

and succesfully installed solarcoind.

{
    "version" : "v2.1.8.0",
    "protocolversion" : 70005,
    "walletversion" : 60001,
    "balance" : 0.00000000,
    "newmint" : 0.00000000,
    "stake" : 0.00000000,
    "blocks" : 0,
    "timeoffset" : 0,
    "connections" : 0,
    "proxy" : "",
    "ip" : "0.0.0.0",
    "difficulty" : {
        "proof-of-work" : 0.00024414,
        "proof-of-stake" : 0.00024414
    },
    "coinsupply" : 33017974,
    "blocksperhour" : 0,
    "testnet" : false,
    "keypoololdest" : 1515187440,
    "keypoolsize" : 101,
    "paytxfee" : 0.00010000,
    "mininput" : 0.00001000,
    "errors" : ""
}

After some minutes i checked debug.log and get

trying connection 121.3.203.164:18188 lastseen=172.0hrs
connection timeout
trying connection 162.243.42.162:18188 lastseen=255.1hrs
connection timeout
trying connection 71.176.103.119:18188 lastseen=320.7hrs
connection timeout
trying connection 207.12.89.226:18188 lastseen=173.3hrs
connection timeout
trying connection 202.55.37.203:18188 lastseen=278.5hrs
connection timeout
trying connection 162.242.170.252:18188 lastseen=198.9hrs
connection timeout
trying connection 176.31.250.82:18188 lastseen=201.7hrs
connection timeout
trying connection 178.137.21.98:18188 lastseen=241.9hrs
connection timeout
trying connection 98.197.78.179:18188 lastseen=188.9hrs
connect() failed after select(): No route to host
trying connection 180.176.0.4:18188 lastseen=232.1hrs
connection timeout
trying connection 174.101.141.126:18188 lastseen=230.9hrs
connection timeout
trying connection 41.135.42.182:18188 lastseen=209.7hrs
connection timeout
trying connection 54.252.61.184:18188 lastseen=316.7hrs
connection timeout
trying connection 101.164.65.167:18188 lastseen=174.0hrs
connection timeout
trying connection 193.110.79.215:18188 lastseen=309.0hrs
connection timeout
trying connection 87.194.145.192:18188 lastseen=176.3hrs
connection timeout
trying connection 70.36.234.109:18188 lastseen=200.5hrs
connection timeout
trying connection 94.1.58.49:18188 lastseen=178.3hrs
connection timeout
trying connection 178.137.21.98:18188 lastseen=242.0hrs
connection timeout
trying connection 83.252.30.14:18188 lastseen=283.9hrs
connection timeout
trying connection 85.216.121.200:18188 lastseen=292.8hrs
connection timeout
trying connection 72.178.110.201:18188 lastseen=180.0hrs
connection timeout
trying connection 37.113.178.72:18188 lastseen=187.1hrs
connection timeout
trying connection 76.118.248.180:18188 lastseen=229.8hrs
connection timeout
trying connection 75.66.64.229:18188 lastseen=230.2hrs
connection timeout
trying connection 217.121.75.206:18188 lastseen=181.3hrs

is it normal? how can I mine this cryptocurrency?

@Scalextrix
Copy link

do you have the correct addnodes in the solarcoin.conf file?

@paketecuento
Copy link
Author

paketecuento commented Jan 7, 2018

this is my solarcoin.conf


server=1
daemon=1
rpcuser=solarcoinrpc
rpcpassword=Bo7kXcrDePxvnQJqzxgbU9AZezpP56xbTB4ue1ZABve6
addnode=162.243.214.120

@Scalextrix
Copy link

Scalextrix commented Jan 7, 2018

Ok that looks alright, best not to post your RPC password though.

Do you have a firewall or router blocking the connection? Can you

traceroute 162.243.214.120

Is that successful?

@paketecuento
Copy link
Author

paketecuento commented Jan 7, 2018

no problem with the password, it is just a test!!

Regarding the connection, I'm behind a router with NAT, but outgoing connections are allowed.
See my last output

connected 162.243.214.120:18188
send version message: version 70005, blocks=0, us=79.156.81.254:18188, them=162.243.214.120:18188, peer=162.243.214.120:18188
connection timeout
trying connection 50.242.139.38:18188 lastseen=225.8hrs
connection timeout
trying connection 82.237.20.196:18188 lastseen=227.6hrs
connect() failed after select(): Connection refused
trying connection 66.69.157.148:18188 lastseen=369.9hrs
connection timeout
trying connection 178.250.213.194:18188 lastseen=237.8hrs
connection timeout
trying connection 125.118.81.200:18188 lastseen=348.1hrs
connection timeout
trying connection 173.79.4.153:18188 lastseen=244.8hrs

@Scalextrix
Copy link

Looks like its getting nodes but cant find any available to connect. Stop solarcoind and try adding

addnode=2.30.71.112

to solarcoin.conf

@paketecuento
Copy link
Author

ok, now it looks syncing!!

ProcessBlock: ACCEPTED
received block 87db568cae092e39f850
SetBestChain: new best=87db568cae092e39f850...  height=8189  trust=57046580370  blocktrust=33382263  date=01/09/14 04:21:09
ProcessBlock: ACCEPTED
received block eb9e8e3073af059289e0
SetBestChain: new best=eb9e8e3073af059289e0...  height=8190  trust=57079962633  blocktrust=33382263  date=01/09/14 04:21:14
ProcessBlock: ACCEPTED
received block 8e47ae123da2b6cc4f09
SetBestChain: new best=8e47ae123da2b6cc4f09...  height=8191  trust=57113344896  blocktrust=33382263  date=01/09/14 04:21:55
ProcessBlock: ACCEPTED
received block 67e27b7b95ca3a371886
SetBestChain: new best=67e27b7b95ca3a371886...  height=8192  trust=57146727159  blocktrust=33382263  date=01/09/14 04:23:09

@Scalextrix
Copy link

great solarcoind getinfo should show a number of connections and blocks now. That IP I gave is not static, but now youhave some peers hopefully you should always find a good connection. Now you just have to wait to sync, it will take a few days.

@paketecuento
Copy link
Author

than you Steven...

{
    "version" : "v2.1.8.0",
    "protocolversion" : 70005,
    "walletversion" : 60001,
    "balance" : 0.00000000,
    "newmint" : 0.00000000,
    "stake" : 0.00000000,
    "blocks" : 24700,
    "timeoffset" : 0,
    "connections" : 1,
    "proxy" : "",
    "ip" : "79.156.81.254",
    "difficulty" : {
        "proof-of-work" : 0.60845627,
        "proof-of-stake" : 0.00024414
    },
    "coinsupply" : 33051319,
    "blocksperhour" : 0,
    "testnet" : false,
    "keypoololdest" : 1515187440,
    "keypoolsize" : 101,
    "paytxfee" : 0.00010000,
    "mininput" : 0.00001000,
    "errors" : ""
}

Now sit and wait :P

Note: how may GB should I expect?

@Scalextrix
Copy link

I didn't look recently, but I think the entire blockchain is still led than 2GB

@Scalextrix
Copy link

I just saw in the other issues you raised your device has 512MB RAM, you may have problems syncing the entire blockchain. On my Pi2 the current chain is using over 700MB RAM.

@Scalextrix
Copy link

Scalextrix commented Jan 13, 2018 via email

@onsightit
Copy link
Owner

Try these nodes in solarcoin.conf:

addnode=139.162.244.34
addnode=88.198.92.47
addnode=162.243.214.120

@Scalextrix
Copy link

I have added a node:
addnode=scalextrixsolarcoin.ddns.net

@sputniiik
Copy link

sputniiik commented May 21, 2018

I have issue trying to sync also the wallet in Ubuntu 16.4

2018-05-21 14:37:11 ProcessMessages(headers, 162790 bytes): Exception 'non-canonical ReadCompactSize(): iostream error' caught
2018-05-21 14:37:11 ProcessMessages(headers, 162790 bytes) FAILED peer=4

these are my nodes:
addnode=162.243.214.120
addnode=2.30.71.112
addnode=scalextrixsolarcoin.ddns.net

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants