From 422641fb957e2d381605bd19cad474cf26873f38 Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Fri, 13 Jan 2017 04:25:18 +0000 Subject: [PATCH] Info about 10 block delay when searching using custom lmdb added --- README.md | 5 +++-- src/templates/search_results.html | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 66bce24..4cf0abd 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/src/templates/search_results.html b/src/templates/search_results.html index 123b476..d8a6f64 100644 --- a/src/templates/search_results.html +++ b/src/templates/search_results.html @@ -3,7 +3,7 @@ {{#no_results}}

Nothing in the blockchain has been found that matches the search term :-(

-
Note: there might be 1-2 min delay between my blockchain and others
+
Note: there might be 10 block delay between what can be searchable (e.g., key images)
{{/no_results}} {{#to_many_results}}