Thứ Bảy, 3 tháng 11, 2018

Waching daily Nov 4 2018

Because everyone is storing information about the blockchain, we need consensus to make

sure that everyone agrees on the history of transactions.

Not only do all users need to agree on the update, but they also need to agree on a valid

update to make sure that no corrupted information is accepted by the network.

If there was no way for different parties to come to agreement on this, then there will

forever be this schism between them.

Without agreement, we cannot have a functioning distributed database.

We have to all stay on the same page to make sure that we all believe in the same reality

of Bitcoin.

Thus, it is imperative that we have a mechanism by which everyone can come to consensus.

To understand the best consensus mechanism for Bitcoin, we will start off by understanding

what problems exist with naive consensus strategies and solve them in the next iteration, continuing

this process until we finally recreate Bitcoin's consensus model.

For this consensus buildup, we will consider the same 5 actors from before: me (Rustie),

Gloria, Derrick, Nadir, and Nick.

In the most basic consensus mechanism, updates take the following form:

One node proposes a transaction to the network, sending a message about the transaction directly

to every other node All other nodes save the transaction into

their history if it's valid and disregard it otherwise

We have an example for you here.

Gloria wants to make a transaction to Nadir, so she sends that message to all four other

entities.

This is represented by the arrows pointing from Gloria to every other entity, blue to

represent that she is making a transaction to Nadir, the blue circle.

The implication of this system is that nodes don't engage in conversation with one another,

and the only nodes that see a transaction with one hundred (100) percent certainty are

the sender and recipient.

As we will see, this does not work because of what's known as the double

spend attack.

[Double spend]

With centralized systems, we trust banks to check for the validity of all transactions.

Recall that one condition of a transaction being valid is that proposed funds for the

transaction are not promised elsewhere in a previous transaction.

Because we do not have a bank to check if there is any malicious behavior, we must build

mechanisms that handle these situations.

Let's say that Gloria is purchasing tons of laptops and is willing to pay both Nadir

and myself (Rustie) 10 bitcoins for our laptops.

Gloria promises me (Rustie) 10 BTC in one transaction, and promises 10 BTC to Nadir

at the same time.

This is represented by the green arrow from herself to me (Rustie), the green circle,

and by the separate blue arrow from herself to Nadir, the blue circle.

However, she only has 10 BTC in total.

Her invalid transaction evades detection because, as you may have realized, she only tells one

person about each transaction: the person receiving the bitcoins.

