Questions tagged [node]
The node tag has no usage guidance.
360
questions
19
votes
3
answers
582
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.
16
votes
2
answers
633
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 ...
16
votes
3
answers
487
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, ...
14
votes
2
answers
264
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 ...
13
votes
5
answers
472
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 ...
13
votes
1
answer
370
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....
13
votes
3
answers
156
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 ...
11
votes
5
answers
975
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 ...
10
votes
2
answers
144
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 ...
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 ...
9
votes
1
answer
422
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 ...
9
votes
2
answers
721
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?
8
votes
1
answer
260
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 ...
8
votes
1
answer
103
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 ...
8
votes
1
answer
413
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 ...
8
votes
1
answer
81
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 ...
8
votes
3
answers
570
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 ...
8
votes
1
answer
129
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/...
7
votes
1
answer
175
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 ...
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 ...
7
votes
2
answers
164
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 ...
7
votes
3
answers
477
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:...
7
votes
1
answer
204
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 ...
7
votes
3
answers
204
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,
...
7
votes
1
answer
322
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 ...
7
votes
1
answer
162
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 ./...
6
votes
3
answers
452
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, ...
6
votes
1
answer
394
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 +...
6
votes
1
answer
410
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 ...
6
votes
1
answer
288
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 ...
6
votes
1
answer
142
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?
6
votes
1
answer
130
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 ...
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 ...
6
votes
3
answers
590
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 ...
5
votes
2
answers
91
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 ...
5
votes
2
answers
99
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.
...
5
votes
1
answer
157
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/...
5
votes
1
answer
115
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?
5
votes
2
answers
181
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.
5
votes
1
answer
143
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 ...
5
votes
1
answer
509
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 ...
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 ...
5
votes
3
answers
371
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?
5
votes
1
answer
235
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,...
5
votes
1
answer
125
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 ...
5
votes
1
answer
125
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 ...
5
votes
1
answer
48
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 "...
5
votes
1
answer
92
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 ...
4
votes
1
answer
311
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 ?
4
votes
1
answer
108
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 ...