What are the following BTC forks
The capacity of a block in bitcoin is 1m (megabytes). A transaction is between 250 and 500 bytes
according to this algorithm, a block contains about 4194.3 transactions
the confirmation time of a block in bitcoin is 10 minutes, so the seven transactions that a block can process per second may sometimes be less than seven
What are the consequences The bifurcations of
bitcoin are divided into hard bifurcations and soft bifurcations
hard fork means that when the block format or transaction format of bitcoin changes, the UN upgraded nodes refuse to verify the blocks proced by the upgraded nodes
the upgraded nodes can verify the blocks proced by the non upgraded nodes, and they continue the chain they think is correct, so they are divided into two chains
What is soft bifurcationsoft bifurcation means that when the data structure of bitcoin transaction changes,
UN upgraded nodes can verify the blocks proced by upgraded nodes,
and upgraded nodes can also verify the blocks proced by UN upgraded nodes
existing definition:
[lightning definition] hard fork refers to that when the bitcoin block format or transaction format (this is the widely spread "consensus" (should be part of the agreement consensus)) changes, the UN upgraded node refuses to verify the blocks proced by the upgraded node, but the upgraded node can verify the blocks proced by the UN upgraded node, Then we continue the chain that we think is right, so we divide it into two chains< A permanent divergence in the block chain, commonly occurs when non upgraded nodes can't validate blocks created by upgraded nodes that follow new consensus rules, The UN upgraded node can verify the blocks proced by the upgraded node, and the upgraded node can also verify the blocks proced by the UN upgraded node<
a temporary fork in the block chain which commonly occurs when miners using non upgraded nodes vialate a new consensus rule their nodes don't know about.
I don't think we can say which definition is right or wrong. The specific definition can be summed up according to the differences between the two that have been widely agreed in the community, and it doesn't need authority to specify
hard fork: without forward compatibility, the previous version will be unusable and need to be upgraded
soft fork: it has good compatibility, at least some functions of previous versions are available, and can not be upgraded
hard branching: at the level of blockchain, there will be two branching chains, one old chain and one new chain
soft bifurcation: there are no forked chains at the level of blockchain, but only the blocks that make up the chain, including new blocks and old blocks
hard forking: it is necessary to agree with the forking upgrade at a certain time point, and those who do not agree will enter the old chain
soft bifurcation: for quite a long time, it is allowed to continue to use the original version to generate old blocks and coexist with new blocks without upgrading
BCC does not meet the definition of bitcoin network bifurcation. BTC and BCC are two completely different chains in two days. As like as two peas, the whole network as like as two peas, which can not be synchronized in one chain, has two pieces of block chain network with identical bitcoins. Two networks have a large number of miners digging, and transactions on two different networks can not be synchronized. This leads to two even the same difficulty of two parallel chains, which is called forking.
BCC has also been identified by bitcoin international Roundtable forum as a competitive currency that replicates bitcoin blockchain and modifies some codes. Therefore, it is a wrong interpretation that BCC is the network fork of bitcoin.
dpos mechanism
in recent years, e to the resource waste of pow, unstable block output, and the existence of computing power attack, although POW is recognized as the most widely used and secure consensus mechanism, there is still a great risk of being attacked for the block chain with insufficient computing power in the whole network. More and more consensus mechanisms are proposed to be used in blockchain projects for trial and experiment. Dpos is one of the mainstream consensus mechanisms, and LBTC has adopted this mechanism. Dpos ensures that the voting right is in the hands of the coin holder, so the coin holder will be able to choose whether to pass the motion by voting, so as to determine the development direction of the project. At the same time, it also means that the development direction of the project depends on the hands of the people who care about the project itself, and the power of wisdom will promote the better development of the project. At the same time, the advantages of dpos mechanism are that there is no computing power attack, strictly abide by the time block and save resources
dpos advantages of LBTC
the dpos mechanism of LBTC also has its own characteristics: the number of nodes of LBTC is 101, compared with 21 or 51 nodes, the coin holder can vote for 51 nodes at most once in the wallet of LBTC, which further reces the risk of centralization; LBTC can output blocks stably in 3 seconds, and the block size of 2m ensures that LBTC is 400 times more efficient than bitcoin, and the transaction speed can reach more than 2000 transactions per second; The most important difference between LBTC and other projects is that LBTC's dpos mechanism has the rule of irreversible block. When the number of block agents reaches 90% or more in one round, or when the number of block agents exceeds 70%, the first block in the previous round can be considered as irreversible, so as to prevent bifurcation
LBTC's defense measures
in addition to dpos consensus mechanism, LBTC's technical level has other highlights
first of all, LBTC can prevent [replay attack]. What is a replay attack? Each bitcoin account will have a corresponding number of lbtcs based on its bitcoin balance. If the address, private key, algorithm, etc. on each chain are the same, and the transaction format is the same, the transaction initiated on one blockchain can be put on another blockchain for rebroadcasting, and may also be confirmed. This is the "replay attack.". In short, when a user transfers LBTC, BTC may also be transferred at the same time. LBTC modifies the hash algorithm in transaction signature. In the hash algorithm, "LBTC" field is added to LBTC. The hash generated by LBTC and BTC will be different. LBTC and bitcoin do not recognize each other's transactions, so as to prevent replay attacks
secondly, to prevent [forged mining]. There are no concepts of voting and balance in bitcoin transaction. In order to maximize the stability of LBTC, a new output composed of OP return is added in coinbase transaction. Op-return data is composed of three fields: publickey, time and sign (time). Time represents the timeliness of transaction. Publickey verifies sign (time), which is the principle of asymmetric encryption algorithm to prevent forgery and mining. LBTC has 101 nodes. Assuming that the attacker has 30 nodes, if the remaining 71 nodes are forged, other nodes can mistakenly think that the attacker's chain is the longest and block out. This is a forgery mining attack
thirdly, prevent [double flower attack]. Double spending attack is a money spent twice, it can also be called double payment attack. For example, BTG, which has attracted wide attention before, recently suffered 51% attacks. A malicious miner obtained at least 51% of the computing power of the BTG network, temporarily controlled the BTG blockchain, quickly raised money after recharging the exchange, then reversed the block, and successfully implemented Shuanghua. Due to the irreversible block mentioned above, when the transaction of LBTC block is confirmed, it is impossible to roll back, so as to prevent the double flower attack
Fourth, multithreading. In LBTC's transaction consistency and legitimacy check, the data that can be merged and integrated are merged and executed by multi thread, which greatly improves the transaction efficiency and enhances the performance of LBTC
code logic of LBTC
in addition, in terms of code logic, LBTC is divided into protocol layer, consensus layer and application layer. When it is necessary to transfer value, the transaction is completed through the protocol layer link and consensus layer. This process can not only be used as the exchange of value, but also as the value intermediary in the tripartite connection. The application layer is mainly based on smart contract. In the future, LBTC will realize the function of gateway based on smart contract. The payment gateway implements asset issuance, asset transaction, currency exchange, chain interaction and so on
that's why LBTC can say that it wants to do global value internet protocol. Through the payment gateway, it can exchange any currency, not only between currencies, but also between legal currency and digital currency. Isn't that very convenient? One click conversion is to buy eth with vnd and transfer it to her British cousin in the distance. She dislikes it and immediately changes it to EOS. After one second, it is changed to pound sterling. There is no need for extra conversion steps. It's good to get it in one step? Such an analysis, in fact, from the technical code level analysis of LBTC is quite reliable. However, compared with those experts, Xiaobian won't deceive you. Whether LBTC can realize decentralized value Internet Protocol in the future, focusing on code will be a more intuitive way GitHub of LBTC: https://github.com/lbtcio/lbtc-core
how to use gateway
next, we talk about the specific implementation of the gateway's "conversion and circulation", which can be roughly divided into three kinds:
first, after the LBTC system has built the gateway technology, with the gateway as the bridge, user a can convert any currency into LBTC, and then send it to any user B who wants to send it, while user B can convert LBTC into any currency he needs, Does this sound like what you usually do on the exchange? I think this is one of the reasons why LBTC proposes to be a "decentralized exchange"
Second, user a can deposit the funds in the gateway trusted by user B and transfer them to user B through the gateway
thirdly, LBTC will provide the function of "any user can issue token" in the early stage of gateway construction. Therefore, in the LBTC system, if user a has a good reputation, is recognized by everyone, and issues its own a token (of course, it should include the asset chain realized by asset mortgage), a can use its own a token for user B's currency exchange. After that, user a can redeem the a token exchanged to B. A is the gateway role in the transaction process
in the process mentioned above, the functions of asset issuance, asset transaction, currency exchange and chain interaction are realized respectively
the gateway is similar to the function of a bank, which can mainly solve the problem of cross-border transfer. With the high TPS and low handling charge of LBTC, it will be very convenient to realize cross-border transfer. For example, if you need to remit money from China to the U.S., you need to remit RMB to China's LBTC gateway, and then the U.S. gateway will receive the LBTC from China's gateway, convert it into U.S. dollars, and forward it to the U.S. account. In the above gateway system, it can be concluded that both payment parties do not need to join the network, just need to trust the gateway
although the gateway solves the problems of slow speed and high handling charge of traditional transfer payment, it also faces new problems
then there is a problem
in addition to the standard institutions or project parties invited by LBTC can become gateways, ordinary users can buy and sell with each other (in fact, this kind of behavior is more inclined to loan, if it is only the business between acquaintances, it will form a small independent network), How to prove that gateway is a trustworthy organization or indivial
how to extend the gateway of LBTC to cooperate with large organizations is obviously a problem for the team. Ripple has developed more mature. At present, it has cooperated with MUFG in Japan, Westpac in Australia and Standard Chartered Bank in the UK. With ripple, star currency and other payment digital currencies in front, LBTC needs to have more characteristics if it wants to go out of its own route. This can be expected in the later intelligent contract route planning
however, ripple is also accused of being too centralized because of its distribution mode. LBTC has 101 nodes because of its dpos mechanism, and because it is a bifurcated coin, it will be distributed to bitcoin holders 1:1 when it is issued. This can be said to be the inherent advantage of LBTC - it has wide dispersion. If it can be supported and recognized by the public in the future, it can reach a consensus, Then it will form a congenital advantage of wide distribution
in addition, how can we prove that assets really exist in reality and can be used as collateral in the process of asset chain? In addition to large-scale institutions such as banks, small-scale network also has its inevitability. The proof of assets on the asset chain is a very important part. If it is not regulated and certified, it is very likely that the gateway will run away or false gateway will occur. Although the gateway is exemplified as "Taobao" platform, in theory, the platform can not manage the business content, but the platform has supervision on the quality of goods, otherwise it will cause confusion
decentralized exchanges
let's go back to the first point and talk about my ideas on decentralized exchanges. At present, mines and centralized exchanges are the protagonists in the early development of blockchain. With the rise of more and more exchanges, centralized exchanges fall into manipulation scandals and so on, which bring room for the growth of decentralized exchanges. Decentralized transaction is very likely to bring value to the field of blockchain and become the real protagonist in the era of blockchain. With gateway technology, LBTC can realize decentralized exchange. In the decentralized exchange of LBTC, the user's own currency will be kept by himself, which prevents the possibility of losing the currency in the centralized exchange. At the same time, it can also prevent the opaque system transactions, operational and technical risks. According to the previous gateway interview, LBTC will also work with reliable project parties to put on the stock exchange for the benefit of all community members. Generally speaking, LBTC's development route is relatively clear, and its goal in the field of payment is also very clear. Hold on, partners, the future is promising!
as we all know, there are two common types of bitcoin wallets:
first, the network version, which does not need to be downloaded by users, can directly access the wallet platform through a computer or mobile phone, and use bitcoin wallets
Second, the stand-alone version, which needs to be downloaded from the computer (or the lower end of the mobile phone) and installed before it can be used.
bitcoin does not rely on specific currency institutions to issue. It is generated through a large number of calculations of specific algorithms. Bitcoin economy uses a distributed database composed of many nodes in the whole P2P network to confirm and record all transactions. The decentralized nature and algorithm of P2P can ensure that it is impossible to artificially manipulate the value of bitcoin through mass proction
bitcoin is very similar to cash
the advantages of bitcoin are: no freezing, no tracking, no taxes, and extremely low transaction costs. Compared with people who speculate in currency, it is wealth, and people outside the currency circle may think it is a fraud
bitcoin is a relatively mainstream digital currency, which can be properly invested. There are risks in the transaction. You can invest cautiously. You can search the fire coin, coin security, OK, dobby trading platforms on the Internet, which can trade bitcoin. These are relatively large trading platforms. Invest in mainstream digital currency, do not invest in counterfeit currency or air currency.
bitcoin cash is the proct of the three-year battle for bitcoin expansion. The main supporters and promoters of bitcoin cash are supporters and developers of large blocks
bitcoin cash is not a kind of bifurcated currency, and bitcoin cash does not meet the definition of bifurcated currency. Bitcoin cash and bitcoin are two different blockchains.