-
Notifications
You must be signed in to change notification settings - Fork 192
Conversation
sync with upstream/master before pull request
Initial read, this is great! Could you close this PR and make PR on Thanks! |
That's quite a pull request, I'm sure that took a lot of effort! Thanks for contributing. A few remarks and questions:
|
Could you please target the branch In my opinion, as soon as <3 |
Looks good! One last thing, can you run |
pycodestyle prompt.py or prompt_rocksdb.py didn't error out. |
Right, the tests fail because the
I think this state is fine to merge it in the feature-rocksdb branch. Then we can move on to more testing and merging the prompt.py files. 👍 |
@xingfang0408 which rocksdb Python package are you using? This: https://github.com/stephan-hof/pyrocksdb? |
@metachris This is the rocksdb python package I use https://github.com/twmht/python-rocksdb, it looks like the other one hasn't been updated for a long time. |
Looks great! We'll merge it in and start work on integrating it to the project! |
What current issue(s) does this address?, or what feature is it adding?
add rocksdb support in neo/Implementations/Blockchains/RocksDB/.
How did you solve this problem?
add a new rocksdb directory and replaced existing API calls to leveldb with rocksdb in the new directory.
add prompt_rocksdb.py under root to invoke rocksdb APIs.
How did you make sure your solution works?
Executed existing testcases under leveldb/test, tests passed, no regression.
Did you add any tests?
Migrated existing testcases under LevelDB/test to RocksDB/test, tests passed.
Are there any special changes in the code that we should be aware of?
N/A. User need to take separate steps to install rocksdb python package.