Skip to content

njwest/blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Blockchain

Bitcoin

The First Decentralized Cryptocurrency & the First Blockchain

Digital Currency & the Double-spending Problem

One of the early obstacles to reliable digital currency is what is called the double-spending problem. In many early prototypes of digital currency, it was possible for currency holders to spend the same token/unit of currency twice, as if they spent their money, stole it back, and spent it again elsewhere.

Satoshi Nakamoto, the person or people behind Bitcoin, solved the double-spending problem with the first-ever implementation of Blockchain.

Note: It is still possible to carry out double-spending attacks on flawed, vulnerable, or compromised blockchains. Click here for more on double-spending attacks.

The First Blockchain

What is a Blockchain?

A blockchain is a chain of blocks of records linked with cryptographic hashes in Merkle trees, also known as hash trees.

While early theory behind blockchain dates back to the early 1990s1, the first blockchain was conceived in 2008 and implemented in 2009 as Bitcoin's public ledger.

In the Bitcoin core, the Bitcoin blockchain serves as a decentralized public ledger, containing all of the transactions that have ever occurred on the Bitcoin network.

By having its nodes spread across the globe, and controlled by multiple different actors, no single organization or person can alter or otherwise control Bitcoin, and the Bitcoin network's governance is automated via a proof-of-work (PoW) system.

Bitcoin Nodes

What is a Bitcoin Node?

A full node on the Bitcoin network contains a record of every transaction that has ever occurred on the Bitcoin blockchain, or a full copy of the blockchain. Nodes...

Transactions

What is a Bitcoin Transaction?

In order for any amount of Bitcoin to be transferred from one address to another on the blockchain, that transaction is sent as

  • Wallets, mining, etc

Bitcoin Mining

What is Bitcoin Mining?

PoW vs PoS

Smart Contracts

DApps

DAOs

Forks

Ethereum

Truly decentralized.

  • Solidity, Vyper langs
  • Gas
  • Ganache
  • Metamask
  • Ether wallet & Mist browser
  • Ether-based tokens & ERC standards
  • Governance structure
  • Carbon voting

Example Ethereum Projects

  • CryptoKitties
  • Decentraland
  • etc

Neo

NOT decentralized -- a majority of nodes are controlled and run by one party.

  • Multi-language support (Python, JS, etc)
  • Centralized node governance...

Lumen

NOT decentralized.

Double-spending Attacks

Against Blockchains

Race Attack

Finney Attack

51% Attack

Decentralized vs Centralized

Further reading

Footnotes

1

About

About Blockchain and Cryptocurrencies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published