🌍 Nodes
info
- Nodes are the computers that are connected to the blockchain network.
- Peer-to-peer network of computer named as Ethereum Nodes.
- Anyone can run Ethereum node on its laptop or desktop.
- Ethereum nodes runs on an Ethereum client such as geth. The geth client is written in the Go programming language.
EVM (Ethereum Virtual Machine)
- Runs as VM(virtual machine) named as EVM and runs application (EVM Bytecode) based on global consensus system (Proof of work & Proof of stake).
- This EVM has its microkernal, stack, memory and storage.
- EVM is a sandboxed runtime environment that executes the EVM Bytecode.
- New clients for Etehreum 2.0 run the becaon chain and shard chain, and Supported Proof of Stake consensus mechanism.
- Old clients for Ethereum 1.0 run the Ethereum mainnet and support Proof of Work consensus mechanism.
- Many Different Ethereum Networks;
- Main Net,
- Test Nets (Rinkeby, Ropsten, Goerli,Koven)
- Private Networks (Ganache, Quorum, Hyperledger Besu)
Types of Nodes
- Full Node
- Light Node
- Archive Node
Full Node
- Full Node stores locally copy of complete blockchain.
- Full Node is a computer that fully validates transactions and blocks.
- Full Node is a computer that fully enforces all the rules of the Ethereum network.
Advantages of Full Node
- Full Node provides the highest level of security.
- Full Node provides the highest level of privacy.
- Full Node provides the highest level of decentralization.
- Full Node provides the highest level of trustlessness.
- Full Node provides the highest level of censorship resistance.
Drawbacks of Full Node
- Full Node requires a lot of storage space.
- Full Node requires a lot of bandwidth.
- Full Node requires a lot of processing power.
- Full Node requires a lot of time to sync with the network.
- Full Node requires a lot of time to validate transactions and blocks.
Light Node
- Light Node stores only the block headers.
- Light Node is a computer that does not validate transactions and blocks.
- Light Node is a computer that does not enforce all the rules of the Ethereum network.
Advantages of Light Node
- Light Node requires less storage space.
- Light Node requires less bandwidth.
- Light Node requires less processing power.
- Light Node requires less time to sync with the network.
- Light Node requires less time to validate transactions and blocks.
Drawbacks of Light Node
- Light Node provides a lower level of security.
- Light Node provides a lower level of privacy.
- Light Node provides a lower level of decentralization.
- Light Node provides a lower level of trustlessness.
- Light Node provides a lower level of censorship resistance.
Archive Node (History)
- Archive Node All data in full node & built in archive.
- Archive Node stores locally copy of complete blockchain and all the state data.
- Archive Node is a computer that fully validates transactions and blocks.
- Archive Node is a computer that fully enforces all the rules of the Ethereum network.
Advantages of Archive Node
- Archive Node provides the highest level of security.
- Archive Node provides the highest level of privacy.
- Archive Node provides the highest level of decentralization.
- Archive Node provides the highest level of trustlessness.
- Archive Node provides the highest level of censorship resistance.
Drawbacks of Archive Node
- Archive Node requires a lot of storage space.
- Archive Node requires a lot of bandwidth.
- Archive Node requires a lot of processing power.
- Archive Node requires a lot of time to sync with the network.
- Archive Node requires a lot of time to validate transactions and blocks.
Connect with UI
- Ethereum can be connected with UI (User Interface) using Web3.js.
- Web3.js is a JavaScript library that allows you to interact with the Ethereum blockchain.
- Web3.js allows you to send transactions, deploy smart contracts, and read data from the Ethereum blockchain.
- Web3.js allows you to connect to an Ethereum node using HTTP, WebSocket, or IPC (Inter-Process Communication).
- Web3.js allows you to connect to an Ethereum node running on your local machine or on a remote server.
- MetaMask Crypto Wallet Extension is a browser extension that allows you to connect to the Ethereum blockchain using Web3.js.
- Wallet for dapps application through money transfer, voting, ownership, etc.