Ethereum Web3 source code
install MIPS based Linux header file
$CD $prjroot / kernel
$tar - xjvf linux-2.6.38. Tar. Bz2
$CD linux-2.6.38
create an include folder under the specified path to store related header files< br />$ mkdir -p $TARGET_ Prefix / include
ensures that the Linux source code is clean
$make mrproper
generates the required header file< br />$ make ARCH=mips headers_ check
$ make ARCH=mips INSTALL_ HDR_ PATH=dest headers_ Install
all the files in dest folder to the specified include folder< br />$ cp -rv dest/include/* $TARGET_ Prefix / include
delete dest folder at last
$RM - RF dest
$LS - L $target_ PREFIX/include
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
-
with the recent sharp fluctuation of currency prices, a new profession, commonly known as "brick moving", is graally emerging in the circle. These brick moving workers pay close attention to the major bitcoin and Ethereum transactions every day. Once they find the price difference, they buy bitcoin and Ethereum from the low price and sell them from the high price to make profit
-
with the increasing number of bitcoin and Ethereum transactions, according to incomplete statistics, the number of current international mainstream bitcoin transactions is graally increasing. Different from A-share and other stock markets, the stock price is globally unified. For example, the stock price of technology has the only pricing in Hong Kong stock market. However, the prices of bitcoin and Ethereum are determined by the transaction itself. Because Ethereum has a large number of transactions and different transaction volumes, the transaction price is very likely to fall. When the price fall is large, it can even reach 8% ~ 10% of Ethereum's price. At this time, many porters have the opportunity to move bricks. The so-called "brick" of moving bricks refers to Ethereum. Porters buy Ethereum from the low price and then transfer it to the high price to get the price difference
-
for example, the recent sharp fluctuations in bitcoin and Ethereum markets are a good time to move bricks. Generally speaking, as long as there is a price difference of 5-50 yuan between bitcoin and Ethereum, it is worth moving bricks. However, moving bricks also requires certain transfer costs and labor costs. Sometimes, the withdrawal of bitcoin purchased from low price will not arrive so quickly. In order to speed up the transaction speed and rece the risk of price fluctuation, the porter usually has a turnover of bitcoin. For example, after purchasing bitcoin and Ethereum from a, he immediately transfers the same amount of bitcoin from his wallet to B for sale, After the completion of bilateral transactions, graally withdraw the funds into their wallets, waiting for the next time to move bricks. If you have both cash and bitcoin and Ethereum, it's the safest. You can pay at a low price and register at a high price, and then trade at the same time. The transaction can be completed in a few seconds. At this time, there is little risk in moving bricks, and what you get is pure profit. When the price of bitcoin fluctuates greatly, part of the price response is not so fast, and the profit of moving bricks is the highest
-
2. Adopt large-scale high-end cloud computing, short or long currency transactions all over the world (low absorption and high selling), complete the transaction within 0.28 MS, and increase the value by floating trading point without upper limit, so as to ensure the dividend appreciation of each person
-
3. They use the money of the participants to earn profits, and then give 50% to the participants, from Monday to Friday, and do not distribute on weekends. How much you earn depends on whether you have a big package or a small one
-
if you have any questions, please let me know. 5: 185 plus 654 and 39360
< / OL >