Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

litecoin-0.13.2 cannot synchronize blocks in testnet mode #7

Open
Comer2020 opened this issue Jul 18, 2018 · 5 comments
Open

litecoin-0.13.2 cannot synchronize blocks in testnet mode #7

Comer2020 opened this issue Jul 18, 2018 · 5 comments

Comments

@Comer2020
Copy link

I have just installed litecoin-0.13.2 which is downloaded from https://litecoin.org. But it cannot synchronize any block. now, it is still at block zero. I check the log and find that none of the connections is good. the log look like:
183 2018-07-18 06:12:07 net thread start
184 2018-07-18 06:12:07 dnsseed thread start
185 2018-07-18 06:12:07 Loading addresses from DNS seeds (could take a while)
186 2018-07-18 06:12:07 init message: Done loading
187 2018-07-18 06:12:07 opencon thread start
188 2018-07-18 06:12:07 addcon thread start
189 2018-07-18 06:12:07 msghand thread start
190 2018-07-18 06:12:09 23 addresses found from DNS seeds
191 2018-07-18 06:12:09 dnsseed thread exit
192 2018-07-18 06:12:14 connect() to 173.255.213.16:19333 failed after select(): Connection refused (111)
193 2018-07-18 06:12:15 connect() to 138.68.16.50:19333 failed after select(): Connection refused (111)
194 2018-07-18 06:12:16 connect() to 173.212.194.197:19333 failed after select(): Connection refused (111)
195 2018-07-18 06:12:22 connect() to 174.138.7.213:19333 failed after select(): Connection refused (111)
196 2018-07-18 06:12:23 connect() to 144.217.66.232:19333 failed after select(): Connection refused (111)
197 2018-07-18 06:12:23 connect() to 89.40.1.28:19333 failed after select(): Connection refused (111)
198 2018-07-18 06:12:24 connect() to 107.170.17.56:19333 failed after select(): Connection refused (111)
199 2018-07-18 06:12:30 connect() to 85.214.199.24:19333 failed after select(): Connection refused (111)
200 2018-07-18 06:12:31 connect() to 104.237.131.138:19333 failed after select(): Connection refused (111)
201 2018-07-18 06:12:32 connect() to 176.221.43.113:19333 failed after select(): Connection refused (111)
202 2018-07-18 06:12:33 connect() to 68.168.124.50:19333 failed after select(): Connection refused (111)
203 2018-07-18 06:12:39 connect() to 118.193.19.166:19333 failed after select(): Connection refused (111)
204 2018-07-18 06:12:40 connect() to 178.128.18.97:19333 failed after select(): Connection refused (111)
205 2018-07-18 06:12:41 connect() to 212.129.57.233:19333 failed after select(): Connection refused (111)
206 2018-07-18 06:12:58 connect() to 173.212.194.197:19333 failed after select(): Connection refused (111)
207 2018-07-18 06:13:05 connect() to 178.128.18.97:19333 failed after select(): Connection refused (111)

is it a some protocol error when I connect to testnet?

@losh11
Copy link
Contributor

losh11 commented Jul 18, 2018 via email

@APshenkin
Copy link

APshenkin commented Jul 18, 2018

@Comer2020 you should use litecore-litecoin node. It's patched node that supports several new indexes. It's support testnetv4

here is deps that you need

    "litecore-lib": "^0.13.22",
    "litecore-node": "^3.1.11",
    "insight-lite-api": "^0.4.4",
    "insight-lite-ui": "^0.4.6"

and here is litecore-node.json config example:

{
  "network": "testnet",
  "port": 3001,
  "services": [
    "bitcoind",
    "insight-lite-api",
    "insight-lite-ui",
    "web"
  ],
  "servicesConfig": {
    "bitcoind": {
      "spawn": {
        "datadir": "./data",
        "exec": "./node_modules/litecore-node/bin/litecoind"
      }
    }
  }
}

@Comer2020
Copy link
Author

Comer2020 commented Jul 19, 2018

thanks for your all replays.

@losh11
I want to know when the update of Litecoin-0.13.x to support testnetv4 is available?

@Comer2020
Copy link
Author

Comer2020 commented Jul 19, 2018

@APshenkin

I am node.js tyro. I am trying npm install -g litecore-node@latest and find its version is litecore-node@3.1.11.

One question is litecore-node@3.1.11 will still download v0.13.2.1-litecore-rc2 which doesn't support LTC testnetv4.

Another question is that npm will compile litecoin-0.13.2-osx64.tar.gz after downloading. but there are lots of compile error. Can I avoid this compile procedure and download a compiled one instead?

My system is Mac OS

@APshenkin
Copy link

@Comer2020
I tested my configuration on mac too. and don't face any issues.

try not to install deps globaly. Use package.json and install everything localy. Also it doesn't complite anything. it downloads latest relase from github https://github.com/litecoin-project/litecore-litecoin/releases

Try to install curl on your system. Maybe you can't download. And you can check download script here:
https://github.com/litecoin-project/litecore-node/blob/master/scripts/download

And v0.13.2.1-litecore-rc2 supports LTC testenetv4. I'd launched it two days ago. here is confirmation in release notes https://github.com/litecoin-project/litecore-litecoin/blob/909371eb853a34b99f328b7c20b91af7f3cf2af1/doc/release-notes-litecoin.md#reset-testnet

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

No branches or pull requests

3 participants