cd docker/ethereum-go/
docker build . -t golang-1-14-4:alpine
cd /node-miner/scripts
chmod 777 ./init.sh
cd ..
docker-compose scale ethereum-node=3
Sync modes
You can start Geth in one of three different sync modes using the --syncmode "<mode>" argument that determines what sort of node it is in the network.
These are:
Full: Downloads all blocks (including headers, transactions, and receipts) and generates the state of the blockchain incrementally by executing every block.
Fast (Default): Downloads all blocks (including headers, transactions and receipts), verifies all headers, and downloads the state and verifies it against the headers.
Light: Downloads all block headers, block data, and verifies some randomly.