From e846701f0556712bcc15f676793f300dbbaf27b4 Mon Sep 17 00:00:00 2001 From: Meng-Ying Yang Date: Thu, 27 Dec 2018 19:22:41 +0800 Subject: indexer: support data exporting/forwarding (#103) To support more effective and flexible blockchain info exploring, we add `indexer` package, defines the flow of indexer dameon, and integrate into dex.Dexon fullnode. For more export options, we use Golang built-in `plugin` package to support mulitple implementations. --- cmd/gdex/main.go | 2 ++ cmd/gdex/usage.go | 7 +++++++ 2 files changed, 9 insertions(+) (limited to 'cmd/gdex') diff --git a/cmd/gdex/main.go b/cmd/gdex/main.go index 9a1ef7bc9..c054e3ad5 100644 --- a/cmd/gdex/main.go +++ b/cmd/gdex/main.go @@ -137,6 +137,8 @@ var ( utils.GpoPercentileFlag, utils.EWASMInterpreterFlag, utils.EVMInterpreterFlag, + utils.IndexerEnableFlag, + utils.IndexerPluginFlag, configFileFlag, } diff --git a/cmd/gdex/usage.go b/cmd/gdex/usage.go index d67817096..880e447f3 100644 --- a/cmd/gdex/usage.go +++ b/cmd/gdex/usage.go @@ -239,6 +239,13 @@ var AppHelpFlagGroups = []flagGroup{ utils.MetricsInfluxDBTagsFlag, }, }, + { + Name: "INDEXER", + Flags: []cli.Flag{ + utils.IndexerEnableFlag, + utils.IndexerPluginFlag, + }, + }, { Name: "WHISPER (EXPERIMENTAL)", Flags: whisperFlags, -- cgit v1.2.3