Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Chiguireitor
addrindexrs
Commits
3bbbee47
Unverified
Commit
3bbbee47
authored
Jun 11, 2020
by
kenshin samourai
Committed by
GitHub
Jun 11, 2020
Browse files
Merge pull request #10 from Samourai-Wallet/develop_dojo
Develop dojo
parents
2e0bdeec
745d51ee
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
7 deletions
+18
-7
Cargo.lock
Cargo.lock
+1
-1
Cargo.toml
Cargo.toml
+1
-1
RELEASE-NOTES.md
RELEASE-NOTES.md
+15
-0
src/store.rs
src/store.rs
+1
-5
No files found.
Cargo.lock
View file @
3bbbee47
...
...
@@ -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)",
...
...
Cargo.toml
View file @
3bbbee47
[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"
...
...
RELEASE-NOTES.md
View file @
3bbbee47
...
...
@@ -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 ##
...
...
src/store.rs
View file @
3bbbee47
...
...
@@ -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
();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment