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
Dojo
addrindexrs
Commits
de9d945d
Unverified
Commit
de9d945d
authored
Apr 30, 2020
by
kenshin samourai
Committed by
GitHub
Apr 30, 2020
Browse files
Merge pull request #7 from Samourai-Wallet/feat_add_traces
add trace for indexed block
parents
653750d6
95777495
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/index.rs
src/index.rs
+1
-0
No files found.
src/index.rs
View file @
de9d945d
...
@@ -393,6 +393,7 @@ impl Index {
...
@@ -393,6 +393,7 @@ impl Index {
let
rows_iter
=
batch
.iter
()
.flat_map
(|
block
|
{
let
rows_iter
=
batch
.iter
()
.flat_map
(|
block
|
{
let
blockhash
=
block
.bitcoin_hash
();
let
blockhash
=
block
.bitcoin_hash
();
info!
(
"indexing block {}"
,
blockhash
);
index_block
(
block
)
.chain
(
std
::
iter
::
once
(
last_indexed_block
(
&
blockhash
)))
index_block
(
block
)
.chain
(
std
::
iter
::
once
(
last_indexed_block
(
&
blockhash
)))
});
});
...
...
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