Questions tagged [node]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
19 votes
3 answers
555 views

How to secure baking node from attacks like DDOS?

I want to know what ports and protocols tezos-node and baker uses so that i can enable only those ports and protocols in my firewall setting to prevent any DDos attack on my server.
user avatar
  • 1,115
16 votes
3 answers
383 views

Binding the node to any address, not just localhost

Anyone know how to run node to bind to all address? I seem not to be able to rpc connect remotely, it binds to 127.0.0.1 and nothing else. I set up in the config file listen address to 0.0.0.0:8732, ...
user avatar
  • 223
15 votes
2 answers
613 views

How do I upgrade a Tezos node?

I used to run a full node, but then it somehow got tangled up and is now no longer downloading new blocks. I suspect that it has something to do with me not keeping it updated. Could someone tell me ...
user avatar
  • 362
14 votes
2 answers
235 views

Garbage Collection

I hear there are plans for garbage collection for the Tezos blockchain. What does this mean exactly? What are these "garbage" that needs to be collected, why are they there in the first place? Is ...
user avatar
  • 2,602
13 votes
5 answers
455 views

What are the best practices for hosting Tezos nodes with exposed RPCs?

If i host my own node, e.g. like TezBox does, what's the best practice regarding accessibility of certain RPC endpoints? TzScan already restricts certain calls, as described here. Tezos docs advise ...
user avatar
13 votes
3 answers
148 views

What should I do about "connection from untrusted peer" reports from tezos-node?

I built and synced a node with default peer nodes and then switched it to private mode. Now I see many messages like the following days after making the switch to private mode. Is there something I ...
user avatar
12 votes
1 answer
350 views

How to make a tezos node set CORS headers

I’m running a test sandbox locally. Anyone know an easy way to make my sandbox RPC service add a Access-Control-Allow-Origin: * header so that I can avoid CORS errors while testing locally? rpc....
user avatar
  • 288
11 votes
5 answers
935 views

Too few connections, config.json?

I am getting too few connections (5) since about 2 Days. I think adding peers to my ".tezos-node/config.json" file should help, but I am not sure how it should look like. Can I simply add the IP and ...
user avatar
  • 2,638
10 votes
2 answers
140 views

Where precisely lies the trust in a snapshot?

Nomadic Labs recently introduced the concept of snapshot as a way to speed-up the syncing of new tezos nodes. It is mentionned several times that there exists a certain minimal amount of trust that ...
user avatar
  • 6,006
9 votes
4 answers
2k views

Tezos main net node: Hardware specs

Good afternoon, What are the hardware requirements for a tezos node? I have a 2 core cpu with 16 gigs of ram for my baker. I'm trying to decide on what type of single-board computer to buy to run ...
user avatar
9 votes
1 answer
399 views

How should one kill the tezos-node process?

I have several times found myself unable to restart my tezos node because I believe I have ended the process but when I try to start it again I get the following message: Data directory is locked by ...
user avatar
9 votes
2 answers
595 views

Access to the mempool

Is there a way to access to the mempool through RPC API? And is there a way to manipulate the mempool from the outside?
user avatar
  • 2,327
8 votes
1 answer
251 views

Does the baker, endorser and accuser have to run next to the same node?

I have 4 nodes running, all using the same remote signer. In this type of setup, can the baker, endorser and accuser run on either node? Or do they manipulate some local state so they have to group ...
user avatar
  • 1,973
8 votes
1 answer
101 views

Error: Protocol not supported when trying to connect eztz-cli to tezos node

I was trying to connect eztz-cli to my locally running containerized (via docker) tezos node. These are the steps I followed: Start the node with rpc enabled by running ./alphanet.sh start --rpc-port ...
user avatar
8 votes
1 answer
408 views

Energy used to run Tezos

What is an order of magnitude of the energy used today to run the whole Tezos network and how does it compare to other major crypto currencies ? It should be insignificant since there's no proof of ...
user avatar
  • 3,185
8 votes
1 answer
80 views

Error: Tezos_stdlib__Lwt_pipe.Closed for "ideal front node configuration"

Situation: I am using the following configuration for my front node: The intention is to have as many connections worldwide in order to be sure to bake a block that is accepted because it included ...
user avatar
  • 765
8 votes
1 answer
120 views

Why does a transaction contain a storage dump?

I have looked at a few transactions with some smart contracts and I have found that they store a dump of contract's storage. For instance: https://mainnet.tezrpc.me/chains/main/blocks/246869/...
user avatar
  • 2,327
8 votes
2 answers
526 views

Why won't tezos-client find my Ledger Nano S?

I'm setting up a Linux Tezos baking node with Ledger Nano S. The node is running and synced, but list connected ledgers will not show that the Ledger is connected. Both the wallet and baking apps are ...
user avatar
  • 131
7 votes
1 answer
167 views

How to recover from "No space left on device" error?

The drive the node uses ran out of disk space. This resulted in a series of errors in a format similar to: Apr 16 01:58:36 - validator.block: Validation of block ...
user avatar
7 votes
2 answers
164 views

How do I remove the private mode setting from my node? My node is not connecting to peer

I used below command to start my node container in private mode: ./mainnet.sh start --private-mode --no-bootstrap-peers --bootstrap-threshold=1 --connections 1 --peer public-node-ip Node got started ...
user avatar
  • 1,115
7 votes
2 answers
157 views

Roll size and node performance

Could someone explain in detail how the size of the roll (currently 10k xtz and one amendment proposal offers to reduce this to 8k xtz) impacts the node performance ? This would be a great way to ...
user avatar
  • 6,006
7 votes
3 answers
457 views

How do I import a snapshot using docker?

I tried to import snapshot but it didn't work. $ ./mainnet.sh snapshot import BMJgBK8rR4gZPaTcj8EN6uu93hU7AVhPM16GsSB14ZMVxoW1iQ1.full mainnet: Pulling from tezos/tezos Digest: sha256:...
user avatar
7 votes
1 answer
185 views

What are the best practices for increasing node connectivity / number of peers?

I'm looking for the way to increase tezos-node connectivity. It seems that the best way is to increase number of peers (or maybe their quality somehow?). So the question is - how should I configure ...
user avatar
7 votes
3 answers
196 views

Tezos RPC doesn't respond with blocks below the current checkpoint

