From de4022dcce8eb0258a64f4c952e7843c84eb7811 Mon Sep 17 00:00:00 2001 From: Greg Szabo Date: Mon, 19 Feb 2018 20:16:14 -0500 Subject: [PATCH] config.toml extensions --- ansible/roles/config/templates/config.toml.j2 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ansible/roles/config/templates/config.toml.j2 b/ansible/roles/config/templates/config.toml.j2 index 6ebc28ed4..4d955352c 100644 --- a/ansible/roles/config/templates/config.toml.j2 +++ b/ansible/roles/config/templates/config.toml.j2 @@ -211,3 +211,15 @@ peer_query_maj23_sleep_duration = 2000 # 2) "kv" - the simplest possible indexer, backed by key-value storage (defaults to levelDB; see DBBackend). indexer = "kv" +# Comma-separated list of tags to index (by default the only tag is tx hash) +# +# It's recommended to index only a subset of tags due to possible memory +# bloat. This is, of course, depends on the indexer's DB and the volume of +# transactions. +index_tags = "" + +# When set to true, tells indexer to index all tags. Note this may be not +# desirable (see the comment above). IndexTags has a precedence over +# IndexAllTags (i.e. when given both, IndexTags will be indexed). +index_all_tags = false +