Ethereum public chain query BACC
blockchain includes public blockchain, joint (instry) blockchain and private blockchain. Public chain point-to-point e-cash system: bitcoin, smart contract and decentralized application platform: Ethereum
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. In essence, it is a decentralized 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 a batch of bitcoin network transaction information, Used to verify the validity of its information (anti-counterfeiting) and generate the next block
extended data
according to the different degree of blockchain network centralization, three kinds of blockchains under different application scenarios are differentiated:
1. The blockchain with the whole network open and without user authorization mechanism is called public chain
2. The authorized nodes are allowed to join the network, and the information can be viewed according to the authority. It is often used in the inter agency blockchain, which is called alliance chain or instry chain
3. All the nodes in the network are in the hands of one organization, which is called private chain
alliance chain and private chain are also called licensing chain, and public chain is called non licensing chain
blockchain features
1, decentralization. Blockchain technology does not rely on additional third-party management institutions or hardware facilities, and there is no central control. In addition to the self-contained blockchain itself, each node realizes information self verification, transmission and management through distributed accounting and storage. Decentralization is the most prominent and essential feature of blockchain
2. Openness. Blockchain technology is based on open source. In addition to the private information of all parties involved in the transaction is encrypted, the data of blockchain is open to everyone. Anyone can query blockchain data and develop related applications through the open interface, so the information of the whole system is highly transparent
3. Independence. Based on consensus specifications and Protocols (similar to various mathematical algorithms such as hash algorithm used by bitcoin), the whole blockchain system does not rely on other third parties, and all nodes can automatically and safely verify and exchange data in the system without any human intervention
4. Safety. As long as 51% of all data nodes cannot be controlled, the network data cannot be arbitrarily manipulated and modified, which makes the blockchain itself relatively safe and avoids subjective and artificial data changes
5. Anonymity. Unless there are legal requirements, technically speaking, the identity information of each block node does not need to be disclosed or verified, and the information can be transferred anonymously
issued based on Ethereum public chain should be observed according to the price trend of the platform.
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
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.
as of today (October 19, 2018), AE token exists on Ethereum blockchain. In order to migrate them to the aeternity blockchain in a secure and verifiable way, the AE team designed a process in which the migration is divided into four stages. The final phase will end on September 2, 2019
after each stage, there will be a scheled hard fork of the aeternity blockchain, which will migrate tokens and introce improvements and new features
to ensure the transparency and verifiability of this migration process, users will be able to migrate using dedicated smart contract settings. There will be a tool that anyone can use to verify:
1. Generation of accounts contained in the origin block of aeternity blockchain and corresponding accounts of Ethereum
2. Scheled migration balance
Genesis block and scheled hard fork
phase 0 is the migration phase before mainnet starts. Its start date will be announced separately. Genesis block is the first block in the aeternity blockchain, which will include all tokens migrated by users in phase 0. Each of the following three phases, lasting about three months, will end with a scheled hard fork of the day and night blockchain. This means that after mainnet starts, there will be three scheled hard bifurcations. Each hard fork migrates tokens and adds or extends the functions of the aeternity blockchain, which can only be realized through hard fork. This also means that users can only receive their tokens on aeternitymainnet, one of which ends and the fork is complete. All scheled hard forks will include new features and improvements to the aeternity protocol such as governance systems or new virtual machines. A detailed timetable for the future will be announced in a separate announcement.