I've run my own instance of Tezos node and it seems that the node doesn't respond with blocks below the current checkpoint. GET /chains/main/checkpoint response: { "block": { "level": 212993, ...
user avatar
7 votes
1 answer
321 views

Has anyone configured Galleon or TezBox with a local node?

I am having some troubles connecting either one of these two wallets to a local node on the same machine. The correct ports are listening (netstat -tulpn). The setup of TLS looks good, for example ...
user avatar
7 votes
1 answer
151 views

How can I set trusted peers by identity in the tezos-node config file?

I found the "example configuration file with all parameters specified" here: https://tezos.gitlab.io/mainnet/introduction/various.html But I can't find any config entry doing the equivalent of ./...
user avatar
  • 951
6 votes
3 answers
441 views

Extremely slow node sync on alphanet

So, I've set up a Tezos node on an AWS EC2 t2.medium instance. I followed the instructions here, but for alphanet instead of mainnet. I got as far as: ./tezos-node run --rpc-addr :8732 It's running, ...
user avatar
  • 163
6 votes
1 answer
367 views

How to solve Permission denied error on Mac when setting up a Tezos node and running alphanet.sh

I am trying to get a Tezos node up on Mac OS. Ran the following in sequence in a Tezos directory I created: curl -o alphanet.sh https://gitlab.com/tezos/tezos/raw/master/scripts/alphanet.sh chmod +...
user avatar
  • 61
6 votes
1 answer
401 views

Node synchronization

I am new to Tezos and I installed yesterday a node to run in the Alphanet environment. I want to ask if it is normal that the node is taking too long to synchronize (Current head at block 45000 after ...
user avatar
  • 351
6 votes
1 answer
274 views

How can I connect public and private node through a reverse SSH tunnel?

I have set up my baker with: a public non-baking node with public IP, let's call it "A.A.A.A" a private baking node without public IP To lock down the private node (and also because it does not need ...
user avatar
  • 951
6 votes
1 answer
133 views

Moving chain data to a new hard drive

I'm running a node and my existing hard drive is running out of space. If I install a new hard drive, how do I move or point the node data to use my new hard drive instead?
user avatar
  • 163
6 votes
1 answer
125 views

which rpc endpoint is used to find the roll snapshot which was used for determining baking/endorsing rights at a certain cycle?

I would like to know, for every baker at cycle x, how many rolls they owned that contributed to their baking rights in that cycle. To do that, I believe I have to know how many rolls they owned during ...
user avatar
  • 63
6 votes
1 answer
77 views

Migrating from Source build to Docker

If I wanted to migrate my Tezos node that was built from source onto a new server that now runs the docker instance, how would I import my identity.json and secret_keys/endorsements? I haven't been ...
user avatar
  • 103
6 votes
3 answers
384 views

Node stops with 'Cannot open /dev/urandom' error

This error: Cannot open /dev/urandom stopped a node in its tracks today. This is the first time I have ever seen this message. I was fiddling with the node's config earlier and ended up resetting it ...
user avatar
5 votes
2 answers
90 views

Is it possible to run alphanet and zeronet nodes from the same server that is running a mainnet node?

When running a non-baking mainnet node on a Mac, is it possible to start an alphanet and/or zeronet node alongside the mainnet? Can I just build them each in their own directory? And then what about ...
user avatar
  • 1,979
5 votes
2 answers
97 views

BABY5 vs. BABYM1? How does the network decide which is the "right" protocol?

The Tezos Docs say: Any node running the May release, in case of a successful promotion vote, will activate protocol 005_PsBABY5H, which contains a bug affecting bigmaps in smart contracts. ...
user avatar
  • 2,638
5 votes
1 answer
156 views

Error when updating the node

I'm trying to update my node to the latest version but I'm stuck with the following error message on my Ubuntu 18.04 box: File "none", line 1: Error: Files vendors/ocplib-resto/lib_resto-cohttp/...
user avatar
  • 51
5 votes
1 answer
114 views

Does building a node require syncing the block and context data from scratch?

When building a node, do I have to sync its block data from scratch or can a load some kind of snapshot and finish syncing from there?
user avatar
5 votes
2 answers
158 views

How do I get a list of a Tezos smart contract KT1 address entrypoints and its parameters?

I wish to retrieve info from a KT1 address so I know which entrypoints are available for consuming and which are their parameters and types. How can I achieve this? Thanks in advance.
user avatar
5 votes
1 answer
140 views

Why run a node in Tezos?

I'm new to Tezos. I have one question. Why would someone have a node in their computer? Keeping the PC on and using many gigabytes of storage seems odd. If people delegate to other bakers, then only ...
user avatar
5 votes
1 answer
504 views

Error: "inconsistent hash". Workers crash and node is unable to connect to others

I'm consistently getting the below errors. What stands out is the "inconsistent hash" error, seemingly causing the workers to crash. The hash of the block header and this of the local hash seem to ...
user avatar
  • 893
5 votes
1 answer
57 views

How does the 003-node binary download/compile/merge proposal code?

This question is in relation to the upcoming 004 (aka Athens) protocol change. Provided that it passes the last Promotion_vote phase, specifically and technically, what happens to the binaries on my ...
user avatar
  • 3,364
5 votes
3 answers
353 views

Node on Windows?

Is there a way to build a full node on a Windows system (not a docker build)? If not, is there a particular reason why the platform is not supported?
user avatar
  • 6,006
5 votes
1 answer
226 views

"Operation is outdated and may never be included in the chain"

I launch my node like this: ./tezos-node run --rpc-addr 127.0.0.1 Everything seems to be okay. I then do: ./tezos-client account activate alice with FileFromFaucet.json --force But it doesn't work,...
user avatar
5 votes
1 answer
123 views

Run Alphanet and Mainnet on the same VPS

How might I go about running alphanet and mainnet on the same server, without docker images? Here is my current setup: ~/alphanet/tezos-node is where I have the tezos binaries for what I intend to be ...
user avatar
5 votes
1 answer
121 views

What does a good P2P configuration look like for a public node?

I have the following P2P settings in my config file for my public nodes, it seems to be okay, and is bootstrapping from the foundation nodes but I am interested to hear if there could be any ...
user avatar
  • 1,349
5 votes
1 answer
46 views

client command to list contracts results in stack overflow

tried out this command ./tezos-client list contracts as shown in Tezos Gitlab but it yields the following error: Fatal error: exception Stack overflow Raised by primitive operation at file "...
user avatar
  • 594
5 votes
1 answer
89 views

Issues with the Tezos Node CPR script to restart the node after failure

I'm facing some issues with the Tezos Node CPR script from Etom Knudsen, which serves to automatically restart the node after failure. The script has a bug in the function to call network stats in ...
user avatar
  • 893
4 votes
1 answer
290 views

How do I get a list of baking rights for a wallet address using the RPC API?

Using the tezos node, is there an RPC command from the API that allows one to retrieve the baking rights of any given address for a given cycle ?
user avatar
  • 6,006
4 votes
1 answer
88 views

How do I get a list of all delegators a baker has, using only node local endpoints?

I'm currently using TzScan as a source of data about Tezos blockchain. Unfortunately, I am receiving many http errors from their API, making my products seem unreliable. So I decided to get the data ...
user avatar

1
2 3 4 5
7