Position: Home page » Blockchain » Can MySQL be used as a blockchain

Can MySQL be used as a blockchain

Publish: 2021-04-21 03:21:18
1. I don't think it's expensive to build a blockchain system. Last time I cooperated with Shengshi Huacai company, their company's fees are reasonable and they are very conscientious in the blockchain system instry.
2.

Can be

blockchain to achieve a simple description of the principle of

blockchain technology as a digital accounting technology, its core is to save the transaction data block, in the form of encryption, according to the order of time chain record. Blockchain itself is a public database. The system stores the new business data in a container called block, and adds the block to the chain composed of existing blocks. It's a bit like a snake. The more you eat, the longer the snake's body; In the application scenario of bitcoin, the data is a set of transfer transaction records. In the application scenario of bike sharing, these data can be the transaction records of car borrowing and returning

The simple implementation code of

blockchain

in the above code, the data structure stored in the core of blockchain is list, which can be accessed through
new_ New blocks generated by block () are constantly added to the end of the blockchain. The hash value of each block contains all the data information of the block. In the process of calculating the hash
value, the hash
value of the previous block needs to be referenced, so tamper proof is realized. The biggest value of blockchain database is this highly tamper proof trusted computing. This has been successfully demonstrated in our simple blockchain implementation. In commercial level blockchain applications, the process of creating new blocks is called smart contract, and blockchain is growing through smart contract

the following is the running result of the code, which is different at different times

running results

< img / >

3. Log out and cancel
4. < UL >
  • the concept of blockchain is a new application mode of distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and other computer technologies. Since it is a mode, it is not limited to language, only that language is more suitable

  • blockchain needs a lot of storage, calculation and transmission. PHP is not suitable for these characteristics, especially the efficiency of PHP

  • if you want to study this, look at the article of blockchain more:

    understanding of blockchain,

    51 lines of code to realize a simple PHP blockchain

  • < / UL >
    5. The most obvious and essential difference between data sharing and nothing sharing

    clusters are shared storage. There are no shares in the replication. Each machine is an independent and complete system

    as a result, there are differences in application and implementation technologies.
    6. Look at the system throughput, as long as it is not too large (such as bank level), MySQL is enough
    Hot content
    Inn digger Publish: 2021-05-29 20:04:36 Views: 341
    Purchase of virtual currency in trust contract dispute Publish: 2021-05-29 20:04:33 Views: 942
    Blockchain trust machine Publish: 2021-05-29 20:04:26 Views: 720
    Brief introduction of ant mine Publish: 2021-05-29 20:04:25 Views: 848
    Will digital currency open in November Publish: 2021-05-29 19:56:16 Views: 861
    Global digital currency asset exchange Publish: 2021-05-29 19:54:29 Views: 603
    Mining chip machine S11 Publish: 2021-05-29 19:54:26 Views: 945
    Ethereum algorithm Sha3 Publish: 2021-05-29 19:52:40 Views: 643
    Talking about blockchain is not reliable Publish: 2021-05-29 19:52:26 Views: 754
    Mining machine node query Publish: 2021-05-29 19:36:37 Views: 750