Blockchain technology summary
All personal notes, please refer to the link for error correction
CyberPunk | eCash ---> Blind Sign ---> Realize the anonymity in electronic payment; |
HashCash ---> Proof of Work, PoW ---> Bitcoin uses PoW to solve the consistency problem in the distributed system, which can solve double payments; | |
B-money ---> Public account book, using public key as identity; RPOW; |
Blockchain relies on hash and asymmetric encryption in cryptography.
hash —> SHA-256 —> PoW —> Consensus mechanism to ensure that the ledger recognized by all nodes is unique;
asymmetric encryption includes ECC and RSA. Bitcoin uses ECC, but the most widely used is RSA.
Because there is no global data support, Bitcoin does not use an account-based method to represent transactions. It uses UTXO (Unspent Transcation Output), which uses the output of the previous transaction as the input of a later transaction;
the output of the previous transaction needs to set corresponding conditions. Subsequent transactions must meet these conditions to use the money in this output;
output sets ScriptPubKey;
input requires ScriptSig.