Code Monkey home page Code Monkey logo

ckbstats's People

Contributors

daryl-l avatar

Watchers

 avatar  avatar

Forkers

pygman anipenguin

ckbstats's Issues

Misspelled word: difficultis

The difficulty section header is misspelled as "difficultis".

20230105205107

The correct spelling is "difficulty" or "difficulties" for plural. In this context I prefer "difficulty".

After ckbstats runs for a period of time, the application does not display ckb node data source information

After ckbstats runs for a period of time, the application does not display ckb node data source information
image

reproduce:Build the ckbstats application and run the stability test

Troubleshooting steps:

  • step 1:by querying the tip block
curl -d '{"id": 1, "jsonrpc": "2.0", "method":"get_tip_header","params": []}' \
  -H 'content-type:application/json' 'http://localhost:8114/'

"jsonrpc":"2.0","result":{"compact_target":"0x19dcd054","dao":"0x49b0d14b1c32653411eb9be5aa8b240018e0d05f25663001009ec5675a080207","epoch":"0x56d0141000669","extra_hash":"0x0000000000000000000000000000000000000000000000000000000000000000","hash":"0xfe117e443ac4912d9ccc7cac15d97198971e3143ffa2a14b1e6d0751c8a33678","nonce":"0x8191d6c7621b00000000500644570000","number":"0x26b263","parent_hash":"0x5bc768e3216d26fb060d4fdc0b426c1ad413819100eca4afd728ff4f40342f21","proposals_hash":"0x8ad97ee6f6654fc5f51649a54d8c29e4328d26094cbd4a947165476fcaeb06b6","timestamp":"0x174000f929a","transactions_root":"0xd57eccdb4892c540403bb0ca7273eef771729041385201b34c9ae9a74668f56b","version":"0x0"},"id":1}
  • step 2:by ckb log finds that the ckb node is running normally by querying the tip block and logs
    image

  • step 3:Consider the app to increase the log of scheduled tasks to troubleshoot the app to send a request to the ckb node
    image

Some suggestions

The overall color is a bit monotonous, can we use a similar style of terminal?

The title of the page can be changed to ckbstat

[Optimization] Consider optimizing the URL reading method of nodes in the .env file, which can be designed as node url, and the value is a string array compatible with the url information of different nodes, including ckb or ankr and other types of nodes

Script:Consider optimizing the URL reading method of nodes in the .env file, which can be designed as node url, and the value is a string array compatible with the url information of different nodes, including ckb or ankr and other types of nodes, and then read in rotation
Reference content:
NODE_INDEXER_URL=["CKB_INDEXER_URL1", "CKB_INDEXER_URL2"]
NODE_RPC_URL=["CKB_RPC_URL1", "CKB_RPC_URL2"]

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.