Position: Home page » Ethereum » Ethereum log

Ethereum log

Publish: 2021-05-11 01:43:06
1.

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

2. Hello, it's called EOS token. It's based on Ethereum token
EOS coin
EOS (Chinese Name: EOS, English Name: EOS, abbreviation: EOS) is a token based on Ethereum released for eos.io blockchain system. Blockone is a new blockchain architecture developed by blockone company, which aims to expand the performance of distributed applications. The goal of EOS project is to achieve a blockchain architecture similar to the operating system supporting applications. The architecture can provide account, identity authentication, database, asynchronous communication and program scheling on hundreds of CPUs or clusters. The ultimate form of this technology is a blockchain architecture, which can support millions of transactions per second, and ordinary users do not need to pay for the use of the blockchain
function of EOS token
the current form of EOS cryptocurrency belongs to ERC 20 smart contract token on Ethereum blockchain. EOS ERC 20 token will be converted into the cryptocurrency available in EOS system 1:1 after the formal launch of EOS blockchain. The EOS system is expected to release the test network in August 2017, and it is expected to take one year for the main network of EOS blockchain to go online. The following application scenarios are introced after the EOS blockchain is officially launched
EOS cryptography currency has three main application scenarios: bandwidth and log storage (hard disk); Calculation and calculation reserve (CPU); State memory (RAM)
both instantaneous and long-term components consume bandwidth and computation. The blockchain system will maintain logs of all messages, which will be downloaded and stored by all complete nodes. With log information, the state of all applications can be reconstructed
the specific application scenario of EOS cryptography currency can be explained as:
receiver payment: customers purchase specific procts from the business, and the sales revenue of these procts will be used to pay the business cost, so as to avoid customers paying for the use of blockchain directly, and will not restrict or prevent enterprises from determining the monetization strategy of their procts
authorization capability: if a blockchain is developed by using EOS software system and its token is held by a ticket holder, it may not need to consume all or part of the available bandwidth immediately. Such a holder can choose to give or rent the unused bandwidth to others
separate transaction costs from token value: if the application owner holds a corresponding amount of tokens, the application can continue to run in a fixed state and bandwidth usage. Developers and users are not affected by price fluctuations in the token market, so they are not price dependent
block reward: each time a block is generated, the eos.io system will reward the block generator with a new token. The system may be configured to limit the reward cap for block procers, so that the total annual increase in token supply does not exceed 5%
community welfare applications: users can choose three community welfare applications, also known as smart contracts. These smart contracts will collect tokens based on the proportion of votes each application receives from the token holder. The elected application or smart contract can be replaced by the smart contract of the newly elected application or token holder
What are the technical advantages of EOS
1. EOS creates a developer friendly underlying platform of blockchain, which is similar to the operating system of blockchain. It has powerful performance, can support multiple applications running at the same time, and can support multiple programming languages at the same time. It provides developers with underlying moles to lower the development threshold, just like Microsoft's windows. Do you think Microsoft is worth money
2. EOS solves the problems of delay and data throughput through parallel chain and dpos. EOS can achieve a processing capacity of one million per second. At present, bitcoin has 7 transactions per second, while Ethereum has 30-40 transactions. This super power of EOS can hang bitcoin and Ethereum. For example, the recent cryptokitties | collect and breed digital cats! This is a very popular eth game. Only one game accounts for about 15% of eth's throughput. If there are seven or eight similar games at the same time, ETH will die. It's scary to think about it. Eth, which can't expand bandwidth, will have great challenges in throughput, and EOS can solve the above problems.
3.

On June 26, 2009, the Ministry of culture and the Ministry of Commerce jointly issued the notice on the management of online game virtual currency transactions, which clearly pointed out that the same enterprise can not operate the issuance and transaction of virtual currency at the same time, and the virtual currency can not pay for the purchase of physical goods, so as to prevent the possible impact of online game virtual currency on the real financial order
the acquisition of virtual currency is obtained by game players using legal tender to purchase from the game company, so its ownership and use right belong to the game users who purchase it
the notice on Further Strengthening the management of Internet cafes and online games specifies that online games can legally use virtual currency as a means of payment, because the vast majority of domestic online games have taken virtual currency as a means of payment, which is an indispensable tool for online game operation, It solves the problem of inconvenient payment for some users in the online game service. In addition, in order to prevent the risk brought by the expansion of the use of virtual currency and avoid the function of replacing the circulation or transaction of legal currency, the virtual currency of online games can only be used to purchase the procts and services issued by game companies, not for the procts and services of other companies, nor for the purchase of physical objects, Such a provision is to avoid the game of virtual currency disguised as a substitute or affect the function of legal tender
the notice stipulates that online game virtual currency trading platforms should have access permission. To engage in such trading activities, they must obtain the corresponding qualification of the competent authorities. To supervise the trading activities, the trading platform must identify the true identity of the traders, including prohibiting the transactions of minors, not only preventing the suspicious or knowingly problematic trading activities, but also reporting the problems to the relevant departments, and cooperating with the relevant departments to investigate and deal with the illegal transactions
we will severely crack down on the crimes of gambling by using virtual currency of online games, and the use of virtual currency should not be used to open boxes and other game settings with gambling nature
the notice stipulates that the online game virtual currency trading platform shall not accept minors, and minors shall not engage in online game virtual currency trading
"private server" and "plug-in" game behaviors are not protected by national laws. If some virtual currencies traded on the trading platform come from "private service" and "plug-in", it is an illegal transaction and will be punished accordingly. The management of online games is a very complex work. It should not only consider the particularity of online games as a cultural instry, which has both cultural and economic attributes, but also consider the social acceptance of it. When making policies, we should fully solicit the opinions of all parties, and make the opinions and interests of all parties achieve a balance through a system. The implementation of this policy may have a certain impact on the earnings of some game companies, or their stocks, in a short period of time. However, this document is both an opportunity and a challenge for the entire game instry

4. LAN protocol
full name: Ethernet

definition of Ethernet:
http://www.enet.com.cn/article/2006/0814/A20060814162566.shtml
5. This is an ARP conflict. I don't know what your actual physical connection is
in general, when DHCP automatically obtains IP, the router is connected to the router, and the LAN port IP of the two routers is the same, or the IP of the two routers is different, but the DHCP service is turned on, then the above phenomenon will appear
or if the computer is plugged in with portable WiFi, such as 360 portable WiFi, which gets 192.168.1.1 by default, it will cause ARP conflict with ip192.168.1.1 of your router
there are two ways to connect the two routers:
1 the second router turns off DHCP and changes the LAN port IP address to a different IP from the LAN port IP of the main router
then connect the LAN ports of two routers at both ends of the network cable
2 another method is that the second router turns off DHCP, selects WAN port, selects fixed IP for broadband type, and sets the fixed IP to be different from the LAN port IP of the main router
the LAN port IP of the second router is changed to a network segment IP different from the LAN port IP of the main router
then the two ends of the network cable are respectively connected to the LAN port of the first router and the WAN port of the second router
6. See if your eth1 network card is in use, if not, it doesn't matter much!
7. This fault should be solved by brush machine.;
8. It must have the greatest impact on Taishan City, but in fact it has a great impact on Guangdong Province. At 17:00 on September 16, 2018, Typhoon No. 22 "Shanzhu" (strong typhoon level) landed in Haiyan Town, Taishan, Guangdong Province. When it landed, the maximum wind near the center was 14 (45 m / s, equivalent to 162 km / h), and the minimum pressure in the center was 955 HPA. At 20:00 on September 15, 2018, the Department of civil affairs of Guangdong Province launched the provincial level IV disaster relief emergency response. Civil affairs departments at all levels will immediately take disaster emergency relief work as the primary task at present, and implement various preparatory work according to the requirements of "territorial management, hierarchical responsibility" for disaster relief work. At 18:00 on September 15, 2018, the Guangdong provincial headquarters of Fangfeng decided to upgrade the level II emergency response of Fangfeng to level I. On the 17th, all schools in Guangdong Province were closed. Shenzhen, Guangzhou, Zhongshan, Jiangmen, Yangjiang and other coastal cities took measures to "shut down, close down, shut down, shut down" and so on. Flights at many airports in Guangdong Province were cancelled on a large scale.
9. Meizu mobile phone is very good. With 14 years of hardware design and manufacturing experience, Meizu technology creates the ultimate procts for users with the ultimate workmanship and materials. Its instrial design, hardware configuration, system optimization, after-sales service and other aspects have reached the first-class level in China. At present, there are more than 2000 stores nationwide to serve users. Please refer to Meizu online store for details, Or go to the local Meizu certification store to experience the real machine.
10. Hello,
Hello, the money of flyme account can only be consumed in the app store. Thank you for your attention and support to Meizu
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