Nodes form the infrastructure of a blockchain. All nodes on a blockchain are connected to each other and they constantly exchange the latest blockchain data with each other so all nodes stay up to date. They store, spread and preserve the blockchain data, so theoretically a blockchain exists on nodes .
Setting up local nodes will create Tezos network on your machine along with baker. You always have an option to switch to remote nodes using tezster. After tezster successfully installed, Tezos nodes need to be setup on the local machine.
This will download the docker image containing 'pre-built tezos nodes and baker' on your system. You need to run setup only once.
After building nodes, start tezos nodes:
It will run a local network of nodes & baker and activate delphinet protocol. Now Nodes are running successfully on port 18732.
Note: If you are using mac or windows, make sure docker-desktop (for mac) or docker-toolbox (for windows) is in running state.
To stop the nodes, run:
It will stop all the tezster nodes running on the system. To restart the nodes run "tezster start-nodes".
To know about local node status whether they are in the running state or not, run:
Note: Make sure to start local nodes before fetching logs.
To get the logs of local node & baker, run:
It will save logs as archieve file format at - "/tmp/tezster-logs/tezster-node-logs.tar.gz".Redirect to the logs folder using - "cd /tmp/tezster-logs".To unzip run - "tar -xf tezster-node-logs.tar.gz" inside "/tmp/tezster-logs" folder.
It will collect local node related logs on your system .