Code Monkey home page Code Monkey logo

account-indexer's People

Contributors

kivutar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

account-indexer's Issues

Correct cmd version

Tuyens-MacBook-Pro:account-indexer tuyennguyen$ go run cmd/indexer/main.go help
NAME:
   indexer - the indexer for geth

USAGE:
   main [global options] command [command options] [arguments...]

VERSION:
   1.8.20-unstable

The version above should be the github release

Cannot get transaction receipt

Getting this error in mainnet:

2019/03/02 12:08:03 Indexer: realtimeIndex - received BlockDetail 7290108 blockTime: 2019-03-02 12:07:59 +0000 UTC
2019/03/02 12:08:08 ChainFetch: getTransactionDetail cannot get receipt for transaction 0x01fc989d7ac9ba1610f9a5a32616ac314b2caa094843f85861d978c2b16f1f00, error=not found
2019/03/02 12:08:08 ChainFetch: RealtimeFetch Cannot get block detail for block 7290109
2019/03/02 12:08:08 ChainFetch: Stopped RealtimeFetch
2019/03/02 12:08:08 Indexer: Stopping realtimeIndex, ipc is switched?
2019/03/02 12:08:08 Indexer: Stopped realtimeIndex
2019/03/02 12:08:08 IpcManager: Cannot switch IPC, number of IPC = 1
blockform@mainindex2:~/go/src/github.com/WeTrustPlatform/account-indexer/cmd/indexer$

"leveldb: closed" issue

Get this error after rerun account-indexer:

[GIN-debug] GET    /api/v1/accounts/:accountNumber --> github.com/WeTrustPlatform/account-indexer/http.(*Server).getTransactionsByAccount-fm (3 handlers)
[GIN-debug] GET    /api/v1/accounts/:accountNumber/total --> github.com/WeTrustPlatform/account-indexer/http.(*Server).getTotalByAccount-fm (3 handlers)
2019/03/05 10:23:25 Indexer: IPC path /datadrive/geth.ipc is correct, latestBlock=7308800
2019/03/05 10:23:25 Indexer: Starting realtime index
2019/03/05 10:23:25 Indexer: start batchIndex, tag=3-7308800-:
2019/03/05 10:23:25 Indexer: start batchIndex, tag=0-7308800-:
2019/03/05 10:23:25 Indexer: start batchIndex, tag=1-7308800-:
2019/03/05 10:23:25 Indexer: start batchIndex, tag=2-7308800-:
2019/03/05 10:23:25 Indexer: start batchIndex, tag=5-7308800-:
2019/03/05 10:23:25 ChainFetch: RealtimeFetch Waiting for new block hearders...
2019/03/05 10:23:25 Indexer: start batchIndex, tag=6-7308800-:
2019/03/05 10:23:25 Indexer: start batchIndex, tag=7-7308800-:
2019/03/05 10:23:25 Indexer: start batchIndex, tag=4-7308800-:
2019/03/05 10:23:25 2-7308800-: Indexer: cannot update batch for process block 2 , error is leveldb: closed

Note that previously I have issue #24 before getting this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.