본문 바로가기

Blockchain

(6)
Bitcoin and Cryptocurrencies Week 4 (Mining) (1) Step 0 : Download the entire Bitcoin blockchain. This only has to be done once. This allows us to know the history so we can validate future transactions. Note: This step is optional if you mine in a mining pool or are doing lightweight mining. Step 1: Verify transactions You store newly received, unprocessed transactions in a "mempool," where all pending transactions live before making their wa..
Bitcoin and Cryptocurrencies Week 3 (Bitcoin Mechanics & Optimizations) (3) 1. Cryptographic Hash Funcitons In this lecture, we dove into the low-level specifics of Bitcoin that make it work. Bitcoin was innovative because it allowed a decentralized network to reach consensus. It achieved this via tamper-evidence, which means although one can modify the information that passes along the Bitcoin network, it would be obvious that some modification has been made. This tamp..
Bitcoin and Cryptocurrencies Week 3 (Bitcoin Mechanics & Optimizations) (2) Signatures, ECDSA, and Addresses DIGITAL SIGNATURE SCHEMES (DSS) Alice uses ECDSA to generate private and public keys. Bob needs Alice's public key. Alice signs her message. Alice sends message + signature. (The message is the main payload, and the signature can be used to prove that Alice was the one who created that exact message.) Bob can easily verify if Alice signed. 암호화 알고리즘으로 ECC를 사용 ^^; ..
Bitcoin and Cryptocurrencies Week 3 (Bitcoin Mechanics & Optimizations) (1) Cryptographic Hash Functions Cryptographic hash function: Preimage resistance Given H(X), it is computationally difficult to determine X Second preimage resistance Given X, it is computationally difficult to find some value X' such that H(X) == H(X') Collision resistance It is computationally difficult to find X and Y such that H(X) == H(Y) Avalanche effect: a small change in the input produces ..
Bitcoin and Cryptocurrencies Week 2 (Blockchain History: From the Cypherpunk Movement to JP Morgan Chase) 1. Pre-Bitcoin: Libertarian Dreams In the face of increasingly powerful banks and national agencies, the Cypherpunks and Crypto-anarchists of the late 1980s advocated the use of cryptography to preserve privacy, which they defined as the power to selectively reveal oneself. They sought to devleop an anonymous digital transaction system. In October 2008, Satoshi Nakamoto released the Bitcoin whit..
Bitcoin and Cryptocurrencies Week 1 (Bitcoin Protocol & Consensus: A High Level Overview) What is Bitcoin? Cryptocurrency is a completely digital, formless currency, tied together using computer science, cryptography and economics. Bitcoin is the first and most widely used cryptocurrency. Bitcoin is inspired by the Cypherpunk Movement in the 1980s, which advocated for protection of privacy from external entities using cryptography. Satoshi Nakamoto first outlined and created Bitcoin ..