Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Check if you are baking #46

Open
concordium-cl opened this issue Jan 22, 2021 · 3 comments
Open

Check if you are baking #46

concordium-cl opened this issue Jan 22, 2021 · 3 comments
Labels

Comments

@concordium-cl
Copy link
Contributor

concordium-cl commented Jan 22, 2021

If you cannot see your bakerID on the network dashboard, try the following.

Query NodeInfo to check that you are indeed baking:

  • Windows: concordium-client.exe raw GetNodeInfo
  • *nix/macOS: ./concordium-client raw GetNodeInfo

Try the following workaround:
Make sure that the generated keys file (baker-credentials.json) is located in your concordium-data directory on the machine where the node is running. It should be under ~/.local/share/concordium on *nix and %LOCALAPPDATA%\concordium on Windows. Do not rename the file. Then restart the node.

@concordium-cl concordium-cl changed the title To check if you are baking Check if you are baking Jan 22, 2021
@fotslen1
Copy link

You just need to make sure that the baker-credentials.json file is there? He is there. Restarting didn't help.

@andrste
Copy link

andrste commented Jan 24, 2021

You just need to make sure that the baker-credentials.json file is there? He is there. Restarting didn't help.

Let me be clear, have you indicated correctly <concordium-data-dir>?

If NOT I will give you steps which helped me.

If YES (Who will be reading this issue), just restart your node by running this command on your concordium client ./concordium-node-stop

What helped to me:

  1. Added new account to Concordium ID app
  2. Exported account file from Concordium ID to my Concordium node.
  3. On Concordium client I removed that account from which I was baking
  4. Imported new account to Concordium client
  5. One of the important steps is add baker command see below.

Key thing is with command:

<concordium-data-dir> - must be replaced with directory:

  • on Linux and MacOS: ~/.local/share/concordium
  • on Windows: %LOCALAPPDATA%\\concordium

Example if you are using MacOS or Linux your command would look like this:

./concordium-client baker add generated_keys.json --sender YOURACC --stake 1000 --out ~/.local/share/concordium/baker-credentials.json

Example if you are using Windows your command would look like this:

./concordium-client baker add generated_keys.json --sender YOURACC --stake 1000 --out %LOCALAPPDATA%\\concordium\baker-credentials.json

  1. Important step!!! Reboot your node just by running command: ./concordium-node-stop

I hope it will help!

@fotslen1
Copy link

fotslen1 commented Jan 24, 2021 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants