diff options
author | Meng-Ying Yang <garfield@dexon.org> | 2018-12-27 19:22:41 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:55 +0800 |
commit | e846701f0556712bcc15f676793f300dbbaf27b4 (patch) | |
tree | 0c7cb5e05d01409cc59ea374ee574488672ca81e /cmd/gdex | |
parent | 4c5f086c60d805146f7938bd6b07775986c868cc (diff) | |
download | go-tangerine-e846701f0556712bcc15f676793f300dbbaf27b4.tar go-tangerine-e846701f0556712bcc15f676793f300dbbaf27b4.tar.gz go-tangerine-e846701f0556712bcc15f676793f300dbbaf27b4.tar.bz2 go-tangerine-e846701f0556712bcc15f676793f300dbbaf27b4.tar.lz go-tangerine-e846701f0556712bcc15f676793f300dbbaf27b4.tar.xz go-tangerine-e846701f0556712bcc15f676793f300dbbaf27b4.tar.zst go-tangerine-e846701f0556712bcc15f676793f300dbbaf27b4.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')
-rw-r--r-- | cmd/gdex/main.go | 2 | ||||
-rw-r--r-- | cmd/gdex/usage.go | 7 |
2 files changed, 9 insertions, 0 deletions
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 @@ -240,6 +240,13 @@ var AppHelpFlagGroups = []flagGroup{ }, }, { + Name: "INDEXER", + Flags: []cli.Flag{ + utils.IndexerEnableFlag, + utils.IndexerPluginFlag, + }, + }, + { Name: "WHISPER (EXPERIMENTAL)", Flags: whisperFlags, }, |