-
Notifications
You must be signed in to change notification settings - Fork 9
Description
执行 bin/xindexer 命令报错
WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated.
A future release of golang/protobuf will delete this package,
which has long been excluded from the compatibility promise.
[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- using env: export GIN_MODE=release
- using code: gin.SetMode(gin.ReleaseMode)
[GIN-debug] GET /v1/transactions/:id --> icode.baidu.com/baidu/blockchain/xindexer/api/v1.GetTransactions (4 handlers)
[GIN-debug] GET /v1/transactions --> icode.baidu.com/baidu/blockchain/xindexer/api/v1.GetTransactions (4 handlers)
[GIN-debug] GET /v1/blocks --> icode.baidu.com/baidu/blockchain/xindexer/api/v1.GetBlocks (4 handlers)
[GIN-debug] GET /v1/blocks/:id --> icode.baidu.com/baidu/blockchain/xindexer/api/v1.GetBlocks (4 handlers)
[GIN-debug] GET /v1/search/:id --> icode.baidu.com/baidu/blockchain/xindexer/api/v1.Search (4 handlers)
[GIN-debug] GET /v1/transaction_stats/:type --> icode.baidu.com/baidu/blockchain/xindexer/api/v1.GetTransactionStat (4 handlers)
[GIN-debug] GET /v1/transaction_stats --> icode.baidu.com/baidu/blockchain/xindexer/api/v1.GetTransactionStat (4 handlers)
[GIN-debug] GET /v1/status --> icode.baidu.com/baidu/blockchain/xindexer/api/v1.Status (4 handlers)
[GIN-debug] GET /v1/currentBlockHeight --> icode.baidu.com/baidu/blockchain/xindexer/api/v1.GetCurrentBlockHeight (4 handlers)
[GIN-debug] GET /v1/dateTxNumber --> icode.baidu.com/baidu/blockchain/xindexer/api/v1.GetDateTxNumber (4 handlers)
[GIN-debug] Listening and serving HTTP on :8088
panic: 初始化失败,load数据失败
goroutine 11 [running]:
icode.baidu.com/baidu/blockchain/xindexer/watch.(*WatcherMgr).Start(0xc0000bc030)
/home/shikenian1/AAA/xindexer/watch/watcher_mgr.go:47 +0x9e5
created by main.main
/home/shikenian1/AAA/xindexer/cmd/xindexer/main.go:36 +0x179