Virtual currency based on POS algorithm
virtual currency is the currency used for electronic circulation. Now the scope of virtual currency is very large, including q-coin, bitcoin and so on. With the development of digital currency, virtual currency is becoming more and more abundant, which may become the mainstream in the future. For example, BTC, EOS, bcbot and so on are not only virtual currencies, but also algorithms, landing projects and technologies
virtual currency is mainly issued by online game service providers to purchase game props, such as equipment, clothing, etc. But at present, the use of virtual currency has gone far beyond this category. Virtual currency can be used to buy game cards, physical objects and download services of some movies and software
extended data:
real risk
as the proct of e-commerce, virtual currency has begun to play an increasingly important role, and it is more and more connected with the real world. However, with the growth of virtual currency, the relevant laws and regulations are lagging behind, which has laid many hidden dangers
fraud
the private transaction of online virtual currency has realized the two-way circulation between virtual currency and RMB to a certain extent. The activity of these traders is to buy all kinds of virtual currencies and procts at a low price, and then sell them at a high price to earn profits. With the increase of such transactions, there are even virtual mints. In addition to the virtual currency provided by the main company, there are also some people who specialize in "virtual coin making" to obtain virtual currency by playing games and then resell it to other players
Taking Wenzhou as an example, there are about seven or eight such "virtual mints" with four or five hundred practitioners. This not only creates a bubble for the price of the virtual currency itself, but also causes trouble for the normal sale of the issuing company. It also provides a platform for selling and collecting money and money laundering for various cyber crimes. p>
impact system
in modern financial system, the issuers of money are generally central banks, which are responsible for the management and supervision of money operation. As the equivalent exchange goods used to replace the real currency circulation on the Internet, the virtual currency on the Internet is essentially the same as the real currency. The difference is that the issuers are no longer central banks, but Internet companies
if the development of virtual currency makes it form a unified market, each company can exchange with each other, or virtual currency is integrated and unified, and all of them are based on the same standard and price, then in a sense, virtual currency is currency, which is likely to form a threat impact on the traditional financial system or economic operation
reference: network virtual currency
Background: the financial application of blockchain technology brings high investment value
2018 China international big data instry Expo opened in Guiyang City, Guizhou Province on the 26th. At the meeting, it was pointed out that China will vigorously develop the digital economy in the future, deeply implement the action plan for the development of big data and cloud computing, and deeply study blockchain technology and application. Especially in the field of finance, the landing application has become the focus of the scientific and financial circles
1. The value source of blockchain is that it can perfectly solve the pain points of the current financial instry:
in today's asset securitization, insurance, supply chain finance, commodity trading, asset custody and other financial scenarios, e to many participants, high cost of credit evaluation, low settlement efficiency of intermediary institutions and other reasons, Traditional financial service methods are difficult to effectively solve the long-standing core pain points in the instry, such as information asymmetry, complex and rendant processes, and high information verification cost
2. Why can blockchain solve the above pain points:
blockchain technology integrates many basic technologies, such as distributed accounting, tamper proof, built-in contract, etc., and constructs a trust building mechanism with lower cost. The financial application based on blockchain technology can realize the ability of all market participants to obtain all transaction information and asset ownership records in the market without discrimination, and effectively solve the problem of information asymmetry; Smart contract embedding reces the error rate of payment and settlement, simplifies the process and improves efficiency; At the same time, based on transparent information and brand-new trust mechanism, there is no need to spend manpower, material resources and financial resources to confirm information among participants, which will greatly rece the trust cost between institutions, and then rece the price of financial services and transaction costs
3. The application of blockchain technology in the financial field mainly includes the following aspects:
① digital currency
among which bitcoin is the most famous. On the basis of bitcoin, a large number of other types of decentralized digital currencies have been derived. Such as: the heyday of bits
Compared with the traditional payment system, blockchain payment can directly carry out end-to-end payment for both parties without the help of the banking system, which can greatly improve the speed and rece the cost③ digital bills
④ bank credit management: the advantage of blockchain is that it can rely on program algorithm to automatically record credit related information and store it on every computer in the blockchain network, with transparent information, tamper proof and low cost
The major financial institutions and exchanges in Europe and the United States have explored the application research of building the next generation of financial asset trading platform based on blockchain technology4. The development prospect of blockchain. The future development of blockchain technology will have the most vitality with alliance chain as the entry point, and will have a significant effect and far-reaching impact on the transformation of traditional financial instry pain points
in response to the good investment prospects of blockchain, domestic enterprises such as Alibaba, Jingdong and Netcom have entered the market. The application of financial scenarios based on blockchain technology not only brings us security and convenience, but also provides us with broader investment space. The rise and price surge of digital currency represented by bitcoin (bitcoin was about RMB 20 cents when it was first listed in 2009, and its current price is about US $7300!) It's the best proof that people with a keen sense of smell have made a lot of money from it
Abstract: This is an encrypted digital currency based on the bitcoin developed by Nakamoto Tsung, which improves and adds many new functions, such as the double-layer reward system network, also known as the main node network. It also includes anonymous payment to improve the interchangeability (bitage) and real-time payment function docking to realize real-time transaction confirmation without relying on the authority of the center (P2P mall) In 2009, Nakamoto put forward the concept of bitcoin. Since then, bitcoin has spread rapidly in mainstream applications and commercial uses, becoming the first digital currency to attract a large number of users, which is a milestone in the history of digital currency. However, from the perspective of completing the transaction, we can find an important problem, that is, it takes too long for bitcoin block to confirm the transaction. Traditional payment companies have found a solution to enable the buyer and the seller to realize zero confirmation of bitcoin transaction, but this solution usually requires a trusted third party to complete the transaction outside the agreementbitcoin provides pseudonym transaction, realizes the one-to-one transaction relationship between sender and receiver, and can always record the transactions occurred in the whole network. Bitcoin only provides low-level privacy protection, which is well known in academia. Despite this deficiency, many people still believe in the transfer history recorded by blockchain
based on Nakamoto's achievements, bitshengshi is an encrypted digital currency with the purpose of protecting privacy. We have made a series of improvements on the basis of the concept of bitcoin, resulting in a decentralized cryptocurrency with good anonymity. It supports tamper proof real-time transactions, and has a point-to-point sub network that can provide service reward system for bitsheng network
2. Master node network
the whole node is the server running on the P2P network, so that small nodes can use them to accept the dynamic changes from the whole network. These all nodes need significant traffic and other resources that consume a lot of cost. Therefore, it will be observed that the number of these nodes on the bitcoin network presents a steady downward trend over a period of time, so that the block broadcast time needs an additional 40 seconds. In order to solve this problem, many solutions have been put forward, such as the introction of Microsoft Research's new incentive plan and bitnodes incentive plan
Figure 6: mining reward model
litecoin (LTC), released on October 7, 2011, is the most valuable counterfeit coin at present, accounting for about 2% of BTC's market value. The current unit price is US $2.31, with a total currency value of US $38 million
this is also a distributed (decentralized) digital currency. Unlike the sha256 mining algorithm used by bitcoin, LTC adopts scrypt algorithm. Scrypt algorithm uses sha256 as its subroutine, and scrypt itself needs a lot of memory. Each hash is used as the seed of the input, and then it needs a lot of memory to store another pseudo-random sequence to generate the pseudo-random points of the sequence and output the hash value. In the mining of BTC (bitcoin), it is not enough to rely on simple graphics card mining (it takes about ten to dozens of days to dig a BTC with general configuration graphics card). The emergence of various expensive mining machines has raised the threshold for ordinary people to get BTC through mining, while LTC has certain advantages in using PC graphics card mining This passage comes from Zhihu.)
compared with BTC, litecain has made a little improvement in technology. If BTC is gold now, LTC is silver for the time being
the biggest advantage of litecoin is that it can confirm the authenticity faster. The virtual currency is designed and maintained by Charles Lee. Bitcoin transactions need to be verified, and the average verification time is more than 10 minutes. Most transaction websites need 1 hour to verify. The average transaction confirmation time of liteoin is 2.5 minutes. Developers claim that shortening the verification time increases the practicability of virtual currency. The bitcoin mining efficiency of customized machine and AMD GPU is the highest, making it almost unprofitable for miners using CPU mining. Litecain's mining excludes GPUs and custom processors, so it doesn't rely too much on a small number of professional miners
ppcoin
ppcoin (PPC) was released on August 19, 2012, which has improved the original technology of BTC. Use proof of make and add the concept of coin age
ppcoin is a bifurcated project of bitcoin, which aims to achieve energy efficiency and maintain the best performance of the original bitcoin as far as possible. The unit price of ppcoin is US $0.22 and the total currency value is US $4 million
ppcoin does not have a fixed upper limit of money supply, but it does not mean that ppcoin has obvious inflation compared with bitcoin. Bitcoin can be compared to gold. The annual inflation rate of gold is about 1-3%. Although gold has no known upper limit of money supply, we still know that it is a reliable scarce commodity
ppcoin has two types of casting: work certificate and equity certificate. The coinage rate of working proof is affected by Moore's law, which depends on the doubling of our working proof ability. What we all know is that Moore's law will eventually come to an end. By then, the ppcoin of inflation may be close to the gold level. The annual maximum inflation rate of certificate of equity is 1%. At the same time, ppcoin's transaction costs were destroyed to fight inflation. So on the whole, the coin design of ppcoin is still a very low inflation design in the future, which can be comparable with bitcoin<
ppcoin's reward is similar to lottery, which will determine the winning probability according to the number of ppcoin held by miners. Sunny king, one of the founders, said that their design is based on a new concept of long-term energy efficiency
terracoin
terracoin (TRC) was released on October 26, 2012, with a total currency of 42 million. The speed of each block is 2 minutes, slightly faster than LTC. There is not much special in technology, similar to the proction of BTC halved every four years
however, the operation team seems to have a strong business background and may be better than other bitcoins in circulation. The development of virtual currency is getting more and more attention. Now some teams with business background will accelerate the development of virtual currency
namecoin
namecoin is a distributed domain name system based on bitcoin technology. Its principle is the same as bitcoin. The first release date of this open source software is April 18, 2011
namecoin is generated from an original block which is different from bitcoin's main trading block. It uses a new blockchain, which is independent of bitcoin's blockchain. Because it is based on bitcoin, the security, distribution, robustness, encryption and migration of domain names are guaranteed mathematically. You can dig bitcoin and namecoin at the same time
this project was discussed and proposed by bitdns, which is mainly dissatisfied with the defects of DNS. The only top-level domain name of namecoin is. Bit. It costs namecoin to register a. Bit domain name.
What does this mean? That is to say, how much money you get depends on the effective work you contribute to mining. In other words, the better the performance of your computer, the more money you will be allocated. This is to allocate money according to your work certificate. Most virtual currencies, such as bitcoin, Leyte and Ruitai, are based on the pow mode (the higher the computing power and the longer the mining time, the more money you get)
pos: proof of stake
What does that mean? In short, it is a system to pay you interest according to the amount and time of currency you hold. In the POS mode of certificate of equity, there is a term called currency age. Each currency has one currency age every day. For example, if you hold 100 currencies for 30 days, then your currency age is 3000. At this time, if you find a POS block, Your currency age will be cleared to 0. Every time you are cleared 365 coins, you will get interest of 0.05 coins from the block (which can be understood as 5% annual interest rate). In this case, interest = 3000 * 5% / 365 = 0.41 coins, which is very interesting. Holding coins has interest, very good!
Private key: in fact, it is a group of random numbers. We have already introced the random numbers in the blockchain
public key: the private key is generated by elliptic curve encryption algorithm, but the private key cannot be obtained by public key inversion. The function of public key is to encrypt information with one's own private key when dealing with the other party, and then the other party decrypts the original information with one's own public key. This process is commonly known as signature
address: because the public key is too long and inconvenient to use in the transaction, the public key hash is encrypted with sha256, ripemd160 and base58 algorithms to generate the address
first, the random number generator is used to generate a "private key". The subsequent public key and address will be generated by the private key, so the importance of the private key can be summarized in one sentence: & quot; Who has the private key, who has the right to use the wallet& quot;
"private key" is encrypted by elliptic curve algorithm (secp256k1) to generate & #; Public key;. This is an asymmetric one-way encryption algorithm. Knowing the private key can calculate the public key, but knowing the public key can't reverse calculate the private key
"public key" generates "public key hash"
through one-way hash algorithm (sha256, ripemd160), and connects a byte of address version number to the "public key hash" header (for the pubkey address of bitcoin network, The first four bytes of the result are used as the check value of "public key hash" and connected at the end of it
encode the previous result with base58 (customized version of bitcoin) to get the "wallet address"