Position: Home page » Virtual » How to calculate the virtual currency point

How to calculate the virtual currency point

Publish: 2021-05-16 12:43:37
1. In order to understand the technical principle of bitcoin, we need to understand two important cryptographic techniques: hash code: it converts a long string into a fixed length string, and its conversion is irreversible, that is, it is impossible to guess the original string from hash code. Sha256 is mainly used in bitcoin protocol
public key system: corresponds to a public key and a private key, keeps the private key in the application and publishes the public key. When Party A transmits information to Party B, it can use Party A's private key to encrypt the information, and Party B can use Party A's public key to decrypt the information, so as to ensure that the third party cannot impersonate Party A to send the information; At the same time, when Party A transmits information to Party B, it is encrypted with Party B's public key and sent to Party B, and then Party B decrypts it with his own private key, so as to ensure that the third party cannot eavesdrop on the communication between the two people. RSA is the most common public key system, but the lliptic curve digital signature algorithm is used in bitcoin protocol. What's the difference between cash and bank account? Bitcoin is an electronic currency in BTC. In this article, it is also used to refer to the whole bitcoin system. Like opening an account in a bank, the corresponding concept in bitcoin is address. Everyone can have one or more bitcoin addresses, which are used to pay and collect money. Each address is a string that starts with 1. For example, I have two bitcoin accounts, and. A bitcoin account is uniquely determined by a pair of public key and private key. To save the account, you only need to save the private key file. Unlike bank accounts, banks keep all transaction records and maintain the book balance of each account, while bitcoin's transaction records are jointly maintained by the whole P2P network through a pre agreed protocol. How much money is in my account address? Although the current account balance can be seen by bitcoin software, unlike banks, there is no place to maintain the book balance of each address. It can only calculate the account balance in real time through all historical transactions. How do I pay? When I pay from address a to address B of the other party, the payment amount is e. at this time, both parties will announce the transaction information to each network node, telling address a to pay to address B, and the payment amount is e. In order to prevent the third party from forging the transaction information, the transaction information will be encrypted with the private key of address A. at this time, the network node receiving the transaction information can use the public key of address a to verify that the transaction information is indeed sent by address a. Of course, trading software will help us do these things, we just need to input the relevant parameters in the software. What will the network node do after receiving the transaction information? This is the most important part of the bitcoin system, which needs to be elaborated. For the sake of simplicity, only bitcoin protocol has been implemented. In the current version, each network node will save all transaction information synchronously. There are two kinds of transaction information in history, one is & quot; Verified & quot; The transaction information, that is, the verified transaction information, is stored in a series of "blocks". Each & quot; block" Is the previous & quot; bock" The ID of each block is the hash code of the hash code of the block and the new transaction information (see an actual block). The other category refers to those who also & quot; Unverified & quot; The transaction information just paid above belongs to this category. When a network node receives new unverified transaction information (possibly more than one), it can calculate the book balance of each address at that time because the node keeps all the transaction information in history, so it can calculate whether the transaction information is valid, that is, whether there is enough balance in the payment account. After eliminating the invalid transaction information, it first takes out the last & quot; block" Then, the unverified transaction information is combined with the ID, and a verification code is added to form a new "block". It needs a lot of calculation to build a new block, because it needs to calculate the verification code, so that the above combination becomes a block, that is, the first several bits of the hash code of the block are 1. At present, the first 13 bits need to be 1 (generally, the specific method is uncertain), which means that if the block is generated by enumeration method, the average number of enumerations is 16 ^ 13. Using CPU resources to generate a block is called "gold mining", because the proction of the block will get a certain reward, and the reward information has been included in the block. When a network node generates a new block, it will broadcast to other network nodes. However, this network block may not be accepted by the network, because it is possible that other network nodes have proced the block earlier. Only the earliest block or the block with the largest number of subsequent blocks is valid, and the remaining blocks are no longer used as the initial blocks of the next block. How does the other party confirm that the payment is successful? When the payment information is distributed to the network node, the network node begins to calculate whether the transaction is valid (that is, whether the account balance is enough to pay), and attempts to generate blocks containing the transaction information. When six blocks (one direct block and five subsequent blocks) contain the transaction information, the transaction information is considered "verified", so that the transaction is formally confirmed, and the other party can confirm the successful payment. A possible problem is that I will pay the balance of address a to address B, and at the same time pay to address C. If I only verify that the single comparison transaction is valid. At this point, my way of cheating is to generate six blocks including B to B and six blocks including C to C before the truth is revealed. Because I need a very long CPU time to generate a block, compared with the whole network, the probability of my cheating success is very small. What is the motivation of network nodes to proce blocks? As can be seen from the above description, in order to make the transaction information effective, the network node needs to generate 1 and 5 subsequent blocks to contain the transaction information, and such block generation is very CPU intensive. How to let other network nodes help to proce blocks as soon as possible? The answer is very simple. The agreement stipulates that BTC will be rewarded for the address where the block is proced, as well as the Commission promised by both parties. At present, the reward for procing a block is 50btc, which will be halved every four years in the future. For example, the reward will be 25btc from 2013 to 2016. Is the transaction anonymous? Yes, and No. All bitcoin transactions are visible. We can check all transaction records of each account, such as mine. But what's different from the banking monetary system is that everyone's account itself is anonymous, and everyone can open many accounts. In general, anonymity is not as good as it claims. But bitcoin has another advantage in doing black market trading: it can't be frozen. Even if the police trace a bitcoin address, there is nothing they can do unless they trace the computer used by the exchange based on the Internet address. How to ensure that bitcoin does not depreciate? Generally speaking, in the case of equivalent trading activities, the value of money is inversely proportional to the amount of money issued. Unlike the traditional money market, the central bank can determine the amount of money issued. Bitcoin does not have a central issuing institution. Only by procing blocks can we get a certain amount of BTC currency. Therefore, bitcoin's new amount of money depends on: 1. The speed of procing blocks: bitcoin's agreement stipulates that the difficulty of procing blocks is fixed at an average of 2016 every two weeks, about 10 minutes. Moore's law of doubling CPU speed every 18 months will not speed up the proction of block. 2. The number of rewards for block proction: at present, 50 BTC is awarded for each block proced, which is halved every four years. In 2013, 25 BTC is awarded, and in 2017, 12.5 BTC is awarded. Considering the above two factors, bitcoin's currency issuing speed is not controlled by any single node in the network. Its protocol makes the currency stock known in advance, and the maximum stock is only 21 million BTC
2. At present, bitcoin is the only reliable virtual currency. Bitcoin is a kind of virtual currency generated by the corresponding algorithm, which needs to use a large number of mining machines, that is, servers for mining. At present, only the virtual currency issued by the central bank is legal in our country, and the others are illegal
I hope I can help you. Thank you for your adoption.
3.

