Hot answers tagged

6 votes

How to Curl the current version of the node

curl https://florencenet.smartpy.io/version Output: {"version":{"major":9,"minor":1,"additional_info":"release"},"network_version":{"...
user avatar
4 votes
Accepted

Any security issue with snapshots download from internet?

You don't need to trust the provider of the snapshot very much. Once you have imported the snapshot, you can simply check that the hash of a recent block is the same as the hash given by some explorer ...
user avatar
3 votes
Accepted

tezos 11.0-1 fails to start any binary on Ubuntu 18

This means your CPU does not have the required instruction set to run Tezos. There is an ongoing debate around this issue: https://gitlab.com/tezos/tezos/-/issues/1788 The linked issue is about docker,...
user avatar
  • 3,334
3 votes
Accepted

baking_rights rpc return "401 Unauthorized"

Yes, you missed the documentation about the new ACLs that were introduced. The new ACLs broke RPC for just about everyone. Here is a node config snippet that allows all RPCs from localhost, adjust ...
user avatar
  • 3,334
2 votes

How do I recover from a corrupted context

Courtesy of Pierre: https://gitlab.com/tezos/tezos/-/issues/1370#note_575210288 To recover "quickly", you need to start over from a fresh snapshot. (you could even probably generate a ...
user avatar
  • 2,348
2 votes
Accepted

Getting "Worker crashed" errors in Octez 9.4

The database powering tezos is extremely susceptible to crashes and corruption. Trash your datadir and import a fresh snapshot.
user avatar
  • 3,334
2 votes
Accepted

How to become a public baker?

To get listed on Baking Bad and TzKT as a public baker, just contact our support on twitter, telegram, discord or email us hello@baking-bad.org and we'll walk you through
user avatar
  • 329
2 votes

Problems exposing rpc interface

The docker implementation with tezos is bad. https://gitlab.com/tezos/tezos/-/issues/548 It does not allow for many configuration parameters to be customized, and hard-codes many parameters too. For ...
user avatar
  • 3,334
2 votes
Accepted

Check that the tezos-node network settings are properly configured from the command line?

There is no direct tool to confirm if your node is functioning properly. You can use tezos-node config show to verify the running config before starting. Watch (ie: read) the output when the node ...
user avatar
  • 3,334
2 votes

How many nodes are there on Tezos?

Baking Bad wrote an article on the number of nodes. This is a bit old but very relevant to your questions. The takeaway is that at that time there were approximately: 200 public nodes 400 bakers 1600 ...
user avatar
1 vote
Accepted

Does a rolling node have the information to serve RPC queries without relying on other, full nodes?

A rolling node works perfect for your situation. A rolling node has the state of the chain going back 5 cycles (by default; is adjustable). or would it have to forward the RPC request Nodes do not ...
user avatar
  • 3,334
1 vote
Accepted

Delete the last block from tezos-node storage?

There is currently no way to do such a thing. However, if the block is "just an alternative head", new blocks with better fitness should be considered and the node should switch to another ...
user avatar
  • 691
1 vote

How many nodes are there on Tezos?

You can't know the exact number of nodes since they can come/go and not every node connects to every other node. Nodes can also choose to be private and thus their info is not broadcasted to other ...
user avatar
  • 3,334
1 vote

401 Status code while dry-run operation

You need to modify your config to allow remote access by adding 0.0.0.0 to listen-addrs and acl address: { "data-dir": "/var/run/tezos/node/data", "rpc": { "...
user avatar
  • 329
1 vote

Getting "too few connections" in full tezos-node with Octez 11.0

You have min-connections set to 300 and your node says it only has 161. The message in the log is printed based on these two numbers. Simply lower your --connections and the messages will stop. If you ...
user avatar
  • 3,334
1 vote
Accepted

How to get parsed / human-readable contract storage with tezos-node?

If you like the way tzkt displays the storage of contracts, you should probably use their API instead of trying to get the information from a node. If you want to redo the same work, the human-...
user avatar
1 vote

Configuring own node on Temple wallet: `Invalid RPC: Cannot get chain id`

Opening a "Maximised View" of Temple and enabling the developer console, I could see CORS errors when I tried to add the node to Temple. The CORS issue was fixed by stopping and restarting ...
user avatar
  • 311
1 vote
Accepted

What is the main reason for the nodes to get stucked on sync

Have you tried raising the tezos-node log level to INFO or DEBUG? By increasing log level, your node logs become more and more verbose allowing you to follow step by step what happens under the hood ...
user avatar
1 vote

How can we implement addition context history for rolling mode?

This only applies to full mode. and I think the maximum is 7, not 15.
user avatar
  • 223
1 vote
Accepted

Why to keep tezos-signer on a separate host?

You can have your ledger device plugged into machine A (at home/office/datacenter) running tezos-signer, connected over VPN to your baker machine B (in cloud). Using tezos-signer on a different ...
user avatar
  • 3,334
1 vote
Accepted

Can I estimate the _next_ block using the `tezos-node` RPC API?

ask tezos-node to tell me the contents of the block it would produce No, because tezos-node does not create blocks. tezos-baker-0XX is responsible for creating blocks and it does not have an RPC ...
user avatar
  • 3,334
1 vote

How to become a public baker?

Being a "private baker" simply means you are not advertising your services. There is no setting that enables you private or public baker. Technically, every baker on Tezos is public. To be a ...
user avatar
  • 3,334
1 vote

How to Curl the current version of the node

If you also have jq installed, you can have a nice clean output of the version with the following command. curl -s http://127.0.0.1:8732/version | jq -r '[.version.major, .version.minor] | join("....
user avatar
1 vote
Accepted

tezos-node command to check context & store integrity

You can try out the experimental tezos-node storage integrity-check (see tezos-node storage --help): $ ./tezos-node storage integrity-check -d /tmp/tezos-node.jqKo0RB7/ Running the integrity_check. ...
user avatar
  • 2,348
1 vote

How do I build a Tezos node and start baking from the sources on Ubuntu?

See http://tezos.gitlab.io/introduction/howtoget.html It gives instructions for installing Tezos (the node, client, and other tools) in various forms: compiling the sources, precompiled binaries, ...
user avatar
  • 11

Only top scored, non community-wiki answers of a minimum length are eligible