Position: Home page » Bitcoin » No conflict in BTC address generation

No conflict in BTC address generation

Publish: 2021-04-24 13:08:04
1. There is no backup private key or mnemonic word. If not, it will be troublesome. Basically, it is impossible to find it.
2. Who can you complain about making bitcoin? You go to the police to see if anyone cares about you. If you don't master the domestic investment environment, you follow blindly. There are no strict laws and regulations for virtual currency in China. The state certainly doesn't recognize it. Although it doesn't break the law, it's also illegal! No matter what reasons, including platform can not cash, others take you malicious losses, etc., you have no way! Save it
3. I transferred to BTC isolation address. It's useless to find customer service. I have to find it by myself. Fortunately, I found it.
4.

First of all, you should imagine a concept of "wallet" in your brain. Your bitcoin is in your wallet. A wallet can contain many... Many addresses. The form of the address is the form

with the bitcoin address generated in the bitcoin wallet, you can receive bitcoin from others, and you can also transfer the bitcoin in your account to the bitcoin address of others. Bitcoin address, like bank card number, has the functions of payment, transfer and withdrawal. However, when transferring money, you can only transfer money by knowing someone else's bitcoin address

if we simply compare a bitcoin wallet to a bank card account, then the address of the bitcoin wallet can be regarded as a bank card account number. The difference is that bitcoin addresses can not be stored on the network, but also exist independently of your wallet

< H2 > extended data:

bitcoin address is a string of 26 to 34 letters and numbers. It looks like a lot of messy code. To put it bluntly, it's just like your bank card number. All transfer records of each bitcoin address can be checked through blockchain query, which is open and transparent

address generation of bitcoin Wallet: 256 binary digits are randomly selected to form the private key, and then the address is generated by encryption function. This generation direction is unidirectional. That is, you know that the address cannot be decrypted to calculate the private key. At present, the computing power of human computer can't be cracked, so you can publish the address on the Internet with ease

reference link: bitcoin | network

5.

You can check according to the following rules, and a mnemonic account can apply for different BTC addresses, [request new address]; According to the different address formats supported by different chain wallets, it is normal for bitcoin addresses to be different< br />

6. The owner of the building is energetic and seems to be able to do a counter experiment; Don't connect the computer to the Internet. Take a wallet from an external USB flash drive and put it in to see if it can show how much money there is? In fact, the experiment in front of you should not be that the wallet can automatically generate a new address without networking, but that there are a large number of hidden change old addresses of your own in it. However, a large number of hidden change old addresses should be in the wallet.dat file, not in the empty wallet terminal software.
7. The process of BTC address generation is as follows. You can check bitcoin Chinese wiki completely:
bitcoin address generation process

(Note: some numbers are marked with & quot; 0x" Begin with, meaning that the number is in hexadecimal notation& quot; 0x" It doesn't have any meaning in itself. It's a conventional writing method handed down from C language. For example, 0xa is 10 in decimal system. In addition, 1 byte = 8-bit binary = 2-bit hexadecimal)

in the first step, randomly select a 32 byte number and size from 1 to 0xFFFF ffff ffff ffff ffff ffff ffff fffe baae dce6 af48 a03b BFD2 5e8c d036 4141 as the private key


in the second step, the elliptic curve encryption algorithm (ecdsa-secp256k1) is used to calculate the uncompressed public key corresponding to the private key A total of 65 bytes, 1 byte is 0x04, 32 bytes are x coordinates, and 32 bytes are y coordinates




the third step is to calculate the SHA-256 hash value of the public key


the fourth step is to take the previous step result and calculate the ripemd-160 hash value


the fifth step is to take the previous step result and add the address version number (bitcoin main network version number "0x00")
00

the sixth step is to take the previous step result, Calculate the SHA-256 hash value


Step 7, take the result of the previous step, and then calculate the SHA-256 hash value (HA HA)


Step 8, take the first four bytes (8-bit hexadecimal)
d61967f6

Step 9 of the result of the previous step, and add these four bytes after the result of step 5, As a check (this is the hexadecimal form of the bitcoin address)
00d61967f6