1、 7 * 24 hours trading

the trading time of digital currency is very long, 24 hours a day, 7 days a week, 365 days a year. As long as you like, you can trade whenever you want. There is no time limit

friends who have worked in stocks and futures know that stocks and futures have trading time limits. A few hours of trading time in a day is not enough. Digital currency is a real all-weather trading, which can meet the needs of friends who trade in different periods of time. You can trade whenever you are free, even on weekends, It's just so willful

Second, there is no limit on price rise and price fall.

there is no limit on price rise and price fall in the trading of digital currency, that is to say, it can rise and fall freely without any limit. You can say that there is a huge income space, but you can also think that there is too much risk. This is a matter of different opinions. There are good and bad, because the income and risk are positively related. Digital currency trading platform "currency exchange"

the price demand of the market can be truly reflected without the limit of rise and fall, because the rise and fall of the price is a very natural process. When everyone is optimistic, it will rise, and when they are not optimistic, it will fall. This is the law of price fluctuation, and the limit of rise and fall only adds human intervention to the price fluctuation to slow down the price fluctuation, But it can't really stop the price movement. Therefore, there is no limit on price fluctuation, which is the most real price fluctuation and truly meets the market demand and expectation

(3) t + 0 transaction: Generally speaking, the digital currency bought on the same day can be sold on the same day, that is, it can be sold with the buyer. It sounds very powerful. If the digital currency you buy makes money, you can sell it immediately and make it safe; If there is a little loss, you can also sell it immediately to prevent the loss from further expanding. All t + 0 trading system is really very practical, can be very flexible to deal with the hands of the position

Four, two-way transaction digital currency can not only buy long, but also sell short. Most of my friends basically understand buying long and bullish, but they don't understand selling short and bearish. This is actually a reverse thinking, the key point is to judge the direction of rise and fall accurately, at the same time, there is a price difference to earn on the line

for example, we can buy at a low price and then sell at a high price to earn the price difference (buy long and be bullish); You can also sell at a high price first, and then come back at a low price to earn a difference (sell short and put). The operation steps are almost the same. It's just a direction of business

Five, margin system margin trading is to pay a part of the margin to buy the relevant digital currency, just like when you buy a house, you only need to pay a certain down payment to buy the house. This is the legendary leveraged trading, but at present only some platforms have leveraged trading. Margin trading (Leveraged trading) has achieved the goal of "small, broad and big", maximizing the efficiency of capital utilization, expanding both profits and losses. We can treat it dialectically

4.

Leverage is a common financial transaction system, namely margin system

Leverage trading is also called virtual trading and deposit trading. That is to say, investors use their own funds as guarantee to enlarge the financing provided by banks or brokers to carry out foreign exchange transactions, that is, to enlarge the trading funds of investors. The proportion of financing is generally decided by banks or brokers. The larger the proportion of financing is, the less capital customers need to pay

