How to use Ethereum block browser
Publish: 2021-04-17 22:53:19
1. In a system with many nodes, each node has a high degree of autonomy. Nodes can connect freely to each other to form a new connection unit. Any node may become the stage center, but it does not have the mandatory central control function. The influence between nodes will form nonlinear causality through the network. This open, flat and equal system phenomenon or structure is called decentralization
this is the reason for the decentralization of digital currencies such as bitcoin, Ruitai and Qianjin.
this is the reason for the decentralization of digital currencies such as bitcoin, Ruitai and Qianjin.
2.
transactions.forEach(function(tx){
vartxInfo=web3.eth.getTransaction(tx.transactionHash);
/ / at this time, the transaction information txinfo can be stored in the database
})< br />}); Pre >
If you want to query the transaction records on the main network, you can use Etherscan. However, if you build your own private chain, how should you query the transaction records
the answer is that you need to listen to the logs on the chain, save them in the database, and then query them in the database. For example:
< pre t = "code" L = "Java" > varaddr = & quot& quot;< br />varfilter=web3.eth.filter({fromB lock:0 ,toBlock:' latest', address:addr });< br />filter.get(function(err,transactions){transactions.forEach(function(tx){
vartxInfo=web3.eth.getTransaction(tx.transactionHash);
/ / at this time, the transaction information txinfo can be stored in the database
})< br />}); Pre >
Web3. Eth. Filter() is used to monitor the log on the chain, and Web3. Eth. Gettransaction() is used to extract the information of the specified transaction. Once the transaction information is obtained, it can be stored in the database for query
recommend a practical introction, you can see: Ethereum tutorial
3. Just focus:
you can't retrieve your assets through Ethereum block query
think too much
if you want to check the real estate,
you can go to the real estate transaction registration center.
you can't retrieve your assets through Ethereum block query
think too much
if you want to check the real estate,
you can go to the real estate transaction registration center.
4. Ethereum browser's website is etherscan.io, you can query Ethereum related details. At present, the exchanges that can trade Ethereum mainly include: coin an, fire coin, bitnet, etc.
5. What does it mean that there is no verification of the display in the browser and the release contract code? He certainly didn't have time to do it.
6. 1. Wallets have to be open source. The download page can be provided through the network cloud disk, or the source code can be published on GitHub
2. There must be a block browser to facilitate all users to query relevant data information
in theory, these two methods can avoid the situation that people tamper with data without bottom line.
2. There must be a block browser to facilitate all users to query relevant data information
in theory, these two methods can avoid the situation that people tamper with data without bottom line.
Hot content
