Introduction to the basics of digital currency trading (11): Seven questions about Bitcoin

Question 1: What will happen if the other party is not online when transferring funds in the Bitcoin system?

During the transfer transaction, the other party is not required to be online, because the transfer is only recorded in the blockchain system, and the current account’s bitcoins are transferred to the other party’s account. Is the other party in the blockchain network at that time? It does not matter.

Question 2: Assuming that a full node has received the transfer transaction, is it possible that the recipient's payment address in the transfer transaction is something that the node has not heard of before?

Possibly, Bitcoin does not need to notify others when creating an account. Generate a public-private key pair locally. Only when the receiving address generated in the future receives money for the first time, other nodes know the existence of this account.

Question 3: What should you do if your account private key is lost?

There is no way to lose the private key, and the money in the account becomes dead money, which can never be withdrawn. This is different from our usual bank. If the password of the bank card is lost or the bank card is lost, you can go to the bank to check your identity to retrieve the lost password or reissue the card, but in the decentralized system, there is no People can be responsible for resetting the password.
In addition, if you open an account on the exchange, the exchange itself is a centralized system, and you need to provide an ID card to the exchange to verify your identity, then you open an account on the exchange, in fact, the exchange helps The individual kept the private key. When you log in to the exchange, you log in according to the procedure of logging in to a bank, and there will be an account and password. Then if the customer’s account password of this exchange is lost, he can go to the exchange to retrieve it.

However, the current exchange does not have a complete supervision system. There have been examples of hackers in the "Mt.Gox" exchange in Japan.

In comparison, cold wallets or hardware wallets are relatively reliable.

Question 4: What if your account private key is leaked? Found some transactions that you did not operate?

First of all, the money in the current account should be transferred to another safe account as soon as possible.
If it is a traditional central bank, you can notify the bank to reset the password. However, it is impossible to achieve regional centralization in the blockchain. The password of the Bitcoin account is the private key. Once the public-private key pair is generated, there is no way to modify it. You can regenerate a new account, but the private key of the original account cannot be changed. At the same time, we have no way to prevent others from transferring money to this existing account.

So the only thing that can be done is to grab other people’s money and transfer the money in your own account to a safe account.

Question 5: What should I do if I write the wrong address when transferring money?

There is no way, BTC does not provide cancellation of transactions. If you can know who the other party is, you can communicate whether the other party is willing to transfer the money back, but it can only be exchanged and cannot be forced. If you don't know who the other party is, or if you transfer a non-existent address, then there is no way.
If it is a fake address, UTXO global variables will permanently save this record.

Question 6: During the mining process, how to determine which miner first found this nonce (to prevent nonce plagiarism)?

There is a "coinbase tx" in the released block. There is a payee address in it, which is the address of the miner who records the mining. If you want to steal the answer, the person who steals the answer needs to change the payee address to his own address. Then the content of "coinbase tx" will change. This will cause the root hash value of the Merkle tree to change. Then the block header holds the root hash value of the Merkle tree. Then the block header will also change. Then the matching nonce found will be invalidated, so it is impossible to "steal the answer".

Question 7: The transaction fee is a tip for miners, so if you decide which miners should be given?

There is no need to know in advance which miners receive this transaction fee.
As long as total inputs> toal outputs, the difference is the transaction fee. In the published transaction, a transaction can have many inputs and many outputs. Then the total difference is the transaction fee of the current block. The miner who digs this block can get the difference in transaction fees as his own transaction fees.

Guess you like

Origin blog.csdn.net/lianshaohua/article/details/110949517