Skip to content
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

chore: code cleanup for db trait #289

Merged
merged 3 commits into from
Mar 5, 2019
Merged

chore: code cleanup for db trait #289

merged 3 commits into from
Mar 5, 2019

Conversation

quake
Copy link
Member

@quake quake commented Feb 24, 2019

No description provided.

@@ -164,7 +164,7 @@ fn new_chain() -> (
let shared = SharedBuilder::<CacheDB<RocksDB>>::default()
.db(&DBConfig {
path: db_dir.path().to_owned(),
rocksdb: None,
options: None,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my opinion, rocksdb is better.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want to reuse the DBConfig in other backend db, e.g. LMDB: SharedBuilder::<CacheDB<Lmdb>>::default()..., so renamed it to options

@doitian doitian merged commit 9d2efa8 into develop Mar 5, 2019
@doitian doitian deleted the quake/db_cleanup branch March 5, 2019 13:20
bors bot added a commit that referenced this pull request Jan 4, 2021
2490: chore: upgrade tentacle r=quake,yangby-cryptape a=driftluo

Features

    Add protocol spawn feature(#278)
    Revert yamux buffer(#281)
    Remove secp256k1 wasm compatible(#282)
    Add doc(#289)

Bug Fix

    Unified substream error output(#287)
    Fix some msg left on buffer(#288)
    Change blocking session detection(#290)


Co-authored-by: driftluo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants