How does Ethereum clear private chain records
solve the problem in an all-round way
1. Miracle Moore's Linux kernel has been deeply optimized for more than 200 times to avoid the problem that some hardware failures will directly lead to system crash
2. In view of the situation that many mining software in the market can't connect to the mining pool after restart, miracle Moore perfectly solves the problem by using the function of resetting the image after each restart of the mining machine
3. After testing, the average computing power error and delay share of miracle Moore system in each mine pool are not more than 1.5%, which significantly improves the mining revenue of users
4. After numerous experiments, miracle Moore development team has obtained the optimized VBIOS overclocking setting of graphics card. Compared with the traditional overclocking method, it can further improve the computing power of graphics card by 5% and rece the power consumption by 15%!
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
in comparison, the decentralized exchange based on EOS is much better, because its TPS is fast enough to handle the decentralized application at the present stage, and its speed is much better than that on Ethereum. Whaleex, in particular, is very smooth in use, with fast transactions. It is not inferior to those centralized exchanges. Among all decentralized exchanges, whaleex is excellent
therefore, I think the decentralized exchange on EOS may break out faster than that on Ethereum, especially the whale exchange, which will be a dark horse. The smart contract of their home is also the only one that has passed the slow fog security audit. The security is particularly high and the use is assured.
make: * * [geth] error 1
there is no such directory, or the directory has insufficient permissions
The public chain is open to all, the private chain is open to indivials who meet specific conditions, and the alliance chain is open to authorized organizations or institutions
public chain, also known as public blockchains, refers to a consensus blockchain that can be read by anyone in the world, sent by anyone, and effectively confirmed
private chain, also known as fully private blockchains, refers to the blockchain in which the write permission is completely in the hands of an organization, and all nodes participating in the blockchain will be strictly controlled
alliance chain, or alliance blockchains, refers to a blockchain that is managed by several organizations or institutions. Each organization or institution controls one or more nodes and records transaction data together. Only these organizations and institutions can read, write and send transaction data in the alliance chain
blockchain has three types: public chain, private chain and alliance chain
blockchain is a new application mode of distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and other computer technologies
blockchain is an important concept of bitcoin. It is essentially a disintermediated database. At the same time, as the underlying technology of bitcoin, it is a series of data blocks generated by using cryptographic methods. Each data block contains the information of a bitcoin network transaction, Used to verify the validity of its information (anti-counterfeiting) and generate the next block
< H2 > reference: blockchain network