

INFO Mapped network port proto=udp extport=30303 intport=30303 interface="UPNP IGDv1-IP1" INFO RLPx listener up IPC endpoint opened: /media/nodejs/Ethereum/fastnodeblocks/geth.ipc INFO UDP listener up Light client mode is an experimental feature For all kind of processing, light node depends on full node peers.Īt the time of writing this article, current block number is "5139816" and it started downloading "4948159" block onwards as you can see in log below. Light node download just the header of the blocks and that too it does not download all the blocks. Why is light node so fast and less space consuming?

It takes less than 10 minute and approx 300MB of space to sync the node. geth -syncmode "light" -rpc -rpccorsdomain "*" -datadir path-to-directory-to-save-blocks (Source: Stackexchange)įor light node client, we start geth in light mode pass -syncmode "light" to stratup commmand. To verify elements, it needs to ask to full (archive) nodes for the corresponding tree leaves. Light Sync: It gets only the current state.Then it gets a snapshot state and goes like a full synchronization. Fast Sync: It gets the block headers, the block bodies, it processes no transactions until current block.Full Sync: It gets the block headers, the block bodies, and validates every element from genesis block.Geth can be started in "full", "fast", or "light" syncmode. You can follow the instruction here about geth installation. Lets have a look in detail.įirst you need to install geth.

Go-Ethereum or Geth 1.8.1 has an experimental implementation of light protocol. Details of light client protocol can be found at GitHub. Ethereum light node protocol is big step towards bringing the Ethereum client to small devices with limited hardware resources.