I (Rustie) only know about my (Rustie's) incoming bitcoins, and Nadir only knows about

his.

Derrick and Nick, the other entities in the network, know nothing about either transaction.

This is what's known as a double spend attack.

Gloria is spending only 10 bitcoins to get 20 bitcoins worth of goods.

In this naive version of consensus, this is legal: with her transaction to me, Gloria

tells me to update my copy of the ledger, and with her transaction to Nadir, she tells

Nadir to update his copy of the ledger.

Both Nadir and I see that the transaction is valid and each believe that we have received

the bitcoins.

Of course, both Nadir and I (Rustie) can't own the same bitcoins.

The moment we try to redeem these tokens with the network, the issue becomes transparent.

It's going to look to Derrick and Nick that these transactions never happened.

If I try to convince anyone else that I (Rustie) own these ten bitcoins, they'll all think

I'm crazy because they've seen no evidence of me (Rustie) ever having received these

bitcoins.

The same applies to Nadir.

In this scheme where entities only see the transactions that directly involve them as

sender or recipient, it is impossible to come to consensus on a history of transactions

because of dishonest actors.

Thus, it is impossible to prevent these double spend attacks with our current model of consensus.

[Peer Validation]

Instead of individuals doing their own validation of transaction, we can set up a voting system.

The problem with our previous version of consensus was that there wasn't any consensus!

Instead of making siloed decisions as we did before, let's implement a system of proposers

and voters.

One person at a time makes a proposal about an update, and everyone else votes on whether

or not to accept the proposal.

The person who wants to make a transaction sends the transaction to everyone in the entire

network, not just the recipient of bitcoins.

Everyone on the network then casts votes based on whether the transaction they saw was valid

or not.

Only after receiving a certain number of votes, say a majority, does the transaction get saved.

Like before, there are blue lines from Gloria to the rest of the network to indicate that

she is making a transaction to Nadir.

Unlike before, there are dashed blue lines from each node to everyone else (excluding

Gloria) as an indication of communication about two things: the received transaction

and a vote for or against its validity.

[Rejecting the Double Spend]

Let's observe what happens when Gloria tries to double spend under these circumstances.

Now, when Gloria attempts to double spend, she will be rejected by observing peers.

She again sends only two messages: One of a transaction to me (Rustie), as indicated

with the solid green arrow, and one to Nadir, as indicated with the solid blue arrow.

However, we introduce a new component: communication.

The dashed blue and green lines from Nadir and myself (Rustie) respectively represent

the relay of those message to the rest of the network.

By looking to the rest of the network for input, considering everyone else the third

party, we are protected against Gloria's attempts at malicious behavior.

Peers in the network vote "no" on Gloria's proposal, as they notice multiple transactions

trying to spend the same funds.

The transaction doesn't go through, and is not included in an update to the blockchain.

It looks like we've solved all our problems: we have a voting system that ensures that

no one can double spend the same funds, and each peer stores the whole history of transactions

so that they can verify for themselves that the funds exist.

It looks as if we are victorious!

However, we forgot one fatal truth about Bitcoin: the anonymity.

[Stranger among us]

Recall that Bitcoin is an accessible, anonymous network with no central registry.

Banks keep track of everyone's identities and accounts, but no such infrastructure is

available in Bitcoin to prevent anyone from producing multiple identities.

In Bitcoin, anyone can join, and anyone can participate.

Because of the ease with which Bitcoin addresses can be generated, nothing is stopping Gloria

from generating more identities and posing as Derrick and Nick.

It's inexpensive to create multiple identities, requiring only the generation of a random

number, as seen in the identity section.

Because of this low cost, Gloria can easily hold multiple Bitcoin identities to cast more

votes than she should be allowed.

Gloria, a real-world minority, could easily propose and vote for her own malicious transactions

by creating sufficient identities and occupying a network majority.

In other words, this current version of consensus is susceptible to a Sybil attack, where a

user creates multiple identities for some malicious purpose.

With such a little cost to vote, votes become meaningless.

There's no value in a vote because anyone with spare time can make as many identities

as they want.

We see that this is a problem when Gloria attempts the Double Spend attack because,

with these extra identities under her control, she succeeds.

She sends the transactions to Nadir and me (Rustie), and we send these transactions to

the rest of the network, and they all vote that both transactions are valid.

Because the majority votes on both transactions being valid, we now have a lack of consensus

about what the truth is.

Gloria has broken Bitcoin all because it was easy for her to pose as multiple people and

cast multiple votes, overwhelming Nadir and myself (Rustie).

Clearly, to solve the problem, we cannot assume that each online identity deserves the same

voting power, as some people have multiple identities.

To ensure that every real person only has one vote, we have to make a vote expensive.

We have to make it such that anyone trying to vote has the same amount of voting power

as anyone else, regardless of how many Bitcoin identities they have.

But how?

Is it even possible to solve this problem?

[Pay to Play]

This is where the innovation of Satoshi Nakamoto comes into play.

They recognized that in order to ensure every real entity has equal voting power, they cannot

vote with identities at all.

Instead, Satoshi realized that, to preserve freedom and anonymity while solving the issue

of endless identities, each vote must be cast with resources.

Scarce, valuable, tangible assets.

The particular resource that Satoshi identified was one available to all users of Bitcoin:

computing power!

Online entities can be generated easily, but you can't copy-paste a computer.

By tethering voting power to scarce computing power, Satoshi ensured that all users have

scarce voting power.

In his whitepaper, he envisioned a "1-CPU-1-vote" network, rather than the traditional "1-identity-1-vote"

system.

It is this new concept of voting with resources instead of with identities that earned the

title "Nakamoto Consensus."

The particular consensus algorithm that Satoshi Nakamoto came up with is known as "Proof-of-Work."

[Proof of Work]

Let's break down the word "Proof-of-Work."

We know "proof" to mean "evidence," and "work" to mean "spent resources."

In other words, "Proof-of-Work" is the method by which users provide evidence of

spending resources.

It is the method by which computing power is translated into voting power.

It is the method by which users vote in Bitcoin.

It is this method of voting that made Bitcoin the first successful cryptocurrency and inspired

voting mechanisms for practically every other cryptocurrency to follow.

[Proof-of-Work Works] Here's how Proof-of-Work works: whenever

someone wants to make a proposal to the rest of the Bitcoin network, they first have to

solve a computationally difficult problem.

In other words, their computer is tasked with a problem that can only be solved by doing

a significant amount of work.

This problem is uniquely generated based on the information within the proposed block

and cannot be predicted beforehand.

There's no way to predict the solution to the problem.

Instead, it's similar to brute forcing a password: all you can do is trial and error.

Your computer will try a bunch of inputs until it finds a solution to the problem, at which

point it will submit the successful input along with the proposed block to the rest

of the network.

The unpredictability of the form of correct inputs ensures that there's no way to "game

the system," keeping any user from cheating.

By having every user solve a brute force problem, you have a reasonable expectation that they've

done a lot of work to solve it.

You might ask, "What if a user gets lucky and finds the solution to this brute force

problem on the first try?"

Well, this is possible, but not probable.

For example, it's possible for me to guess the PIN on your phone in one try -- but it's

because we believe in the unlikeliness of that situation that we aren't afraid of

anyone breaking into our phones.

Although we can't guarantee that it takes exactly some amount of computation to solve

these problems, we have reasonable expectations based on how long on average it takes to solve

these problems.

Let's see Proof-of-Work in action.

Again, Gloria tries to double spend on Nadir and me (Rustie), and these two transactions

are sent to the rest of the network.

We all vote on the transactions, but Gloria no longer has a voting advantage even though

she still has control of two extra Bitcoin identities.

Her voting power is bound by her computer, just as everyone else's is.

Even though there are five digital identities, there are only three real-world identities.

Under Proof-of-Work, no matter how many digital identities are formed, there will only ever

be three voting entities.

Because Nadir and I (Rustie) recognize that there are two transactions trying to spend

the same funds, we can vote against both transactions being included in the blockchain.

Gloria with her single computer is incapable of outvoting us, which is precisely what we

want!

By tying our voting power to our real world identities through the scarce resource of

computing power, we have successfully eliminated Sybil attacks from Bitcoin and solved the

double spending problem.

This is what made Bitcoin a revolutionary technology.

For more infomation >> [CS198.1x Week 1] Consensus (Stage 4) - Duration: 13:18.

-------------------------------------------

Breakfast music playlist video: Morning Music - Modern Jazz Collection (For Sunday and Everyday) - Duration: 3:25:52.

Title: Breakfast music playlist video: Morning Music - Modern Jazz Collection (For Sunday and Everyday)

For more infomation >> Breakfast music playlist video: Morning Music - Modern Jazz Collection (For Sunday and Everyday) - Duration: 3:25:52.

-------------------------------------------

[CS198.1x Week 1] What is Bitcoin? - Duration: 6:39.

Most people struggle to answer the question,

"What is Bitcoin?," because there are so many different ways to respond.

First, Bitcoin is considered the first and the most widely used cryptocurrency.

A cryptocurrency is a completely digital, decentralized currency that is built using

principles of computer science, cryptography, and economics.

The term "Bitcoin" refers to the protocol governing this currency.

Second, bitcoin lowercase refers to the actual units of currency.

A Bitcoin user will say that they have a certain amount of bitcoins, similar to how we say

we have a certain amount of dollars when referring to the US Dollar.

Third, Bitcoin is the inspiration for the blockchain, which is the underlying data structure

of this cryptocurrency.

A data structure is a virtual format for organizing, retrieving, and storing information.

The Bitcoin blockchain in particular stores a permanent history of all transactions to

ever occur in the history of Bitcoin.

It is an append-only ledger, meaning that any information added to the ledger cannot

be deleted.

But most importantly, Bitcoin is a cultural revolution.

Rooted in ideals from Cypherpunks and libertarians, Bitcoin represents a shift towards privacy

and decentralization.

This cryptocurrency is not backed by any central organization, government, or company.

Instead, Bitcoin is built by the users, for the users.

As we said, Bitcoin was inspired by the Cypherpunk Movement

of the late 80s.

Cypherpunks advocate for the protection of privacy using cryptography.

They don't trust governments, corporations, or large organizations to respect privacy.

These points of centralization accumulate a great deal of power over society by collecting

unimaginable amounts of information from millions of users.

And the Cypherpunks were some of the first to be concerned about central entities stripping

away the freedom of the general public.

One massive point of centralization in modern day society is the financial system, where:

banks govern the economies of entire countries.

Several different companies and researchers attempted to make a decentralized or anonymous

currency, but all of them failed.

Bitcoin was the first technology to succeed as a cryptocurrency.

The Bitcoin whitepaper, or research paper, was published in October 2008 by Satoshi Nakamoto.

The whitepaper was a 9-page, concise proposal for the structure and function of a peer-to-peer

electronic currency.

Satoshi Nakamoto is a pseudonym, or a false identity, of an individual or a group of individuals.

No one knows their real identity. However, what's important is that

this whitepaper envisioned a currency where users do not rely on financial intermediaries

or trust anyone in order to make transactions with each other.

In Bitcoin, users do not need to use their real world identities; instead, they are represented

by addresses, strings of random letters and numbers.

Bitcoin takes control out of the hands of third parties and gives users the freedom

to transact while protecting their privacy.

So how does Bitcoin do it? On a high level, the Bitcoin network validates transactions and stores the entire transaction history.

The Bitcoin network is a group of users communicating with each other as part of the Bitcoin protocol.

This network serves as the substitute for the central bank and must have certain properties

to function correctly.

Bitcoin is trying to create an open, accessible

cryptocurrency not subject to censorship or centralization.

But what are the problems?

Keep in mind the problems of trying to create an open, accessible cryptocurrency not subject

to censorship or centralization:

there are no central parties to ask for information about user accounts, and there are no central

parties to kick out or censor malicious users.

Decentralized networks generally suffer from these problems, leading to inconsistencies

between parties and malicious messages infecting the network.

The most popular attack is known as the double spending attack, an attack where some value

is used for more than it i's worth.

In real life, it's easy to prevent double spending: since dollar bills can't be copied

and pasted.

However, in digital currencies, there needs to be assurance that the virtual tokens have

not been promised to more than one person.

Bitcoin as a technology is trying to solve a very specific problem in the realm of distributed

systems: when any "node," or computer within the network, can come and leave as

it pleases and behave however it likes.

There are enormous possibilities for failures given the complete removal of centralization,

which is why there were so so many Bitcoin's predecessors to Bitcoin which failed.

So how does bitcoin solve these problems?

Bitcoin solves these problem through two things:

First, the blockchain, and the Proof-of-Work consensus protocol, both of which are Satoshi

Nakamoto's most popular and influential innovations.

Because of these two things, anyone with access to internet and a computer can join the Bitcoin

Network.

There are no banks or any equivalent of the Federal Reserve on the Bitcoin Network.

Instead, everyone can verify and audit the transaction history on their own.

And even the creation of money is decided not by a central authority, but through the

process of mining, of Proof-of-Work.

For more infomation >> [CS198.1x Week 1] What is Bitcoin? - Duration: 6:39.

-------------------------------------------

[CS198.1x Week 2] Hacks and Scandals - Duration: 2:06.

In the early stages of Bitcoin, there existed no exchange for trading between bitcoins and

regular currencies.

In 2010, Jed McCaleb, turned his domain mtgox.com into a Bitcoin exchange website.

What was originally the Magic: The Gathering Online Exchange, where players of the online

game Magic the Gathering Online traded cards like stocks, quickly became one of the largest

bitcoin exchanges during the early stages of Bitcoin.

Keep in mind an issue with this exchange: it's a central point of failure, and its

popularity drew a lot of negative attention.

On June 19, 2011, it was discovered that a hacker was using a Mt. Gox auditor's computer

to siphon an abundance of bitcoins to themselves.

Mt. Gox was subsequently shut down for seven days to investigate the situation.

It received several lawsuits, some of which are still being disputed.

Despite this breach of security, people kept on using Mt. Gox.

For a while, it seemed like all was well.

By 2014, Mt. Gox was handling up to 70% of all Bitcoin transactions -- way too much for

what the infrastructure could handle.

In February 2014, Mt. Gox announced that it had lost 744,408 of its customers bitcoins

in an ongoing theft that had gone unnoticed for years.

By the end of the month, Mt. Gox filed for bankruptcy.

[Bitcoin Drug Scandal]

Meanwhile, in the depths of the dark web, Bitcoin was also used to purchase drugs.

In February 2011, the website Silk Road opened, quickly earning the reputation of the anonymous

"eBay of Drugs."

It was led by a man named Ross Ulbricht.

Silk Road leveraged Tor, an anonymous networking protocol, and handled transactions using Bitcoin.

This combination made it difficult for users' online identities to be linked back to their

real life identities.

Because of this, drugs and the black market became the primary use case that came to mind

when anyone mentioned Bitcoin.

Even to this day, Bitcoin is tainted with this association.

In October 2013, the FBI shut down Silk Road.

Ross Ulbricht was sentenced to life in jail, and the FBI seized upwards of 26,000 bitcoins,

worth $3.6 million at the time.

For more infomation >> [CS198.1x Week 2] Hacks and Scandals - Duration: 2:06.

-------------------------------------------

[CS198.1x Week 2] Libertarian Dreams - Duration: 1:48.

Before explaining a bit of the background behind all of this, let's look at this quote

first:

"Privacy is necessary for an open society in the electronic age.

Privacy is not secrecy.

A private matter is something one doesn't want the whole world to know, but a secret

matter is something one doesn't want anybody to know.

Privacy is the power to selectively reveal oneself to the world."

The quote comes from the Cypherpunk Manifesto, which was written by Eric Hughes, a computer

programmer and mathematician from UC Berkeley.

He's one of the founders of the Cypherpunk movement, and in the 90s founded and administered

the Cypherpunk mailing list.

[Cypherpunks and crypto-anarchists: info slide]

The Cypherpunks and Crypto-anarchists hated the idea of national agencies being able to

spy on them and have access to their information.

They also hated censorship.

But most of all, they hated big banks and governments, both of which were giant centers

of power diminishing the autonomy of the average citizen.

This dichotomy of power only grew as the technology of these institutions evolved faster than

that of the general public.

In the past, before these technological innovations, cash was pretty anonymous in purely its physical

form.

Once you spend it, there's no easy way to trace it.

But in an increasingly digital world, the convenience of big banks tracking account

balances and transfers comes with the cost of privacy.

And so these libertarians saw early on the need for an anonymous digital "transaction

system" or currency -- one that gave users "the power to selectively reveal oneself

to the world."

For more infomation >> [CS198.1x Week 2] Libertarian Dreams - Duration: 1:48.

-------------------------------------------

[CS198.1x Week 2] Bitcoin Invention - Duration: 5:32.

In October 2008, a whitepaper was published online, titled, "Bitcoin: A Peer-to-Peer

Electronic Cash System."

This 9 page whitepaper outlined the design and justification for a digital currency,

or cryptocurrency, controlled by no single entity.

Traditionally, we trust the singular bank to conduct financial services on our behalf.

With Bitcoin, the intention is to do what no other attempt at a cryptocurrency could

do before: create an anonymous, trustless, decentralized currency.

Instead of trusting any individual humans, we put trust into math, cryptography, and

logic.

We trust the Bitcoin protocol, even if we don't trust any individual in the network.

This cryptocurrency relies on computational power to cast votes.

As mentioned earlier, this is known as Proof-of-Work.

And as we saw earlier, the idea of solving a cryptographic hash puzzle was also used

in Hashcash.

Satoshi wrote in the whitepaper that this is meant to enforce a "one-CPU-one-vote"

system, such that every computer only has the ability to cast one vote in the consensus

process.

This is different from the traditional "one-identity-one-vote" process used in government elections because

we can't assume that each real world identity has only one digital identity.

In addition, each person maintains their own identity through public and private keys,

authenticating themselves through blind signatures, which was introduced by David Chaum from DigiCash.

This ensures that every user maintains their own privacy until they voluntarily choose

to reveal themselves.

In Bitcoin, every full node maintains their own copy of the blockchain, similar to how

in B-Money's protocol, every participant maintains their own individual database, to

keep track of how much money belongs to each user.

Bitcoin was designed to be a deflationary currency, meaning that there will only be

a limited amount of bitcoins that will ever exist, specifically 21 million.

Every miner gets a block reward for finding a block, but this block reward decreases over

time.

It began at 50 bitcoins and is halved every (two hundred and ten thousand) 210,000 blocks.

Eventually, the block reward will become 0, at which point 21 million bitcoins will have

been minted.

Interestingly enough, Satoshi chose to include a message within the first block of the Bitcoin

blockchain.

This information is a powerful glimpse into the mentality and motivations of Satoshi Nakamoto.

As we'll discuss further in the next module, the coinbase transaction gives a miner a block

reward.

This particular transaction has empty space into which extra information can be included.

Satoshi chose to reference a story in the Times of London mentioning a Chancellor bailing

out a bank.

As we can tell from several posts and comments made by Satoshi, he was not fond of the modern

banking system, particularly fractional-reserve banking.

Bitcoin's design aims to eliminate these issues.

During this first year, people sent bitcoins to each other out of interest, playing around

with the software.

During this time, however, bitcoins were never exchanged for any tangible good.

And then in May of 2010, this post showed up on the bitcointalk forum.

Feel free to pause the video and read through the post, or follow the source link.

So in the post, we see that...

...in it, a man named Laszlo Hanyecz asked for pizza in exchange of 10,000 bitcoins.

And on May 22, 2010, he received a $25 order of pizza in exchange for his bitcoins.

This was the world's first ever Bitcoin transaction for a tangible asset.

In this moment, Bitcoin went from worthless internet money to something with real value.

As a fun fact: as of March 15, 2018, the pizzas Laszlo ordered are now worth 81 million dollars.

And here's Laszlo reporting back on the forum about the pizza's safe delivery.

Most people ridicule Laszlo for spending bitcoins on such a small purchase.

However, they are not aware that Laszlo wanted to see Bitcoin flourish.

Before this purchase, the idea that bitcoins could be used to purchase real world goods

was ridiculous.

For most people, mining Bitcoin was merely a hobby.

This purchase validated the use of Bitcoin for its original purpose as a currency actually

used for buying goods.

So in a way, by trailblazing the currency's use, Laszlo is a hero to Bitcoin enthusiasts.

this was the very first time a Bitcoin transaction traded "magic worthless internet money"

for a tangible item of value - therefore bitcoins have value.

However, it's not like bitcoins were worth that much when Laszlo spent them on

pizza.

It took years of development and spread before Bitcoin became accepted as a legitimate technology,

yet it's still got a ways to go before reaching worldwide legitimacy.

For more infomation >> [CS198.1x Week 2] Bitcoin Invention - Duration: 5:32.

-------------------------------------------

[CS198.1x Week 1] Identity (Stage 1) - Duration: 6:43.

Identity in Bitcoin]

