Skip to content

Commit

Permalink
Info about 10 block delay when searching using custom lmdb added
Browse files Browse the repository at this point in the history
  • Loading branch information
moneroexamples committed Jan 13, 2017
1 parent 9d22729 commit 422641f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,9 @@ Instruction how to compile the `lmdbcpp-monero` are provided here:
- https://github.com/moneroexamples/lmdbcpp-monero.git
The custom database is rather big, 12GB now, and it must be running alongside Monero deamon
so that it keeps updating itself with new information from new blocks as they are added
to the blockchain.
so that it keeps updating itself with new information from new blocks as they are added
to the blockchain. Also, by default it is 10 blocks behind the current blockchain height
to minimize indexing/saving orphaned blocks.
For these reasons, its use is optional. However, without it, some searches wont be possible,
e.g., searching for key images, output and tx public keys, encrypted payments id.
Expand Down
2 changes: 1 addition & 1 deletion src/templates/search_results.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ <h3> Search results for: {{search_text}} </h3>

{{#no_results}}
<h4 style="margin-bottom:2px">Nothing in the blockchain has been found that matches the search term :-(</h4>
<h5 style="margin:2px">Note: there might be 1-2 min delay between my blockchain and others</h5>
<h5 style="margin:2px">Note: there might be 10 block delay between what can be searchable (e.g., key images)</h5>
{{/no_results}}

{{#to_many_results}}
Expand Down

0 comments on commit 422641f

Please sign in to comment.