aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/gdex/main.go
diff options
context:
space:
mode:
authorMeng-Ying Yang <garfield@dexon.org>2018-12-27 19:22:41 +0800
committerWei-Ning Huang <w@dexon.org>2018-12-28 14:15:39 +0800
commitd6a3661830f80ef57be208cec457d49c44a8d435 (patch)
tree9bcc12b6677df1f05a8992538f787ae600651807 /cmd/gdex/main.go
parentd19dc5239ff44267f9bd3a9e8c6d182e56dd3a6f (diff)
downloaddexon-d6a3661830f80ef57be208cec457d49c44a8d435.tar
dexon-d6a3661830f80ef57be208cec457d49c44a8d435.tar.gz
dexon-d6a3661830f80ef57be208cec457d49c44a8d435.tar.bz2
dexon-d6a3661830f80ef57be208cec457d49c44a8d435.tar.lz
dexon-d6a3661830f80ef57be208cec457d49c44a8d435.tar.xz
dexon-d6a3661830f80ef57be208cec457d49c44a8d435.tar.zst
dexon-d6a3661830f80ef57be208cec457d49c44a8d435.zip
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.
Diffstat (limited to 'cmd/gdex/main.go')
-rw-r--r--cmd/gdex/main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/gdex/main.go b/cmd/gdex/main.go
index 28e918f84..df1be3083 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,
}