Unverified Commit 3bbbee47 authored by kenshin samourai's avatar kenshin samourai Committed by GitHub
Browse files

Merge pull request #10 from Samourai-Wallet/develop_dojo

Develop dojo
parents 2e0bdeec 745d51ee
......@@ -2,7 +2,7 @@
# It is not intended for manual editing.
[[package]]
name = "addrindexrs"
version = "0.2.0"
version = "0.3.0"
dependencies = [
"base64 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
"bincode 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
......
[package]
name = "addrindexrs"
version = "0.2.0"
version = "0.3.0"
authors = ["Roman Zeyde <me@romanzey.de>", "kenshin-samourai <kenshin_samourai@tutanota.com>"]
description = "An efficient address indexer in Rust"
license = "MIT"
......
......@@ -3,10 +3,25 @@
## Releases ##
- [v0.3.0](#0_3_0)
- [v0.2.0](#0_2_0)
- [v0.1.0](#0_1_0)
<a name="0_3_0"/>
## addrindexrs v0.3.0 ##
### Change log ###
- [#9](https://github.com/Samourai-Wallet/addrindexrs/pull/9) srewrite wriestore::flush()
#### Credits ###
- kenshin-samourai
<a name="0_2_0"/>
## addrindexrs v0.2.0 ##
......
......@@ -181,11 +181,7 @@ impl WriteStore for DBStore {
}
fn flush(&self) {
let mut opts = rocksdb::WriteOptions::new();
opts.set_sync(true);
opts.disable_wal(false);
let empty = rocksdb::WriteBatch::default();
self.db.write_opt(empty, &opts).unwrap();
self.db.flush().unwrap();
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment