Lambda mining FAQs

FAQ

Program wrong version

Check whether the latest version of the program

incompitable: Peer is on a different network. Got lambda-chain-xx, expected lambda-chain-xx.

Lambda program has been in operation

First stop the program is already running, and then re-run

ERROR: couldn't create db: Error initializing DB: resource temporarily unavailable.

Re-upgrade error

When re-upgrade, using unsafe-reset-all clear historical data block
restart is still reported the following error, then check whether the data directory files cleaned

panic Tendermint stat.AppHash does not match AppHash after replay. Got xxxxxxxxxxxxxx, expected xxxxxxxxxx.

ls -l ~ / .lambda / data
retention priv_validator_state.json, application.db delete files.

drwxr-xr-x  11 xxxxxx  staff  352 Sep 15 08:57 application.db
-rw-------   1 xxxxxx  staff   48 Sep  8 23:23 priv_validator_state.json

Query whether the public key to verify the node is lost

./lambdacli query tendermint-validator-set | grep Pubkey | grep `./lambda tendermint show-validator`

Query node sync blocks high

./lambdacli status | grep --color latest_block_height

Whether the query section normal to vote

Download lambda-debugtool

wget https://github.com/LambdaIM/lambda-debugtool/releases/download/v0.0.1/lambda-debugtool.tar.gz
tar zxvf lambda-debugtool.tar.gz
  1. Queries original signature public key
./lambdadg show --pubkey `./lambda tendermint show-validator`

  1. Check the latest the height of the block
curl http://localhost:26657/status
  1. Check the latest block out the private key vote in return json api current interface node contains the original signature within precommits
curl http://localhost:26657/block?height=区块高度

Node becomes invalid node (the jail)

When a node on the block double sign, in the last 10,000 blocks of less than 500 block signature will be jail, and deducting a small tbb.

Re-join the consensus network

Initiated unjail message to re-join the consensus network node after the jail to wait for 10 minutes to initiate punishment unjail command

./lambdacli tx slashing unjail --from [your-account-name] --broadcast-mode block

Since lack of mortgage

If the validator does not meet the minimum collateral requirements 666,666,666utbb, pledge needs to be initiated to complement deducted utbb

validator's self delegation less than MinSelf Delegation, cannot be unjailed

Check account does not exist?

The following error occurs, it may be because you have not just started lambda sync to the latest high can block (the log /tmp/lambda.log) to view high block case

[root@zh]# ./lambdacli query account lambda1z66gxs2wlhmkhh3rljtkzk96fqkk7809zb123
ERROR: {"codespace":"sdk","code":9,"message":"account lambda1z66gxs2wlhmkhh3rljtkzk96fqkkl7809zb123 does not exist"}

ABCI connection refused?

The following error message appears, can telnetcheck whether your machine command port 26656 and 26657 can pass

ERROR: ABCIQuery: Post xxx connect: connection refused

How to modify the name Validator

./lambdacli tx staking edit-validator --moniker "your-custom-name" --from [your-account-name] --broadcast-mode block -y

Lambdacli keys to perform sub-command error

If you do lambdacli keys relevant sub-command error has the following error
ERROR: couldn't create db: Error initializing DB: leveldb: manifest corrupted (field 'comparer'): missing [file=MANIFEST-xxxxxx]

It is performed ./lambdacli keys repairafter the implementation of the relevant sub-command lambdacli keys to see whether the results returned to normal

Backup and restore node signature file

Reference: Verify node access documentation

 

Published 29 original articles · won praise 0 · Views 404

Guess you like

Origin blog.csdn.net/LambdaHe/article/details/104842530