To understand why we need identity in Bitcoin in the first place, let's understand first

why we need identity at all in the context of currencies.

In currencies, we need to ensure that all users can authenticate themselves through

some identification method, and that all identification methods have integrity.

Authentication is required to ensure that no one else acts on your behalf.

Claiming, receiving, and spending money on your behalf are things that only you should

be able to do.

Like a bank, by associating yourself with your funds through authentication, you are

able to receive money from others and spend your own money.

Only you have access to your own money, since others are not authenticated to handle your

money.

Without an authentication process, anyone could spend my money, which is obviously undesirable.

Additionally, authentication can also be used to enforce blaming.

If someone tries to do something incorrect within the network, such as spend someone

else's funds, you want to be able to call them out with proof.

For example, if someone tries to withdraw your funds from a bank, you would want a record

of this, including the identity of who was trying to take your funds, to get rid of malicious

activity in the future by banning or refusing to interact with those people.

Integrity, the other half of identity, means that all our authentication methods cannot

be replicated by anyone else.

We can understand integrity by the process of signing a check: once you sign a check

or transaction, no one should be able to intercept and/or manipulate it.

The check has been signed by you, and since no one can replicate your signature, it should

be tamper evident.

Integrity ensures that no one but you, the signer, can use your signature.

Imagine the following scenario in Bitcoin: If I wanted to send Alice 10 bitcoins, she

