Bitcoin key accounts is everything
Bitcoin transaction process
1. Use your key signature validation through the system on a deal to prove that you have the deal in equal installments Bitcoin
2. When we spend bitcoins, it will produce a new deal that only a small Ming's key can open
Decentralized transaction systems
Full-node client 300GB
Light purse
Bitcoin transactions are not reversible
Bit system processes credits
1. Accounting 2. 3. issuing currency account management
1. 2. account management key management and transmission and reception management 3. account balance water
Bitcoin private key 256 binary digits
Bit elliptic curve algorithm credits
Elliptic Curve spec256k1
p = 115792089237316195423570985008687907853269984665640564039457584007908834671663
Calculating bit elliptic curve public key algorithm credits
Public key algorithm is to use these basic operations
1. Unlimited adder 2. 3. Definition of the multiplication
Bitcoin public key algorithm
Bitcoin public key of his points on an elliptic curve x and y are large it is necessary to address bits credits
Bit address generation credits
1. By converting the public key to a hash algorithm of the fixed-length string
2. The first step of compression encoding result output address generation
Hash algorithm uses two bits in the first production credits address SHA256 algorithm is another algorithm is RIPEMD160
SHA256 it first with the public key is mapped to a 32-byte number to generate a digital RIPEMD160 then mapped to a 20-byte number
Use base58 encoding compression algorithm is less than six characters base64
base58check verify
We need to join a string of "1215309" in checksum algorithm and 21, and add 21 to the end of the string to verify if accidentally wrote the 5 then 2 and 24 to the end of the 21 inconsistent with
Bitcoin base58check algorithm
1. In step 20 based on the public key hash prefix adding a version of a new string output
Step 2 using SHA256 algorithm to generate a hash strings taken twice before the results of a 4-byte checksum as
3. Add the checksum to the end of the public key Hash
Four pairs of the entire compression-encoded base58 string generated address bits credits
Type | Version prefix (hexadecimal representation) | Version prefix (Base58 representation) |
---|---|---|
Bitcoin address | 0x00 | 1 |
Hash script address | 0x05 | 3 |
Bitcoin test network address | 0x6F | m or n |
Private Key WIF | 0x80 | 5, K, or L |
BIP-38 encryption private | 0x0142 | 6P |
Extended public key BIP-32 | 0x0488B21E | ¿xpUu |
Therefore, the address bits are credits at the beginning of an address