current position:Home>Questions about fast mode and full mode of Ethereum
Questions about fast mode and full mode of Ethereum
2022-02-03 23:02:20 【Q & A of Denglian community】
What I understand is full Patterns and fast The patterns are downloaded header and body, The main difference is that a transaction needs to be replayed to generate status data , Take a snapshot of the state data directly
That is to say fast The model lacks checking steps , That's why synchronization gets faster, isn't it ?
But why are both downloaded header and body, After synchronization, the data volume will differ by so much ,fast Is the mode less synchronized with any other data ?
Take the answer 1:
The difference is Ethereum's status data state , This is what requires a lot of disk space to store .
Even an ordinary reprint transaction will cause a lot of state Addition and deletion of data . If it is full Pattern , You need to store everything from creation to the present state The historical version of , stay leveldb The key value pairs in are hundreds of millions of entries .
therefore ,fast Mode only downloads blocks and proves workload , Download the latest block while downloading the block state Data synchronization . Data synchronization speed is not fast , But it saves storage space .
be relative to state data , The disk space required for block information and block receipt is insignificant . therefore fast Disk occupancy ratio in local mode full The mode is much smaller .
To speed up fast Synchronization speed of mode , Remember to use SSD Hard disk and add parameters --cache 2GB
To improve synchronization speed .
copyright notice
author[Q & A of Denglian community],Please bring the original link to reprint, thank you.
https://en.netfreeman.com/2022/02/202202032302187809.html
The sidebar is recommended
- Truss deployment contract
- What are the advantages and disadvantages of embark and truss?
- The environment chooses Web3 but cannot discover the network
- Construction of Ethernet private chain
- The ledger is getting bigger and bigger. Can the node store it?
- Ethereum distributed storage
- Smart contract function call problem
- web3. JS calls the return value of the smart contract function through sendtransaction
- truffle init/unbox RequesrError
- POST https://ipfs.infura.io:5001/api/v0/add?stream -channels=true net::ERR_ CONNECTION_ TIMED_ Out as shown in the figure
guess what you like
-
Lite sever installation
-
Unable to play function
-
Practical application of blockchain
-
Event event
-
Contract deployment issues
-
Uniswap docking addliquidity displays false transaction mined but execution failed
-
Uniswap docking ethtokenswapinput displays false transaction mined but execution failed
-
Solid structure variable
-
How can multi node blockchain achieve high availability
-
How to obtain the public variables of the structure in the contract in web3js through the "public variable automatic creation getter()" mentioned in the solidity document
Random recommended
- The problem of obtaining the variable value in the structure state in the contract by web3js
- I want to transfer the token from the contract address to another address. How do you write this
- May I ask you a question about the duplicate name of erc20 token?
- May I ask you about the problem of solid code audit?
- Can the wallet address be traded at the private chain node at will?
- The mongodb database of EOS blockchain node is a separate host. Can this push the node's data to an independent database host
- The problem of keystore storage directory
- Deploy two smart contracts and how to call the functions in one JS
- I successfully created a local development chain to visit https://substrate-ui.parity.io When, it shows that I am not connected to the node.
- Event filtering in web3js
- Information for learning ring signature
- At present, can smart contracts only be implemented on the web? Use ether js。 If you want to make a good web page into a mobile app or wechat applet, is there any way
- The send transactions' from 'field must be defined appears when calling the contract method (including parameters)!
- Erc20 transfer to contract address
- Store the data on the chain according to the structure format. The read string type data can be returned in the original format, while uint type data is BN type,
- Running on win10 -- Practice Guide: an error occurred when building a zero knowledge proof DAPP demo
- How smart contracts receive and transfer usdt (erc20)
- Local simulation test open source code
- Why is the transfer authorization unsuccessful
- Based on Ethereum and ether JS has been applied on the web page with JavaScript. If you want to have one with the same function on the mobile phone, is there any simple transplantation method? Or start over.
- How to find the page displayed after DAPP is opened in the open source code
- How can the results of smart contract execution be saved on the blockchain? I use truss + ganache
- Does one contract create a new transaction when calling another contract?
- Cannot structure property 'body' of 'undefined' as it is undefined
- I want to develop a blockchain project in wechat applet. How do I start?
- When I use metamask to connect the private chain, I report an error networkcontroller - unknown RPC type
- I found a magical thing. After getting started, the private chain deletes the data file stored in the whole block. Why can I find data on the chain
- There are three interface calls in the figure below the filecoin block browser. Which RPC interfaces are they???
- What is the storage mode of IPFs
- The problem of parameters in info printed by geth? How to create a new contract?
- How to choose the smart contract token standard (erc20, erc777, erc1155)
- Please teach me how to use openzeppelin to deploy smart contracts and learn to make a red envelope
- ERROR: 1.13.4 is required to build Fabric and you are using . Please update go
- Unable to get metamask account
- I don't know what the problem is
- There is a strange phenomenon in metamask wallet. The transferred eth automatically generates a transaction. Why?
- For cross-border e-commerce, since the transaction data volume is about 2 million orders per day, how to store it using blockchain technology?
- During the construction of DAPP project in pet shop, an error is reported when the truss test command is executed
- Why are blockchain applications, these dapps, all on the web side, without Android and IOS?
- How to set IPFs friendly name