Giter VIP home page Giter VIP logo

chain-docs's People

Contributors

allthatjazzleo avatar angristan avatar aw126 avatar brianmco avatar calvinaco avatar calvinlauyh avatar cdc-hitesh avatar cdc-william avatar croyyds avatar crypto-eddy avatar crypto-matto avatar dependabot[bot] avatar devashishdxt avatar dogemos avatar foreseaz avatar jimmyyip-crypto avatar juno-yu avatar landanhu avatar leejw51crypto avatar lezzokafka avatar mschmookler avatar patricevignola avatar samngmco avatar tomtau avatar williamxiecrypto avatar xinyucro avatar yihuang avatar ysong42 avatar zanglang avatar zkaizhi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar

chain-docs's Issues

Problem: No suggestion for RPC error -32603 in the docs

The issue:
A common error message
Error: RPC error -32603 - Internal error: timed out waiting for tx to be included in a block
sometimes pop up especially for larger txs such as fetching rewards/restaking.

Suggestion:

  • Adding --timeout-height flag ( Thanks @leejw51crypto );
  • Adding --gas-prices flag for fee adjustment.

Problem: ambiguous "string" type for denominations

Documentation specifying mint_denom and bond_denom as strings at:https://chain.crypto.com/docs/chain-details/parameters.html

@lezzokafka

However, a Golang string is no more than simply a slice of bytes.

Unicode characters with accents or other modifiers can have multiple correct encodings. Forexample, the Á (a-acute) glyph can be encoded as a single character U+00C1 (the “composed” form) or as two separate characters U+0041 then U+0301 (the “decomposed” form).

Note that Golang version 1.13 and above provides strings.ToValidUTF8 which removes invalid runes but does not perform normalization. There are four standard normalization forms (http://unicode.org/reports/tr15/#Norm_Forms ), one of which NFKC (See question 2 of https://unicode.org/faq/normalization.html) is the most popular and is most suitable for the Chain application.

Option 1:

Utilize the strings.ToValidUTF8 function or the ValidString() function from the Golang utf8 package, to ensure correct character encoding immediately after byte deserialization. Further, perform string normalization to form NFKC on both deserialization and serialization to ensure a consistent string representation. The Golang norm package provides suitable functionality for this purpose.

Option 2:

Another alternative is to ensure strings consist of only ASCII. This would need to be clearly documented.

Problem: Missing documentation for state sync

State sync rapidly bootstraps a new node by discovering, fetching, and restoring a state machine snapshot from peers instead of fetching and replaying historical blocks

state sync option has to be enabled in config.toml. We can experiment and document the feature and see what's the speed improvement of it.

Problem: it's tedious to modify config files following tutorial

Current testnet tutorial instruct user to change config files manually based on the one generated default, it's difficult for user, especially for state sync configuration, there are many steps for that.
It would be easier if we provide prepared config files for download, even better, user download a tarball which includes genesis file and config files (even binary?) together.

Problem: missing sed that work on both OSX and linux

https://chain.crypto.com/docs/getting-started/croeseid-testnet.html#step-2-2-configurate-chain-maind
currently, it can only work on OSX not linux and can only run one time(not idempotent)
Also, should change seeds instead of persistent_peers

Suggestion

$ sed -i.bak -E 's#^(seeds[[:space:]]+=[[:space:]]+).*$#\1"[email protected]:26656,[email protected]:26656,[email protected]:26656"# ; s#^(create_empty_blocks_interval[[:space:]]+=[[:space:]]+).*$#\1"5s"#' ~/.chain-maind/config/config.toml

Problem: Outdated content

Remove outdated content from the chain docs such as the old deployment steps and Rust specific modules.

Problem: unsupported instance types in AWS Nitro integration doc

We noticed an error on their documentation about the support instance types. A1, I3, T3, high memory are not supported. I3 is Xen. High memory are all bare metals which aren't supported. Could you help to point this out to them?
https://chain.crypto.com/docs/getting-started/advanced-tmkms-integration.html#setting-up-aws-nitro-enclaves-tendermint-kms-for-signing-blocks
AWS Nitro Enclaves support (to name a few) the M5, C5, R5, T3, I3, A1, P3dn, z1d, and High Memory instances. There are no additional charges on top of the cost of running supported EC2 instance types (with 4 vCPUs and above).
FYI - this is how we phrase it on our user guide (https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html)
"Virtualized Nitro-based instances with at least four vCPUs, except t3, t3a, t4g, a1, c6g, c6gd, m6g, m6gd, r6g, and r6gd"

Problem: No mentioning of `pystarport start` to keep block status

Since running pystarport serve would remove all blocks and regenerate genesis block everytime, it could be confusing for starters who have to redo all the transaction process if they stops pystarport meanwhile. Therefore, we should also include the pystarport start command in setup tutorial.

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.