Coder Social home page Coder Social logo

abhi3700 / my_learning_blockchain Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 1.0 30.04 MB

This is based on my learning about blockchain protocol as a whole.

License: MIT License

Python 27.68% Solidity 72.32%
blockchain cryptocurrencies learning-blockchain blockchain-protocol neo litecoin cryptocurrency reddcoin zcash zerocoin

my_learning_blockchain's Introduction

My_Learning-Blockchain

This is based on my learning about blockchain protocol as a whole.

Learn about all types of blockchains including payment-only networks like Bitcoin, smart contract platforms like Ethereum, and even decentralized storage networks like IPFS and Storj.

Overview

The architecture diagrams required for a smart contracts:

  1. Cross-chain diagram
  2. Data model diagram
  3. Sequence diagram
    • consists of functions call mostly

Concepts

These concepts are common for all the blockchains when they are built.

51% attack:

  • In 1st generation blockchains (Bitcoin), when a group of miners control more than 50% of the network's mining hashrate.

Authoring node: In a blockchain network, the node that creates a block. This node is selected via a consensus mechanism. The verifier node is the one that validates the block after getting added by the Authoring node. If it doesn't validate, the block is rejected. Hence, doesn't get added to the blockchain. Hence, the authoring node doesn't get the reward. The time taken to make a block immutable is called "Finality time".


Sybil attack:

  • Problem: Each node is actually a part of 1 big entity. So, it can be controlled by 1 person.

  • Solution: As per Nakamoto, Nodes committing to resources (e.g. Proof of Work, Proof of Stake, etc.) can be considered as Sybil attack resistant because they would have to commit to resources for each identity they want to create. This is expensive and not feasible.

    In web2 world, sybil attack is controlled by KYC or phone number verification.


Digital signatures:

Repositories

AntelopeIO

Bitcoin

Ethereum

Waves

Steem

Resources

my_learning_blockchain's People

Contributors

abhi3700 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

rj0088

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.