shouldn't be able to add another zero and make me send her 100 bitcoins.

She also shouldn't be able to copy or replicate my signature elsewhere.

Only by preventing all these things can we trust the integrity of Bitcoin identities.

Identity is a simple concept appearing everywhere in daily life.

For example, houses have both addresses and mailbox keys.

When you ask people to send you mail, you give away your address, so they know where

to send the package to.

Meanwhile, you alone control the mailbox key.

Similarly, emails have aliases and passwords.

People who want to send you email have access to your email address or alias, while you

alone have access to the password to your email account, so only you can read these

emails.

Bitcoin, following this pattern, has both public keys and private keys.

The items in orange on the left hand side -- mailbox addresses, email aliases, and public

keys -- represent one's public identity.

They are what you give out to the public so that they know how to communicate with you,

so that they know how to recognize and identify you.

Meanwhile, the items on the right hand side in red -- mailbox keys, email passwords, and

private keys -- are secret keys that you alone should own.

With these personal keys, you access the orange items on the left.

It gives you control and ownership.

It gives you your identity.

If anyone else gets their hands on your email password, for example, they can pretend to

be you, receiving and sending emails on your behalf.

Similarly, you would never want anyone else to have your Bitcoin private key as that would

give control of your Bitcoin public key and, by implication, your Bitcoin identity.

[Public and private keys] In Bitcoin, you can think of your public and

private key as a chest and key, respectively.

You use your private key to prove you have ownership of your public key and to access

the funds associated with that public key, just as you can use a physical key to unlock

a chest that contains your physical money.

To reiterate, public keys are used for receiving, and private keys are used for redeeming.

Received money is associated with the public key, and you can access or spend those funds

with your private key.

You are safe letting people know about your chest of bitcoins -- your public key -- so

long as you don't give them the key to get inside -- your private key.

A small note: in actuality, other users send transactions to your address, not your public

key, as your Bitcoin public key is not identical to your Bitcoin address.

Your address is actually derived from your public key.

We will make the distinction clear when we go more in depth into Bitcoin mechanics, but

you can for now think of addresses, pseudonyms, and public keys as synonyms.

The reason why we need this public-private key pair scheme in Bitcoin is because there

is no central authority to generate unique identities for users.

This means that users have to generate their own identities.

To generate an identity, a user picks a private key at random generates the public key from

the private key through a mathematical function.

You may be concerned about the danger of two users ending up with the same public key without

a central registry ensuring that no two people have the same public key.

A bank, for example, has an internal list of users with unique identifiers and can easily

assign a new, unique identity to any new user.

How do we simulate a bank's identification process in Bitcoin?

How do we trust that no two users end up with the same identity?

To illustrate the probability of two users choosing the same identity as someone else

in Bitcoin, let's consider something we're all familiar with: the Earth.

[Earth and sand] Bitcoin has two to the one sixty different

possible addresses.

To get a sense of how many different addresses exist for users to choose out of, let us compare

the number of addresses in Bitcoin to the number of grains of sand on Earth.

The Earth has two to the sixty three grains of sand.

Imagine every person in the world choosing a grain of sand at random.

The likelihood of two people picking the same grain of sand is less than 0.0001%.

In comparison, the number of addresses in Bitcoin is many, many magnitudes greater than

the number of grains on sand on Earth, making the probability even smaller.

Let's consider something more drastic: imagine that for every grain of sand on Earth, there

exists another Earth, also with two to the sixty three grains of sand.

Now we have two to the sixty three earths times two to the sixty three grains of sand

per earth, meaning that there are in total two to the one twenty six grains of sand.

Even the number of grains of sand upon all these Earths is only 0.0000000058% (8 zeroes)

of all the possible Bitcoin addresses.

For more infomation >> [CS198.1x Week 1] Identity (Stage 1) - Duration: 6:43.

-------------------------------------------

[CS198.1x Week 2] Blockchain Community and Politics - Duration: 3:21.

Cryptocurrency and blockchain technology started its roller coaster of a journey with a small

group of cypherpunks, who believed in cryptography as means to promote privacy…

...it had a rough beginning as we saw with the failed DigiCash…

… but now we've ended up here at JP Morgan Chase, one of the largest American multinational

financial services firms.

The history of Bitcoin and Blockchain is a story of rapid transformation.

Originating as a fledgling technology founded on libertarian ideals, Bitcoin had its beginnings

in an industry full of scandals and activity.

As bitcoin began to rise in value and attract attention from a wider and wider audience,

there was a shift in focus away from Bitcoin itself and more into the other innovations

made possible by the underlying technology, the blockchain.

Where exactly do people discuss bitcoin and blockchain technology?

There are a few different forums that people use.

There's Reddit's r/bitcoin, online discussion boards like Bitcointalk.org, Bitcoin meetups

and conferences, and Bitcoin specific IRC Channels.

There are also organizations like us (Blockchain at Berkeley), that are dedicated to discussing

and pushing forward blockchain technology.

We have a Slack channel with over 2000 members that people use to discuss news and developments

in the blockchain space.

We also host many public events, workshops, and meetups, teach multiple classes on the

UC Berkeley campus, and also this one online.

And this all done to foster and develop the blockchain community.

But within the community, there's always some internal political debate going on.

For example, there's a lot of the internal politics that occurs between miners, who want

higher transaction fees, and merchants, who want lower transaction fees.

There's also politics regarding the scalability debate in Bitcoin, the Ethereum split, and

many other issues in the space.

Most of the core Bitcoin community can be very libertarian, as we've seen with the

roots of Bitcoin and the cypherpunks.

And oftentimes, people's political views influence how they feel towards technological

debates as well.

It's a common sentiment that getting die hard libertarians to agree is a very hard

problem.

Many libertarians think that implementing blockchain into the government is a good way

to hold governments accountable.

