Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: AlexMerced on May 05, 2013, 01:48:36 AM



Title: Does Litecoin use leveldb?
Post by: AlexMerced on May 05, 2013, 01:48:36 AM
I'm trying to compile litecoin in windows (just to know how) but I was following the directions outlined here:
https://bitcointalk.org/index.php?topic=149479.0

The problem is I don't find leveldb in the source code and was wondering is the process outlined in that thread would still otherwise work for the litecoin source?


Title: Re: Does Litecoin use leveldb?
Post by: gmaxwell on May 05, 2013, 01:58:51 AM
I'm trying to compile litecoin in windows (just to know how) but I was following the directions outlined here:
https://bitcointalk.org/index.php?topic=149479.0
The problem is I don't find leveldb in the source code and was wondering is the process outlined in that thread would still otherwise work for the litecoin source?
No, litecoin is forked from a very old copy of bitcoin with some of the security fixes backported (depending on which litecoin repository you pull from).

I'd heard that there were some plants to rebase litecoin on more modern Bitcoin but I have no clue where that stands.


Title: Re: Does Litecoin use leveldb?
Post by: AlexMerced on May 05, 2013, 02:00:22 AM
I'm trying to compile litecoin in windows (just to know how) but I was following the directions outlined here:
https://bitcointalk.org/index.php?topic=149479.0
The problem is I don't find leveldb in the source code and was wondering is the process outlined in that thread would still otherwise work for the litecoin source?
No, litecoin is forked from a very old copy of bitcoin with some of the security fixes backported (depending on which litecoin repository you pull from).

I'd heard that there were some plants to rebase litecoin on more modern Bitcoin but I have no clue where that stands.

interesting so does the rest of the instructions in that thread still work without the levelDB part?


Title: Re: Does Litecoin use leveldb?
Post by: grue on May 05, 2013, 02:00:53 AM
the developer of litecoin has announced that he is upgrading litecoin to 0.8. he was not given an ETA yet.


Title: Re: Does Litecoin use leveldb?
Post by: AlexMerced on May 05, 2013, 02:14:19 AM
the developer of litecoin has announced that he is upgrading litecoin to 0.8. he was not given an ETA yet.

that's fine, I'm just trying to compile the current version since that is what smallchange is based which is what I'm forking.

I'm just trying to see if there is anything not mentioned in the above thread I'd need to compiling the current litecoin code.


Title: Re: Does Litecoin use leveldb?
Post by: oakpacific on May 05, 2013, 04:21:01 PM
So does the old Berkeley DB bug still affect Litecoin?


Title: Re: Does Litecoin use leveldb?
Post by: 🏰 TradeFortress 🏰 on May 06, 2013, 04:21:11 AM
So does the old Berkeley DB bug still affect Litecoin?
The DB bug only happens when you also use levelDB as the bug breaks compatibility.


Title: Re: Does Litecoin use leveldb?
Post by: oakpacific on May 07, 2013, 12:42:45 PM
So does the old Berkeley DB bug still affect Litecoin?
The DB bug only happens when you also use levelDB as the bug breaks compatibility.

You are right that it doesn't cause any damage, but a bug is a bug and it's possible to know if it's there.