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

Select comporators for LevelDB connections #42

Open
maxd opened this Issue Sep 21, 2018 · 1 comment

Comments

2 participants
@maxd
Copy link
Contributor

maxd commented Sep 21, 2018

LevelDB allow to use custom comparators. Right now Keylord application doesn't support them and use default "leveldb.BytewiseComparator" comparator always. In this case Keylord application can't open LevelDB databases with custom comparators:

keylord_problem

So, need to add support of custom LevelDB comporators.

@maxd maxd added the feature label Sep 21, 2018

@maxd maxd added this to Future in Keylord Roadmap Sep 21, 2018

@inertia186

This comment has been minimized.

Copy link

inertia186 commented Dec 18, 2018

Same problem:

image

Steps to recreate:

I'm using a modified version of tintoy with a rocksdb plugin enabled.

docker run -d -v /tmp/blockchain:/var/lib/steemd/blockchain inertia/tintoy:latest

Have to edit the docker instance after is starts and modify $HOME/config.ini and change account_history to account_history_rocksdb, then kill steemd on steemd-seed.pid and start it back up. Then it will create a rocksdb database.

Or, download the testnet example database here:

https://www.dropbox.com/s/9wvm96x01vi4ft3/keylord-issue-42-blockchain.zip?dl=0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment