Position: Home page » Ethereum » Etherscanio query in Ethereum block

Etherscanio query in Ethereum block

Publish: 2021-04-26 08:36:51
1.

  1. about the variability of blockchain

  2. eth, if most people agree to modify the chain, that is, variability, then they can modify the blockchain records and contracts

  3. etc, blockchain records and contracts can't be modified, that is, they can't be tampered with

  4. here are the advantages and disadvantages of the two methods

    The advantage of
  5. variability is that people can make timely changes to make the right decisions. Therefore, modifying the specification is more practical than finding loopholes

  6. non modifiability means that no matter how smart people are at that time, it is impossible not to make mistakes. Therefore, when problems arise in this scheme, it is best to find and solve the loopholes through the existing legal framework

  7. differences in development

  8. eth, whether it is intentionally arranged or since its birth, the core decisions of blockchain are made by Ethereum foundation with the participation of the community and most of them are developed by it

  9. etc, the decision-making of blockchain is mainly decided by the feedback of three loose, collaborative teams with community participation

  10. in any case, anyone can put forward improvement suggestions for the two kinds of blockchains. This is the benefit of open source, and it is also very common. You will find that developers of the two chains communicate with each other through GitHub and reddit. I hope to improve the frequency of communication in order to achieve the common goal

  11. about compatibility

  12. at present, the two kinds of blockchains are compatible with each other. Contracts or applications written by eth can be applied on etc, and vice versa

  13. eth, focusing on ewasm, is committed to providing a platform for more and more developers, while the issue of contract security is secondary, such as viper

  14. etc focuses on making developers create more secure contracts, such as viper, iohk research, at the cost of consuming the number of potential developers

  15. it's obvious that both chains can accept each other, regardless of whether their wishes are the same or not. My view is that the number of developers is not necessarily related to the quality of the proct

  16. about the transaction speed

  17. eth, the average is 25 seconds, which will be shortened after upgrading

  18. etc, with an average time of 14 seconds, maintained at 10-14 seconds after upgrade, according to ecip-1010 and ecip-1036 protocols

  19. about the block capacity

  20. eth, with the daily trading volume of eth graally reaching 5 million, the block capacity is graally saturated. This situation is similar to the recent transaction cost of bitcoin. This problem can be solved by expanding the block capacity by increasing the default fuel limit

  21. ETC­, At present, there is still a lot of room for block capacity. As more and more people accept etc, the block capacity will also increase, just like eth

  22. about community

  23. eth, mainly discuss on reddit

  24. etc, mainly discuss on slack

  25. about monetary policy

  26. eth, the planned supply is growing steadily, resulting in an average inflation of 3% in eth blockchain in its life cycle

  27. etc, before 2025, inflation will reach 3%, and then the total supply will reach 200 million etc, and then there will be deflation

    As for the regional distribution of trading volume, China accounts for 20%, South Korea 25% and the United States 25%

    In etc, China accounts for 50%, South Korea 25% and the United States 10%

    About securities, at present, investors do not have the option to trade securities. Recently, one of eth's ETFs, trading open-end index funds, was denied by the regulators

  28. etc owns etc trading trust, which allows investors to own etc instead of the asset itself

2. It's really not easy.
3.

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 />});

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

4. After the hard bifurcation of etc, ETH came into being. The relationship between the three currencies is just like that between yen, won and US dollar
5. 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.
6. < UL >
  • first of all, please go to Etherscan to check whether the transaction is successful https://v.qq.com/x/page/z0517hhjoz5.html

  • if the block is displayed successfully, it is recommended to search and add the token name, turn on the switch button to refresh the asset page,

    if you can't search or still don't display, please don't worry. In addition, the asset exists in the block, Not on the imtoken server, just contact the imtoken party in the app

  • 7. 1: Curl grabs HTML
    2: use regular to intercept the content you need, or use expand to split to get the content, and phpquer can use selector to get the content you need just like jQuery
    8. Is it necessary to read the value [required parameter] returned by the interface through JS calling interface
    you can use js Ajax to submit, and a background method can use httpclient to submit to the API and receive the return parameters; Then the value is encapsulated in JSON format and returned to JS calling function; In JS, you can directly get the result set. The parameter name can get the corresponding parameter value ~
    I hope to give you a demo of the problem in detail; Or you can provide an online interface to test your code directly~
    Hot content
    Inn digger Publish: 2021-05-29 20:04:36 Views: 341
    Purchase of virtual currency in trust contract dispute Publish: 2021-05-29 20:04:33 Views: 942
    Blockchain trust machine Publish: 2021-05-29 20:04:26 Views: 720
    Brief introduction of ant mine Publish: 2021-05-29 20:04:25 Views: 848
    Will digital currency open in November Publish: 2021-05-29 19:56:16 Views: 861
    Global digital currency asset exchange Publish: 2021-05-29 19:54:29 Views: 603
    Mining chip machine S11 Publish: 2021-05-29 19:54:26 Views: 945
    Ethereum algorithm Sha3 Publish: 2021-05-29 19:52:40 Views: 643
    Talking about blockchain is not reliable Publish: 2021-05-29 19:52:26 Views: 754
    Mining machine node query Publish: 2021-05-29 19:36:37 Views: 750