On the other hand, libertarians also think that people should be able to do what they

want.

The flag on this slide is the Gadsen flag, which has strong Libertarian roots.

It's used as a libertarian symbol because the porcupine is the "quiet", unassuming

warrior of the forest, which doesn't attack so long as you leave it alone.

The United States government tries to best represent its citizens opinions and interests

through a representative democracy.

In the blockchain community, there are different ways of coming to consensus about the changes

that happen, and the process isn't always smooth.

For example, in a previous section, we talked about Bitcoin Improvement Proposals.

Some controversial topics in the blockchain space have been surrounding problems like

blocksize (specifically segwit2x), confirmation times, and centralization in third party companies

(Intel's SGX).

In this course, we explain these issues in an objective fashion, and let you form your

own opinion on these debates.

For more infomation >> [CS198.1x Week 2] Blockchain Community and Politics - Duration: 3:21.

-------------------------------------------

[CS198.1x Week 1] Transactions (Stage 2) - Duration: 3:02.

As we did before with the concept of identity, we will now be analyzing the idea of a transaction.

Take a moment to ask yourself, "What makes a transaction valid?"

[Validity]

For a transaction to be valid, it must have these three components: (1) a proof of ownership,

aka a signature (2) available and sufficient funds to spend, and (3) a guarantee that no

other transaction is using or has used the same funds.

Let's understand these criteria in the context of checks and banks:

When you want to make a transaction via a check, you have to sign the check to validate

it -- that's a proof of ownership.

The bank then has to verify that you have enough funds in your account -- that you have

available and sufficient funds for the transaction.

They must also ensure that you do not spend the same money more than once -- that you

cannot send two or more checks each spending 100 dollars when your account only has 100

in total.

To ensure that one one uses funds not in their possession, all the same conditions apply

to Bitcoin.

To enforce this, Bitcoin uses what's known as a UTXO, or Unspent Transaction Output,

model.

[UTXO]

Traditionally, when we think of banks, we think of a single account where all our funds

are aggregated into one count.

For example, after buying a ten dollars worth of burgers and fries, your account balance

goes from twenty to ten dollars.

This is not the case with Bitcoin.

Accounts are easy for users to understand but surprisingly difficult for computers when

it comes to all the complexity of a decentralized network.

There is no longer a central entity to track all the transactions being made by my account,

nor a central clock to track when transactions are being made.

If I make three different transactions of 5 bitcoins from an account of only 10 bitcoins,

which of the two transactions should go through?

How do we ensure that we do not accidentally let all three transactions go through?

To make transaction processing much easier and more secure, users do not spend from an

account; instead, they spend directly from transactions made to them.

An easy way to wrap our heads around this unintuitive model is to think of UTXOs as

piggy banks!

[piggy]

Every time a transaction is made to us, we put all that money into a UTXO, or piggy bank.

When we want to spend money, we break open that piggy bank,...

[SMASH]

spend whatever we like, and then put the rest into another piggy bank.

(It's hard to put a piggy bank's shattered pieces back together.)

This way, the complexity of checking for transaction validity goes down.

Instead of asking the more difficult question, "Is this account trying to, at this time,

spend more money than it owns across multiple transactions?," we only need to ask, "Does

this single piggy bank have enough funds?"

On the other hand, the complexity of keeping track of one's own funds goes up, as each

of these piggy banks has to be tracked and secured individually.

The amount of bitcoin you own is calculated by summing up the value of each of your piggy

banks, or UTXOs.

For more infomation >> [CS198.1x Week 1] Transactions (Stage 2) - Duration: 3:02.

-------------------------------------------

[CS198.1x Week 2] Bitcoin Bubble and Altcoins - Duration: 1:45.

Between November 1, 2013 and November 30, 2013 -- less than a month -- the price of

Bitcoin rose from just under $200 to over $1000

In late 2013, the Bitcoin bubble hit its peak at around $1,165 before suddenly bursting

and entering a bearish run that lasted until the end of 2015.

There are a couple speculations about why the bubble occurred:

First, Chinese investors bought bitcoins as a speculative financial investment.

Many sold because of warnings issued by the Chinese government

Second, automated trading in Mt. Gox may have artificially driven the price up by continuously

buying bitcoins.

[Explosion of Altcoins]

Soon after the creation of Bitcoin, other cryptocurrencies began popping up on the internet

as well, each tailored to a different use case or audience.

These cryptocurrencies other than Bitcoin -- Litecoin, ZCash, Stellar, Ripple, Ethereum,

Dogecoin, DASH, Monero, and others -- are known as altcoins, alt- standing for alternative.

For example, Litecoin aims to be the silver to Bitcoin's gold.

It is more progressive in its software updates and serves as a testing ground for proposed

Bitcoin software updates.

In addition, ZCash uses innovative zero knowledge proofs, which are a way to prove a fact without

revealing information about the fact itself.

This furthers cryptocurrency privacy by allowing transactions to be validated without revealing

information about the sender, recipient, and value transferred.

Stellar and Ripple pioneered new federated consensus algorithms, eliminating the need

to waste electricity solving cryptographic hash puzzles.

These are just a few examples of how coins other than Bitcoin are trying to solve their

own individual problems, making for a wider crypto space.

For more infomation >> [CS198.1x Week 2] Bitcoin Bubble and Altcoins - Duration: 1:45.

-------------------------------------------

[CS198.1x Week 2] Ethereum Timeline - Duration: 2:50.

After Bitcoin, the next most influential blockchain platform is Ethereum.

Bitcoin is a storage of value, that is to say, it's "coin-centric".

It was created as a medium of payment transaction and a store of value, an alternative to regular

money.

Ethereum, on the other hand, was developed as a platform to execute peer-to-peer "smart

contracts" and applications.

It supports Turing-complete languages, meaning that it can perform general computation.

In other words, any type of code that I run on a regular computer can also be run on Ethereum.

Code execution on Ethereum is fueled by Ethereum's internal token, called ether.

[Ethereum Timeline 2]

Ethereum was first described in a whitepaper released in late 2013 by then 19-year-old

Vitalik Buterin, a programmer from the University of Waterloo.

The platform had a token sale between July and August 2014 and sold 7.4 million ether

for 3700 BTC in the first 12 hours of the presale.

At the time, this was equivalent to 2.3 million USD, or in Bugatti terms, about 1.2 Veyrons.

The Ethereum blockchain officially went live on July 30th 2015, and by May 2016, the cumulative

value of Ethereum tokens was more than $1 billion.

[Ethereum Timeline: DAOs]

Around that time, the idea of Decentralized Autonomous Organizations (DAOs for short)

became hugely popular.

DAOs are essentially programs on the Ethereum blockchain that create a distributed government.

"TheDAO" was a specific project that would serve as a decentralized Venture Capital,

allowing their investors to vote and decide on the distribution of funds between startups.

However, in July 2016, these dreams came crashing down when a hacker exploited a bug in the

underlying code, stealing about $120 million worth of Ether to from TheDAO smart contract.

Outraged by the enormous theft, several voices in the community proposed to defy the protocol

and undo the hack.

The majority of community decided to simultaneously rewind their own chain and ignore all activity

starting from the hack, but a small subset chose not to undo that activity with the belief

that "code is law."

The split that rewinded history is the split that is currently branded as Ethereum.

The remainder that believed that nothing - including catastrophic events like the DAO Hack - should

be reverted stayed on the main chain, now known as Ethereum Classic.

For more infomation >> [CS198.1x Week 2] Ethereum Timeline - Duration: 2:50.

-------------------------------------------

[CS198.1x Week 2] Banks and Blockchain - Duration: 3:55.

As blockchain became more mainstream, banks started to pick up on the technology as well.

They took note of Bitcoin and what it offered as a digital currency, but did not agree with

Bitcoin's design goals of being open, decentralized, and trustless.

After all, banks want their users to trust them, and keep operations private and controllable.

Banks looked for a way to apply blockchain technology WITHOUT having to replace the US

dollar or any other national currency with cryptocurrency.

They wanted to find ways to leverage this new distributed ledger technology without

inheriting the trustless, distributed, and decentralized overhead from Bitcoin.

This led to a rise of interest in "private blockchains" or "permissioned ledgers,"

where the network is not open, not trustless, and does not have a mining scheme with underlying

economic incentives (mining rewards).

In a sense, they wanted to separate "blockchain" from "Bitcoin".

These blockchains take the fundamental cryptographic technology from bitcoin (public key cryptography)

and modify it to be more compliant to enterprise use.

[Current blockchain initiatives: enterprise blockchain platforms]

There are many different enterprise technologies in the space today, including R3's Corda,

Chain, JP Morga's Quorum and Juno, and Digital Asset Holdings.

The Hyperledger project is an open source blockchain run by Digital Asset Holdings and

the Linux Foundation.

IBM's Open Blockchain is a platform that is now part of the Hyperledger project as

"Fabric".

The way that companies, especially financial institutions, have looked at blockchain technology

has changed drastically over the past few years.

Let's take a look specifically at Jamie Dimon, the CEO of JP Morgan Chase...

...As one of the most influential figures in the financial sector, his words can play

a huge part in shaping the public opinion on blockchain.

In January 2014, he said about Bitcoin "It's a terrible store of value.

It could be replicated over and over.", which doesn't really mean anything, indicating

that people really didn't, and still don't understand what Bitcoin is.

In October 2014, he said "[Bitcoin developers] are going to try and eat our lunch.

And that's fine.

That's called competition, and we'll be competing."

The statement seems aggressive, but he actually gives legitimacy to Bitcoin by suggesting

that it's a competitor to traditional banks and finance.

In November 2015, "Virtual currency, where it's called a bitcoin vs. a US Dollar, that's

going to be stopped…

No government will ever support a virtual currency that goes around borders and doesn't

have the same control.

It's not going to happen."

Now, Bitcoin isn't just competition, it's a bona fide threat.

It's something that bankers can't control, and they hate it.

In October 2017, he said "Bitcoin is a fraud that won't end well.

If you're stupid enough to buy Bitcoin, you'll pay for the price of it one day.

The blockchain is a technology which is a good technology.

We actually use it...God bless the blockchain."

Note that it looks like Dimon has started to understand the merits of blockchain technology

as opposed to just Bitcoin itself.

His stance towards Bitcoin doesn't seem to have changed.

These comments were actually made at an event hosted by the Institute of International Finance,

which was hugely publicized.

Just to drive his point home, here are some more comments he made in September 2017.

"I'd fire a JP Morgan trader in a second who traded [Bitcoin].

IT's against the rules, its stupid, its dangerous."

And in another quote he said "One of my daughters bought bitcoin and

it went up, she thinks she is a genius."

In January 2018, he said "The blockchain is real.

You can have crypto yen and dollars and stuff like that … the bitcoin to me was always

what the governments are gonna feel about bitcoin as it gets really big, and I

just have a different opinion than other people."

For more infomation >> [CS198.1x Week 2] Banks and Blockchain - Duration: 3:55.

-------------------------------------------

Zerzil - Liguei o Fodace (Clipe oficial) - Duration: 5:08.

Greetings dragons!

Today we are going to do a special vlog, on a very serious subject...

Hi love!

Hello!

Hi.

Did you ironing the shirt I asked for?

Eh! My bad...

I stayed in the studio all day...

I was recording… I just arrived, I'm doing a vlog here for my channel...

Got it...

Must be giving a fortune this thing, right?

Maybe you can use that money to fix this hair...

My hair! Didn't you like it?

Baby, it's not about the hair ... right?

You know... it's about everything!

Man... my mother offered you a job at the hospital... You could try, right?

This friends of yours are all a bunch of trash.

Ah! Stop talk about my friends!

No!

No! Look where I am!

And you are still there, dreaming… Arriving all day like 4 in the morning at home!

Shit! Come on, man!

Keep going this way and you won't go any place in your life without me, dude...

- Video call -

(Sha la la, la la, la la) (Sha la la, la la, la la)

(Sha la la, la la, la la) (Sha la la, la la, la la)

I don't wanna to spend my life passing the time, ironing clothes...

Waiting for death come by

I don't wanna to change my life to be the son-in-law That your crazy bitch mama is going to like

If you are there bro, just be so If you are there bro, just be so

If you are there bro, just be so If I'm there…

I turn on the Fuck it! (sha la la la la la)

I turn on the Fuck it! Fuck it! Fuck it!

I don't wanna to spend my life passing the time, ironing clothes

Waiting for death come by

I don't wanna to change my life to be the son-in-law That your crazy bitch mama is going to like

If you are there bro, just be so If you are there bro, just be so

If you are there bro, just be so If I'm there…

I turn on the Fuck it! (sha la la la la la)

I turn on the Fuck it! Fuck it! Fuck it!

I'm going anyway, nothing will make me stay

Nothing will make me stay

If you are there bro, just be so If you are there bro, just be so

If you are there bro, just be so If I'm there...

I turn on the Fuck it! (sha la la la la la)

I turn on the Fuck it! Fuck it! Fuck it!

I turn on the Fuck it! (sha la la la la la)

I turn on the Fuck it! Fuck it! Fuck it!

For more infomation >> Zerzil - Liguei o Fodace (Clipe oficial) - Duration: 5:08.

-------------------------------------------

Smart Golden Retriever At Your Service | Kritter Klub - Duration: 2:19.

Delivery dog, Ttokssuni

I can't go because I'm busy

So you have to deliver

to aunt's chicken store

Got it

House ---> Aunt's store

Ttokssuni you're here? Good job bringing it

Good job

Amazing dog!

Going back to give her money

Owner: She's reliable

Owner: I feel like she's my daughter

Does she know all the stores?

Ttokssuni, go to the dress alteration shop

It's right here!

Ttokssuni, go to the shoe store

Such a smart dog

Deliver this to the thread store

Florist ---> Thread store

Thank you!

Taking the money

Goes to the flower shop to give back the change

Gets delivery fee

Good job ! Go get yourself some milk

Yay! I'm going for some snacks now!

She always comes here when people give her money

Why aren't you leaving?

She didn't give her change back

She is really a smart dog!

Did you get the milk?

Delicious

This is why I run errands

For more infomation >> Smart Golden Retriever At Your Service | Kritter Klub - Duration: 2:19.

-------------------------------------------

[CS198.1x Week 2] Bitcoin Precursors - Duration: 3:34.

[Digicash]

The Cypherpunks didn't get together, design a cryptocurrency, and succeed on their first

attempt.

Several early attempts at making a true cryptocurrency failed, though they came close.

These early failures inspired Bitcoin to adopt some key features that they implemented and

learn from their mistakes.

As the existing financial system was one of the greatest threats to individual privacy,

cryptographer David Chaum implemented Digicash using the latest advancements in public and

private key cryptography.

Chaum himself had invented "blind signatures" while studying at UC Berkeley.

Blind signatures allowed users to sign off on transactions without revealing their identity.

Digicash promised complete privacy for users conducting online transactions and included

a system of cryptographic protocols that prevented banks and governments from tracing personal

online payments.

Ironically, however, Digicash failed because of what it feared the most: centralization.

Digicash was hosted by Chaum's own company, and if his company ever went down, Digicash

would also go with it.

And that's exactly what happened.

Chaum's company DigiCash Inc bore the overwhelming burden of having to validate each and every

digital signature in the DigiCash system, which eventually led to bankruptcy in 1998.

[Hashcash]

Hashcash was originally invented as a mechanism to limit email spam.

In order to send out an email, one would have to solve a cryptographic hash puzzle and provide

a proof of work.

Only after proving that they have expended computational resources -- with a Hashcash

stamp added to the email header -- can someone send out a valid email.

Email recipients can then verify emails that they receive are valid, by looking at the

email headers for a valid Hashcash stamp.

The idea is that spammers wouldn't be able to spam emails anymore.

It would be too costly, as spammers goals are to send out huge numbers of emails with

little cost per message.

So by making it computationally expensive to send out email, hashcash disincentivized

spammers.

[B-money]

B-money was an early proposal for a cryptocurrency created by Wei Dai.

In 1998, Dai published a paper titled "B-money, an anonymous, distributed electronic cash

system," and laid out some core concepts that would later be used to implement Bitcoin

and other cryptocurrencies.

Among B-money's core concepts were that:

A proof of work function like Hashcash is used as a means of creating money.

Everyone maintains a copy of the database showing who owns what, and work is verified

by the community, who all work to update a collective ledger.

And transactions are accomplished by collective bookkeeping and authenticated with cryptographic

hashes.

Workers are awarded funds for their efforts in creating money through expending computational

resources.

Contracts and transactions are enforced through the broadcast and signing of transactions

with digital signatures.

These ideas from B-money would later influence the development and design philosophy of Bitcoin.

For more infomation >> [CS198.1x Week 2] Bitcoin Precursors - Duration: 3:34.

-------------------------------------------

[CS198.1x Week 2] Ethereum Bubble - Duration: 3:58.

On June 21st 2017, the price of Ethereum on the exchange GDAX crashed briefly to 10 cents

USD per ether due to a massive sell order.

This is a testament to the massive volatility of cryptocurrency prices.

Much of the price is dependant on the public perception of the currency.

Here are a few things that affected it.

Speculation about how the SEC would rule on the DAO Hack led to a drop in prices, since

more SEC regulation would mean that it would be much harder to trade cryptocurrencies.

On the other hand, the advent of cryptocurrency exchange-traded-funds like the Winklevoss

Bitcoin ETF meant that the average person could invest in cryptocurrencies without having

to worry about dealing with exchanges and storing the tokens.

Initial coin offerings, or ICOs, have also been a huge factor in the price of Ether.

We'll talk more about them later on, but know that in the third quarter of 2017 Q3'17,

ICOs have raised $1.3B with 150 ICOs while seed/angel investing across all tech sectors

has raised $1.4B across 1602 deals.

Venture capital funds have also started investing into Ethereum technology, either into the

ICO like Blockchain Capital, or directly into the token like Polychain Capital.

Given the exploding interest surrounding cryptocurrencies, FOMO, or "Fear of Missing Out" plays a

role in many people's investing decisions.

For better or for worse, people don't want to miss out on the "next bitcoin", and

end up investing in cryptocurrencies like Ether, driving the price in upin a positive

feedback loop.

The fact that Bitcoin's and other cryptocurrencies' prices are starting to be broadcasted on public

radio further contributes to this "FOMO."

And economic and political circumstances like Brexit, Trump's election, or India's war

on cash can also contribute to driving up the price of cryptocurrencies, since they

tend to undermine people's trust in centralized systems and cause them to shift towards more

decentralized systems like cryptocurrencies.

Due to some economic and political situations, and of course the aforementioned Fear of Missing

Out, cryptocurrencies became extremely popular, resulting in a massive hype train.

In December 2017, cryptocurrencies started attracting much more "mainstream" attention,

and let to a change in the demographic of the people who were invest, in particular,

an increase in the number of millenials getting involved.

A decentralized application built on top of Ethereum called CryptoKitties, an online marketplace

for virtual cats, became so popular that at one point, it contributed to 10% of Ethereum's

total network transaction volume.

It's important to have an educated understanding of the space…

...rather than make decisions based on volatility and prices.

Although the price of Bitcoin is many, many times higher than what it was a year ago,

it's started to take a downward turn in the beginning of 2018 after peaking in December

2017.

An increase in the amount of international regulation especially in India...

… South Korea…

… US and the UK, combined with a "mob mentality" of people investing without truly

believing in the technology led to quickly changing market caps, and eventually the hype

train crashed.

For more infomation >> [CS198.1x Week 2] Ethereum Bubble - Duration: 3:58.

-------------------------------------------

[CS198.1x Week 2] ICOs - Duration: 2:14.

Nowadays, you can't speak about the state of the blockchain industry without at least

mentioning ICOs, or initial coin offerings.

They're a way for new projects, startups, and companies to sell their underlying crypto

tokens in exchange for investors' money.

Think of ICOs as Initial Public Offerings, but instead of investors purchasing shares

of a company, they purchase the coin underlying a new project.

ICOs are very different from equity.

Having a new project's coin doesn't give you ownership of the project, but instead

enable you to use the project when it becomes available.

Thereby, by buying into an ICO, it shows that you are interested in this new project.

This incentivizes others to do the same, showing that the project will probably be widely used,

since without the associated token, you can't use the project.

For example, here are a couple famous ICOs: Bancor ICO raised $150 million

Tezos ICO raised $200 million Filecoin ICO raised $253 million

ICOs are permissionless and enable ANYONE to invest in a project that they feel will

be successful.

We put emphasis on the word ANYONE because of the open and public nature of these cryptocurrencies.

And when you think of it, it's pretty wild.

From this tweet:

"95% of Americans are not allowed by law to invest in start-ups.

Only 'accredited investors' are entitled to do so, but you can buy lottery tickets

all you want or go to Las Vegas to gamble"

This shows that ICOs are leveling the playing field for investments.

Normal people now can invest in any blockchain project they want to.

[Explosion of altcoins]

And with so many new projects coming out, some with more potential than others, the

community needs some way to support them.

That's where ICOs come in.

As a comparison:

In Q3'17, ICOs have raised $1.3B with 150 ICOs while seed/angel investing across all

tech sectors has raised $1.4B across 1602 deals.

For more infomation >> [CS198.1x Week 2] ICOs - Duration: 2:14.

-------------------------------------------

[CS198.1x Week 1] Record Keeping (Stage 3) - Duration: 5:03.

Consider the diagram on the left side.

Let this represent our network, which includes 5 entities.

Each of these circles represents an identity: me (Rustie) in green on top, Gloria in red

on the top right, Nick in purple on the bottom right, Nadir in blue on the bottom left, and

Derrick in orange on the top left.

We are all connected to each other on this network, as is apparent by the straight edges

connecting each circle.

For simplicity's sake, I've replaced all public keys with names.

I've also replaced the UTXO model with a basic table on the top right hand side of

the screen.

We need to store the history of transactions for obvious reasons: to know who owns what

in the present, and to use this history to confirm the validity of future transactions.

To save this information, we need some form of database.

A database is a store of information, and there are many types and implementations of

databases.

To understand which type of database we need to use in Bitcoin, let's recall again the

requirements of the Bitcoin protocol: we want no central entity in control of the information

in the network, and we want a way for anyone to be able to read and write to the history

of transactions.

Hence, we want to use a distributed database: as its name entails, information stored in

a distributed manner, meaning that the information is not stored by one entity or only in one

location.

Because Bitcoin aims to be decentralized, we want to use exactly that.

So what does this distributed database look like, and where exactly is it stored?

There's no central entity to hold on to our information, so the closest thing is having

a chosen set of entities hold onto this history.

If we assigned several entities in the network the responsibility of maintaining and sharing

our ledger of transactions, we are still seeing some parts of centralization sneak their way

into our protocol because we would have to trust the maintainers of this distributed

database, going against Bitcoin's aim to be a trustless system.

We must find another way.

Instead of having any selected maintainers, let's make a simple and straightforward

choice: we have everyone keep a copy of the ledger.

We make everyone the bank.

To get as far as possible from centralization, every individual entity in Bitcoin should

be equal.

If every person stores the ledger, then every person has just as much right and legitimacy

as the next person to vote on the validity of transactions.

Every person has control of their own data, and no person can decide for anyone else.

There's no one person to bribe, no one person to hack, no one person to cheat in order to

alter the database.

This is the maximum state of individual independence possible for maintaining this history of transactions.

We know that we want each person to store the ledger, but what should the database actually

look like?

What data structures hold the transaction history?

We might naively decide to store every transaction individually, but for a network that may be

dealing with many transactions per second, updating the database for every received transaction

will be costly, especially since this update would have to be delivered to everyone in

the network.

Everyone maintains their own ledger after all, and once a change is made for one entity,

it must propagate throughout the entire network.

So, how do we store our ledger efficiently?

[The Blockchain]

Every update to the distributed database, the Bitcoin ledger, is a batch of transactions

grouped into what are called blocks.

Every block is built off, or chained to, a previous block.

Altogether, this forms a magical data structure known as a "blockchain."

By grouping data into blocks, we do not have to strain the network as a result of updating

every ledger after every transaction.

With a blockchain, only every block, which may contain thousands of transactions, needs

to be appended to the blockchain.

In this way, blockchains efficiently keep track of not only the transactions in any

given update but also give the database discrete states.

Every block is an update, and a chain of blocks represents a history.

This process is is helpful for identifying discrepancies between two different versions

of the database, since it's much more clear what happened in the ledger at any given time

than if every transaction were individually processed.

Every block contains information about the previous block, as every block is built off

the previous one.

If any block is mutated, intentionally or not, information within this block and all

future blocks will change.

This makes the blockchain tamper-evident, as tampering with a transaction from the past

would invalidate any future blocks linking back to it.

To reiterate, this design choice is both to reduce the strain of storing individual transactions

and to facilitate consistency between all members of the Bitcoin network.

Of course, the next question is, "How does everyone come to agreement on the next block?"

We will go over this in the next video segment on consensus.

For more infomation >> [CS198.1x Week 1] Record Keeping (Stage 3) - Duration: 5:03.

-------------------------------------------

[CS198.1x Week 2] Bitcoin Headlines - Duration: 2:35.

Following years of hacks and bad reputation, Bitcoin finally began to grow in general popularity.

Here are some of the big headlines following Mt. Gox's theft and subsequent declaration

of bankruptcy in February 2014:

In March 2014, people thought they had found Bitcoin inventor Satoshi Nakamoto in California,

but that was a false alarm.

In September 2014, venture capitalist Tim Draper announced his predictions of Bitcoin's

price heading up to $10,000.

For context about his perspective, he was interested in cryptocurrencies since before

Bitcoin.

In 2003, he met a father in South Korea who bought a virtual sword for his son with fiat

money, and was curious ever since.

He also won some bitcoins from the FBI auction of confiscated bitcoins from the Silk Road

shutdown.

2014 was also the year when merchants began to accept bitcoin as a form of payment.

In January, Overstock.com became the first major retailer to accept bitcoins.

Then, in September, PayPal partnered with Coinbase, BitPay, and GoCoin.

Fun fact: Blockchain at Berkeley was previously known as the Bitcoin Association of Berkeley,

and in 2014, these headlines were happening every week.

At every club meeting, our 7 members would discuss the latest hack, the latest bankruptcy,

and the latest Ponzi scheme.

We've grown so much since then, and that just comes to show how much the blockchain

space has matured over the years.

A bunch of Bitcoin startups began popping up too.

Wallet companies helped other companies or users handle bitcoin without having to personally

join the Bitcoin network.

For example, Coinbase is an online exchange that manages wallets and lets users buy and

sell bitcoin for fiat currency.

Bitpay allows merchants to accept bitcoin.

Blockchain.info is a block explorer that allows users to see individual blocks and transactions

in the Bitcoin blockchain in browser, without having to download the entire blockchain themselves.

Most importantly, during this time, the term "blockchain" started becoming a buzz word.

This is a graph of Bitcoin prices from 2014-2015, where you can see that first prices shot up

immensely, then slowly started to fall.

Of course we all know that the price recovered and went back up after this, but this was

a huge shock to the community at the time.

There are a few theories as to why Bitcoin burst at this time:

One was that investors who had speculated and bought a lot of bitcoin had second thoughts,

and began to sell.

Especially, Chinese investors had sold because of warnings issued by the Chinese government.

And then of course the market amplified the current trend, so people further dumped because

they feared a loss in value.

For more infomation >> [CS198.1x Week 2] Bitcoin Headlines - Duration: 2:35.

-------------------------------------------

[CS198.1x Week 1] Bitcoin vs. Banks - Duration: 4:21.

Bitcoin aims to get rid of the central entity, the bank.

In order to understand how it does that, we first need to understand what purpose a bank

serves and what features it provides to users, then understand the parallels in Bitcoin.

The first thing that banks do for us is manage accounts.

Banks verify that we are the legitimate owner of the bank account and only we

can spend the money or the funds. How does a bank do that? Banks will ask us to provide identification before any

activity can take place.

Every transaction we conduct can be traced back to our identity.

On top of that, banks transfer and redeem money on your behalf.

We send money to each other through banks.

We rely on banks to honestly record our account balances.

This way, we don't need to send money through envelopes to relatives -- we let these central

institutions move money in safe and , established ways on our behalves.

To keep track of all this information, we rely on banks to keep track of our

account balances.

Banks update our account balances whenever we make a new transaction.

They also let us see statements so that you're aware of your past history of activity.

But most importantly, banks provide trust: banks are run by educated professionals from

top-tier universities and under the constant regulation of the U.S.

Government.

If you trust the quality of education and standards of the U.S. government, then you

can trust the bank.

But if you don't, then you start looking for alternatives.

And this is where Bitcoin comes in.

So, let's take a look at how Bitcoin can fulfill a bank's functions.

In Bitcoin, identity and account management are completely autonomous.

Each user of Bitcoin creates their own identity instead of asking a bank to create one.

Anyone can generate a Bitcoin identity on their own.

This identity is disconnected from their real world identity, providing a high degree of

privacy.

On top of that, transactions are also peer-to-peer: instead of talking to a bank which will talk

to another bank which will eventually talk to the recipient of some money, we can make

transactions directly can be made between with our peers and be confident that they

are confirmed by the rest of the network.

Therefore, in Bitcoin, users can send funds to each other directly knowing that their

transactions will be validated by the entire network without the presence of a trusted

third party.

To store all this information, each Bitcoin user gets to possess their individual copy

of the ledger.

This decentralized approach of record keeping ensures the integrity of data despite the

presence of faulty nodes who might record the information dishonestly.

The decentralized nature of bitcoin also prevents the risk of single point of failure.

In the event that a particular node is hacked in bitcoin, because everyone is a record keeper,

the rest of the network can still ensure the integrity of the transaction record and keeps

running.

But finally, there is still a need for trust in Bitcoin: instead of trusting people in

suits, we trust math and logic.

We trust that the Bitcoin protocol is correct, allowing us not to trust the users and still

have certainty that transactions are being validated correctly.

We trust in the incentive alignment and publicly verifiable, tamper evident ledger instead

of our fellow users.

All of these pieces together make Bitcoin the technological revolution that kicked off

the Cryptocurrency Movement.

Không có nhận xét nào:

Đăng nhận xét