leverage trading operation process:

1. Take BTC / usdt as an example, if the platform supports up to three times leverage

when judging that the price of bitcoin will rise from 10000 usdt to 20000 usdt, if you have 10000 usdt of principal, you can borrow up to 20000 usdt from the platform. Use 30000 usdt to buy 3btc at the price of 10000 usdt and sell it at the price of 20000 usdt, with a profit of 3btc * (20000-10000) = 30000 usdt

2. Take BTC / usdt as an example, if the platform supports up to 3 times leverage

when it is judged that the price of bitcoin will drop from 20000 usdt to 10000 usdt, with a principal of 10000 usdt (0.5btc), you can borrow 1btc from the platform, sell one bitcoin at 20000 usdt, and buy it at 10000 usdt, making a profit of 10000 usdt

if you only trade with your own funds, you can only buy low and sell high, not short

3. Calculation method of leverage lending rate:

from the time of applying for leverage, the interest will be calculated as 24 hours in less than 24 hours, and the loan funds and interest will be returned when the leverage is returned

4, the risk of leverage Trading:

leverage makes use of less capital to realize the possibility of obtaining greater returns. But if the wrong direction of the transaction is judged, the loss will also be enlarged year on year. Therefore, ordinary traders try to avoid the high leverage of heavy trading, to prevent the occurrence of burst positions or even through positions

(1) reasonable use of leverage ratio and control of position

(2) stop profit and loss timely and close positions spontaneously

(3) margin should be added in time to ensure that the ratio of total assets to leverage is greater than 110%

extended data

related functions of leverage Trading:

1. Loan account:

each loan transaction pair corresponds to a loan account. For example, ETH / BTC will correspond to an eth / BTC loan account (including two sub accounts of Eth and BTC)

users can transfer Eth and BTC monetary assets in the transaction account to eth / BTC lending account; Eth / BTC loan account can be applied for loan in two types of currency assets: Eth and BTC

2. Fund transfer:

users can't recharge to the loan account directly for the time being, so they can transfer the funds from the transaction account to the loan account by fund transfer

(1) when the user borrows, the part of the loan account with a risk rate higher than 200% can be transferred out to the transaction account

(2) when the user has no loan, all the available funds in the account can be transferred out to the transaction account

3. Apply for loan:

the user enters the loan management and selects the loan account to apply for loan assets. The amount of digital currency that the user can apply for loan depends on the account principal and platform leverage ratio. The maximum amount of loan that the user can apply for is net asset conversion (BTC) × Multiple - 1) - borrowed assets

for example, if the maximum leverage ratio of the platform is 3 times, the number of digital currencies that users can borrow is 2 times of the principal

5.
6. Virtual currency can be divided wirelessly, just need to modify the code, this problem is not tenable
network virtual currency can be roughly divided into
the first category is familiar game currency. In the era of stand-alone games, the protagonist accumulates money by knocking down the enemy, entering the gambling house to win money, and using these to buy Herbs and equipment, but it can only be used in his own game console. At that time, there was no "market" between players. Since the establishment of Internet portal and community, the realization of game networking, virtual currency has a "financial market", players can trade game currency
the second type is the special currency issued by the portal website or instant messaging service provider, which is used to purchase the services in the website. The most widely used is Tencent's q-coin, which can be used to purchase membership, QQ show and other value-added services
the third kind of virtual currency on the Internet, such as bitcoin (BTC), lightcoin (LTC), Fuyuan coin (FTC), etc. bitcoin is an electronic currency proced by open-source P2P software. Some people also translate bitcoin as "bitcoin", which is a kind of network virtual currency. It is mainly used for Internet financial investment, and can also be directly used in daily life as a new currency.
7.

The center of Nantong city is Chongchuan District. If it is Nantong City, it is Gangzha District, Chongchuan District, economic development zone and now Tongzhou District

In February 2009, the State Council agreed to cancel Tongzhou city of Jiangsu Province and establish Tongzhou District of Nantong city

in May 2018, the State Council agreed to abolish Hai'an County and establish Hai'an City, which is directly under the jurisdiction of Jiangsu Province and managed by Nantong city

As of May 2018, Nantong has jurisdiction over three districts (Chongchuan, Gangzha, Tongzhou), one county (Rudong), two development zones (Nantong Economic and Technological Development Zone, Nantong Binhai Park), one functional zone (Sutong science and Technology Instrial Park), and four county-level cities (Qidong, Rugao, Haimen, Haian). Nantong covers a total area of 8001 square kilometers, one twelfth of Jiangsu Province

8. Haian County Talent Center
address:
No.10, Zhongba South Road, Haian County
second floor of Haian County Personnel Bureau
Tel: 0513-88836521
working hours:
Monday to Friday
except holidays & 8:00-11:30 a.m. & 14:00-17:30 p.m. (15.00-18.00 in summer)
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