-
Notifications
You must be signed in to change notification settings - Fork 68
Stop downloading ancient version of litecoin #19
Comments
litecore-node auto installs the binary as the Litecoin Core backend it connects to has custom endpoints that it needs to connect to. So if anyone is willing to update litecoin-litecore (the backend) to 0.17.1, we'd be able to bump that. |
What special endpoints are these? Why not integrate these into the main litecoin project? Isn't the endpoint just supposed to provide ZMQ and At least that's how it's working with dash. |
Changes can be seen in commit history. It includes changes like block data to JSON, which will never be accepted into Core. |
Now we have the problem I tried to warn you about: ancient version of
How are we supposed to fix that? |
Using litecoind from
For now i killed the local blockchain and am letting |
Please let us know if that fixes it. I find it kind of hard to believe that
we’ve somehow managed to accept a block causing a chainfork on older
clients, since we haven’t hardforked like that...
…On Fri, 31 Jan 2020 at 11:16, @c0deright ***@***.***> wrote:
Using litecoind from litecoin-0.17.1 did result in a similar error at
this block, even when using reconsiderblock:
2020-01-31T10:55:36Z UpdateTip: new best=5d53720aa7f701f664c8752faf63b02c6d96d7131627c72eb383d8f300535bc8 height=1780445 version=0x20000000 log2_work=73.859295 tx=40541094 date='2020-01-30T21:03:32Z' progress=0.999589 cache=1.1MiB(8262txo)
2020-01-31T10:55:36Z UpdateTip: new best=dd5a082edbb67d5d640ab27763a7f8b7cb0df6936d9591743a9985a98e05bcba height=1780446 version=0x20000000 log2_work=73.859297 tx=40541163 date='2020-01-30T21:06:25Z' progress=0.999590 cache=1.2MiB(8610txo)
2020-01-31T10:55:36Z UpdateTip: new best=72e22fa7bd790f0dbc4706bebbc647ac2b981758751d0d481cc9be8d94daf68e height=1780447 version=0x20000000 log2_work=73.859299 tx=40541189 date='2020-01-30T21:07:23Z' progress=0.999591 cache=1.2MiB(8647txo)
2020-01-31T10:55:36Z UpdateTip: new best=79928e1a0c63709633e07f576dd85d25142c65cfc351e55f571cbb63f6ff1fe9 height=1780448 version=0x20000000 log2_work=73.859301 tx=40541239 date='2020-01-30T21:09:43Z' progress=0.999592 cache=1.2MiB(9137txo)
2020-01-31T10:55:36Z UpdateTip: new best=56f0e25c16f22e953f9bd41e2ec936f2e1659a83ccd7f3d922f5554fde5dfa7f height=1780449 version=0x20000000 log2_work=73.859303 tx=40541354 date='2020-01-30T21:14:51Z' progress=0.999594 cache=1.2MiB(9284txo)
2020-01-31T10:55:36Z UpdateTip: new best=ec5b5831ca4c92ad7c52f80a8f4cd6a74c4550b6a1b1667f2c85ee32bebf5224 height=1780450 version=0x20000000 log2_work=73.859305 tx=40541375 date='2020-01-30T21:15:39Z' progress=0.999595 cache=1.2MiB(9275txo)
2020-01-31T10:55:37Z ERROR: ConnectBlock: CheckQueue failed
2020-01-31T10:55:37Z InvalidChainFound: invalid block=b51ffd12be2ed31b2accecfa0199d00252954fc529e18f7eaf0d4f243408fc52 height=1780451 log2_work=73.859306 date=2020-01-30T21:31:46Z
2020-01-31T10:55:37Z InvalidChainFound: current best=ec5b5831ca4c92ad7c52f80a8f4cd6a74c4550b6a1b1667f2c85ee32bebf5224 height=1780450 log2_work=73.859305 date=2020-01-30T21:15:39Z
2020-01-31T10:55:37Z ERROR: ConnectTip(): ConnectBlock b51ffd12be2ed31b2accecfa0199d00252954fc529e18f7eaf0d4f243408fc52 failed
2020-01-31T10:55:37Z InvalidChainFound: invalid block=e57d23d7678de2a4bb2536874510f37f782ac7d4bd49e59e65760da2ff9dc92c height=1780467 log2_work=73.859337 date=2020-01-30T22:19:19Z
2020-01-31T10:55:37Z InvalidChainFound: current best=ec5b5831ca4c92ad7c52f80a8f4cd6a74c4550b6a1b1667f2c85ee32bebf5224 height=1780450 log2_work=73.859305 date=2020-01-30T21:15:39Z
2020-01-31T10:55:37Z CheckForkWarningConditions: Warning: Found invalid chain at least ~6 blocks longer than our best chain.
Chain state database corruption likely.
2020-01-31T10:55:37Z CheckForkWarningConditions: Warning: Found invalid chain at least ~6 blocks longer than our best chain.
Chain state database corruption likely.
For now i killed the local blockchain and am letting litecore-litecoin
redownload everything. Let's see if the error occurs again.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#19>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAT43OUKAXN72T6P65LYMJ3RAQCBZANCNFSM4HYII6QQ>
.
|
Purging the local blockchain and redownloading everything fixed the issue. So it's obviously not something hardfork or consensus related. |
downloading old versions automatically
Currently when installing litecore-node it's preinstall script
download
installs an ancient versionv0.13.2.1-litecore-rc2
of a special version of litecoin.That ancient version of litecoin is indeed downloaded twice! Once when
npm install
runs and a second time whenlitecore-node install
runs. This is awful on so many levels!Instead litecore-node should NOT download any binary at all but let the user decide which version to run.
skip that useless download
When setting
it skips the download but later bails out because something tries to chmod the nonexisting binary
litecoind
:There are so many workarounds needed to get this installed and running in a meaningfull manner...
For a sane way to use
litecoin-node
see below: Remove all the auto-installed litecoin versions and install the latest version on your own.Example Dockerfile with newest litecoin binary included
bitcoin.conf
The text was updated successfully, but these errors were encountered: