How can bitcoin transaction be written into blockchain
first, define the
blockchain as an open network ledger. It originated from bitcoin and is the underlying technology of bitcoin. In bitcoin transactions, all the information of transaction records will be packaged into a "block" for storage. With the expansion of information exchange, one block links with another, forming a blockchain
Second, the digital currency represented by bitcoin is a point-to-point e-cash system. Among them, every transaction will broadcast to all participants in the network, and it will be recorded in the account book after repeated confirmation, which is called "blockchain". Each participant will have his own account book. In this way, when false information occurs, it can be broken through mutual verification, so as to ensure network securityin the blockchain, every node is equal, and there is no centralized management organization. This "decentralized" feature makes the blockchain do not need to rely on a third party, its operation does not need any human intervention, and it can independently conct self verification. In addition, the network of blockchain is open to the world, and anyone can query data through the public port, so the whole system is highly transparent
In a word, blockchain is a reliable database and a reliable "account book". In the future, it will be applied in cross-border payment, securities, loans, voting, etc. For example, in cross-border payment, with the security of blockchain, you can remit money to the world anytime and anywhere, which saves a lot of intermediate links and high feesdoes each node have complete blockchain data? You mean a user node? A user node needs to keep the of the block head of the longest workload proof chain, so it knows the data of all the block heads. It can move forward to know all the data on the block chain, but not all of them are saved. A block header is very small, only 80 bytes, which can be saved completely, because the generation of nodes is very slow. Even with the passage of time, the amount is not too large now.
at the same time, it can provide mutual trust for transactions by using trusted self-executive code, so as to rece uncertainty and promote digital transfer and asset transactions
bitcoin is the most well-known blockchain as an encryption currency that uses blockchain technology to realize alternative payment. Bitcoin is a kind of unlicensed blockchain, also known as public blockchain, which does not restrict the identity of users who consume bitcoin or participate in verifying the authenticity of transfer blocks in the blockchain (an energy intensive process, also known as "mining"). These miners get token, or bitcoin, in return, and given that everyone can view the block (though anonymously), the blockchain itself is somewhat transparent
bitcoin is controversial and banned by many countries e to user anonymity to a large extent. However, it is worth noting that the anonymity and energy use of bitcoin are its own characteristics, not the characteristics of the whole blockchain technology.
relationship between blockchain and bitcoin: bitcoin used to be one of the most successful applications of blockchain technology. Specifically, the blockchain is a series of data blocks generated by the use of cryptography Association, and each data block contains the information of effective confirmation of multiple bitcoin network transactions. It can be said that bitcoin is a "killer application" of blockchain idea. Blockchain is the underlying technology of bitcoin, but its role is not limited to bitcoin.
bookkeeping is done by miners
generally speaking, the correct result of Distributed Accounting is decided by the vote of "miners"
if you have a 51% pool, you can theoretically void any transaction (roll back). This is called a 51% attack
now bitcoin miners are distributed all over the world. The world's largest mine pool is in China, and the person in charge of bitcoin has promised that its total power will not exceed 50% (now about 30%), so there is no possibility of 51% attack for the time being
but it can't be said to conquer