all: make indexer configurable (#17188)

This commit is contained in:
gary rong authored and Péter Szilágyi committed 2018-08-28 10:08:16 +03:00
1 parent c64d72bea2
commit b69476b372
25 files changed
+513 -321

No files matched your search

-1
View File
@@ -322,7 +322,6 @@ func (c *ChainIndexer) updateLoop() {
updating = false
c.log.Info("Finished upgrading chain index")
}
c.cascadedHead = c.storedSections*c.sectionSize - 1
for _, child := range c.children {
c.log.Trace("Cascading chain index update", "head", c.cascadedHead)