Step 10: change the address with base58 notation (this is the most common form of bitcoin address)< br />
8. Wen Yuan & Chen 8658; Hanze! These people were first introced by their aunt or sister, and then they were brought into the group to talk about the stock for free. They introced the buying and selling points, so that everyone could buy and sell along with them, and then they could exchange the short position of quilts for others. They provided a fast way to make money. They provided a virtual trading platform to transfer money into US dollars to buy mythical currency or bitcoin! I'll follow Ye Tan, a famous person, and apply for 20% of the share. But after we put in the money and converted it into US dollars to buy it, in less than a month, we found an excuse to accompany our family to go abroad for training and assist them to go to the funeral! The group disbanded, also said that fate will get together again this kind of deception! Cheated us out of all our savings! Software also can't log in, also changed the lecture website, and cheated a batch of people! I don't believe it, the police can't accept you! Then our dignified police are just, intelligent and brave. Skynet is grey and careless! Just cast a net to salvage you! Even if I still can't accept you, it's not that I don't accept you. At the end of the time, the day will watch and accept you, and let you split up five cars. It's hard to die
friends, if you are cheated, call the police immediately!
9. 1. First of all, you need to know the concepts of public key and private key (you don't need to read this part already)
public key and private key are terms in asymmetric encryption of modern cryptography. They usually encrypt information with public key and decrypt information with private key. Why? Because when you watch TV dramas, telegrams are encrypted symmetrically. The disadvantages of this encryption method are obvious. If someone knows the key and encryption method, they can decrypt the telegrams according to the encryption method. Until asymmetric encryption, the situation has changed. Public key is the key that can be made public all over the world. For example, when you communicate with Google, you encrypt with the 1024 bit public key given by Google and send it to Google. Only he has the corresponding private key, and only he can decrypt it, so the communication security is ensured
2. Bitcoin mainly uses ECDSA, which is the elliptic curve signature algorithm, This algorithm has two characteristics. Note that these two points are very important to the following
A. as long as you know the private key, you can calculate the corresponding public key
B. If you have signed something with the private key, you can use the public key to calculate whether you signed it or not
3. After knowledge preparation, let's start with the transaction of bitcoin. In fact, bitcoin has no wallet, only transaction bills, and the whole bitcoin is a lot of transaction bills

for example:
bill 1 transfers from a to B to XXX bitcoin
Bill 2 transfers from B to C and D to XXX bitcoin
bill 3 transfers from C to e to XXX bitcoin
.... Anyone who downloads the client can receive all the bills from the day when bitcoin was established, so as long as all the bills are downloaded, they will naturally know how much money should be left on each account (think carefully here)

4. The account of bitcoin is the public key mentioned just now

5, Here is the core part!!! Each bill is a piece of data. After you sign it, it will be sent to the whole network, and the data structure will be reversed into easy to understand Chinese. The explanation is as follows:

from (who sent it, including two parts)
previous TX: the ID of the bill for which you want to spend the money, that is to say, any money you spend should have been transferred to you, You need to show the ID of the bill
scriptsig: your signature for this transaction is to hash the bill with your private key, only you can do this hash

to (who accepts, including two parts)
value: how much to send
scriptpubkey: the public key of the other party, and the bitcoin account is a public key
6, How to send it? Bitcoin communication is not so complicated. You can compare it to IRC channel, but different from ordinary "IRC", any client is an "IRC" server. When you start the client, you will receive the client address with public IP around, that is, the "server" list. This list is constantly refreshed, and it is all other bitcoin users, So when you shout a word in this "IRC", people around you will hear it and spread it all over the world

7. After sending the signature to the whole world, all the clients who receive this list will verify whether your signature is correct, whether you sent it, and whether you have so much money (according to the historical transaction, you can calculate how much money you have to spend)
if you have calculated this transaction, it's OK, Basically, the transfer is successful

8. In fact, the other party has accepted bitcoin, but in order to spend it, he must have the private key corresponding to the address (public key). So he can fill in the from header of a form. Previous TX is the serial number of the transaction just now. Scriptsig fills in the hash signed with his private key...
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