This document discusses blockchain scalability and various solutions that have been proposed or implemented to increase transaction throughput. It begins by defining scalability as the number of transactions a system can process per unit of time. It then discusses limitations of the basic public blockchain model using Bitcoin as an example. The remainder of the document explores potential scalability solutions such as increasing block sizes, segregated witness, sharding, state channels, payment networks like Lightning and Raiden, alternative consensus mechanisms like proof-of-stake, and approaches beyond blockchains like directed acyclic graphs.
Blockchain Scalability - Architectures and AlgorithmsGokul Alex
My presentation on 'Blockchain Scalability - Architectures and Algorithms' for the TechAthena Digital Community Webinar.
Blockchain Scalability is one of the most significant concern for Minimum Viable Blockchain Implementation. It is one of the key aspects determining the relevance and feasibility of Blockchain Technology for a particular use case.This session will cover the fundamental aspects of distributed computing that determine the contours of scalability.
Subsequently, the session will outline the parameters and metrics related to Blockchain Scalability in detail. In this context, the session will deep dive into architectural and algorithmic techniques that enables a scalable Blockchain.Architectural techniques such as vertical scaling and horizontal scaling will be explained in detail. Design techniques such as State Channels, Sharding, SideChains, Off chain computations, Block Size and Time Optimization etc. will be explained.
In summary, this session will conclude with the implications and trade-off between Blockchain Scalability, Security, Simplicity and Interoperability. Looking forward to your views and thoughts !
This Edureka Blockchain technology tutorial will give you an understanding of how blockchain works and what are blockchain technologies. This tutorial helps you to learn following topics:
1. What are Blockchain & Bitcoin
2. Blockchain Technologies
3. Peer to Peer Network
4. Cryptography
5. Proof of Work & Blockchain Program
6. Ethereum & Smart Contracts
7. Blockchain Applications and Use Cases
***** Blockchain Training : https://www.edureka.co/blockchain-training *****
This Edureka video on "Blockchain Explained" is to guide you through the fundamentals of the new revolutionary technology called Blockchain and its defining concepts. Below are the topics covered in this tutorial:
1. History of blockchain
2. What is Blockchain
3. Traditional Transaction vs Blockchain
4. How Blockchain Works
5. Benefits of Blockchain
6. Blockchain Transaction Demo
Here is the link to the Blockchain blog series: https://goo.gl/DPoAHR
You can also refer this playlist on Blockchain: https://goo.gl/V5iayd
Blockchain Scalability - Architectures and AlgorithmsGokul Alex
My presentation on 'Blockchain Scalability - Architectures and Algorithms' for the TechAthena Digital Community Webinar.
Blockchain Scalability is one of the most significant concern for Minimum Viable Blockchain Implementation. It is one of the key aspects determining the relevance and feasibility of Blockchain Technology for a particular use case.This session will cover the fundamental aspects of distributed computing that determine the contours of scalability.
Subsequently, the session will outline the parameters and metrics related to Blockchain Scalability in detail. In this context, the session will deep dive into architectural and algorithmic techniques that enables a scalable Blockchain.Architectural techniques such as vertical scaling and horizontal scaling will be explained in detail. Design techniques such as State Channels, Sharding, SideChains, Off chain computations, Block Size and Time Optimization etc. will be explained.
In summary, this session will conclude with the implications and trade-off between Blockchain Scalability, Security, Simplicity and Interoperability. Looking forward to your views and thoughts !
This Edureka Blockchain technology tutorial will give you an understanding of how blockchain works and what are blockchain technologies. This tutorial helps you to learn following topics:
1. What are Blockchain & Bitcoin
2. Blockchain Technologies
3. Peer to Peer Network
4. Cryptography
5. Proof of Work & Blockchain Program
6. Ethereum & Smart Contracts
7. Blockchain Applications and Use Cases
***** Blockchain Training : https://www.edureka.co/blockchain-training *****
This Edureka video on "Blockchain Explained" is to guide you through the fundamentals of the new revolutionary technology called Blockchain and its defining concepts. Below are the topics covered in this tutorial:
1. History of blockchain
2. What is Blockchain
3. Traditional Transaction vs Blockchain
4. How Blockchain Works
5. Benefits of Blockchain
6. Blockchain Transaction Demo
Here is the link to the Blockchain blog series: https://goo.gl/DPoAHR
You can also refer this playlist on Blockchain: https://goo.gl/V5iayd
Blockchain Overview, What is Blockchain, Why Blockchain, How Blockchain will change the world, concepts of Blockchain are explained like Consensus, Distributed Ledger, Blockchain use cases and more
An introduction to Blockchain and covering :
-Blockchain vs cryptocurrency
-Bitcoin vs Ethereum
-Real life and industrial examples
-Business example
-Benefits & challenges
Blockchain 101 talks about blockchain from a very basic perspective (non-technical). This presentation gives you an idea of what blockchain really is beyond cryptocurrency, different types of the blockchain, components of a blockchain, essentials of the blockchain, and myths about blockchain. this presentation also throws light on major applications of the blockchain , its advantages and limitations, major consortiums and startups in this space and the timeline of development. we also tried to include how a use case for blockchain can be identified and how startups need to go about building a blockchain product or services
This presentation was developed by Jithin Babu and Sakshi Manthanwar. Both of them are blockchain researchers and consultants.
For more info regarding presentation kindly contact
jithinbabu555@yahoo.com
There are four different types of blockchain - Public blockchain, Private blockchain, Consortium blockchain and Hybrid blockchain.
This presentation gives a glimpse about blockchain technology and the different types of blockchain. Hope it helps!
This course covers in detail the technical principles & concepts behind blockchain. In addition, it seeks to provide you with the insights and deep understanding of the various components of blockchain technology, and enables you to determine for yourself how to best leverage and exploit blockchain for your project, organisation or start-up.
Link - https://www.experfy.com/training/courses/blockchain-technology-fundamentals
Kristof V. explained the basics of blockchain and smart contracts. Starting with the mechanics of bitcoin (introduced by the 2009 paper of Satoshi Nakamoto) he explains concepts of pseudonymisation, encryption, blockchain, mining, and distribution. After skimming high-level through some use cases he moves to "(smart) contracts", using the example of an auction.
Link to examples of "smart contracts": https://dapps.ethercasts.com
Link to the event follow-up page: https://www.meetup.com/Brussels-Legal-Hackers/messages/boards/thread/50920056
Legal hackers: https://www.meetup.com/Brussels-Legal-Hackers
What is Bitcoin & Cryptocurrency?
How do you keep it & spend it?
Where does it come from?
How can you use it in Sarnia/Lambton?
What does the future hold?
Blockchain Overview, What is Blockchain, Why Blockchain, How Blockchain will change the world, concepts of Blockchain are explained like Consensus, Distributed Ledger, Blockchain use cases and more
An introduction to Blockchain and covering :
-Blockchain vs cryptocurrency
-Bitcoin vs Ethereum
-Real life and industrial examples
-Business example
-Benefits & challenges
Blockchain 101 talks about blockchain from a very basic perspective (non-technical). This presentation gives you an idea of what blockchain really is beyond cryptocurrency, different types of the blockchain, components of a blockchain, essentials of the blockchain, and myths about blockchain. this presentation also throws light on major applications of the blockchain , its advantages and limitations, major consortiums and startups in this space and the timeline of development. we also tried to include how a use case for blockchain can be identified and how startups need to go about building a blockchain product or services
This presentation was developed by Jithin Babu and Sakshi Manthanwar. Both of them are blockchain researchers and consultants.
For more info regarding presentation kindly contact
jithinbabu555@yahoo.com
There are four different types of blockchain - Public blockchain, Private blockchain, Consortium blockchain and Hybrid blockchain.
This presentation gives a glimpse about blockchain technology and the different types of blockchain. Hope it helps!
This course covers in detail the technical principles & concepts behind blockchain. In addition, it seeks to provide you with the insights and deep understanding of the various components of blockchain technology, and enables you to determine for yourself how to best leverage and exploit blockchain for your project, organisation or start-up.
Link - https://www.experfy.com/training/courses/blockchain-technology-fundamentals
Kristof V. explained the basics of blockchain and smart contracts. Starting with the mechanics of bitcoin (introduced by the 2009 paper of Satoshi Nakamoto) he explains concepts of pseudonymisation, encryption, blockchain, mining, and distribution. After skimming high-level through some use cases he moves to "(smart) contracts", using the example of an auction.
Link to examples of "smart contracts": https://dapps.ethercasts.com
Link to the event follow-up page: https://www.meetup.com/Brussels-Legal-Hackers/messages/boards/thread/50920056
Legal hackers: https://www.meetup.com/Brussels-Legal-Hackers
What is Bitcoin & Cryptocurrency?
How do you keep it & spend it?
Where does it come from?
How can you use it in Sarnia/Lambton?
What does the future hold?
Everything you ever needed to know about the bitcoin system all explained in baby language, from how it works to how to get started with creating an account, funding an account setting up mining, creating a secure wallet, e.t.c
Rindi - JAX 2016 Taming the Bitcoin BlockchainCaterina Rindi
Caterina Rindi Keynote at JAX 2016 in Mainz, Germany - 19 April 2016. Demystifying Bitcoin and Blockchains, and touching on Ethereum, and their role in the future of finance and more. Presented to an audience of enterprise software developers.
1 IN 6 NODES NOW SUPPORT BITCOIN CLASSICSteven Rhyner
The Bitcoin block size debate is still in effect as we speak, and things are heating up once again between Bitcoin Core and Bitcoin Classic supporters. Now that a working client for Bitcoin Classic users has been released, various Bitcoin nodes seem to be favoring this solution over Bitcoin Core.
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad SarangNinad Sarang
Introduction to Blockchain and Bitcoin technologies
Things we will cover,
* What is TRANSACTION ?
* BlockChain !!!……Never heard what is that??
* The BTC Aka BitCoins
* Who discovered?
* How it works?
* Advantages & Disadvantages
* Applications
Bitcoin has made headlines recently, as a means to finance illegal activities, as a vehicle for speculation, and as a new global peer-to-peer currency. The idea underlying Bitcoin solves the following problem: How do you prevent someone from spending electronic money more than once WITHOUT a central intermediary? However, the revolutionary concept behind cryptocurrencies has a much larger potential than mere monetary exchange, because this disruptive technology can also be used for applications such as smart contracts or even completely decentralized elections. The talk will give a basic introduction into these ideas. No advanced mathematical or cryptographical knowledge is needed.
Symposium on Legal Regulation of Bitcoin, Blockchain & Cryptocurrencies anupriti
Symposium on Legal Regulation of Bitcoin, Blockchain & Cryptocurrencies was held at G D Goenka University, Sohna Road,Gurgaon on 22nd Feb 2018.Sharing here the presentation I gave for info.Readers may contact me for any clarifications on the subject content please.
Bitcoin is a peer-to-peer electronic cash system and the first truly decentralized network for sending and receiving value over the Internet. This presentation gets into the details of the technology and answers common questions related to the bitcoin, how it works.
Intro. to Lightning Network (Bitcoin/Litecoin) - Blockchain Developers MalaysiaTM Lee
Introduction to Lightning Network for Bitcoin and Litecoin presented at the first Blockchain Developers Malaysia meetup by TM Lee, co-founder of https://www.coingecko.com
Presented images cited from BitcoinMagazine and Lightning Network Slide Decks
The future of Bitcoin & 9 ways to improve itSam Wouters
Last weekend (8-9 October) they came together in Milan, Italy at Scaling Bitcoin #3. I was not present, but I still wanted to add value as I fundamentally believe an open blockchain like Bitcoin's can make the world a better place. So I went through all the transcripts on scalingbitcoin.org to create a (hopefully) clear overview of the future of Bitcoin for (potential) Bitcoin users.
Interested in learning more? Check out my website or book me as a speaker: http://samwouters.com/
Twitter: https://twitter.com/SDWouters
LinkedIn: https://www.linkedin.com/in/samwouters
The main things you need to know about blockchain:
+ What Is A Blockchain. Theory
+ Ordering Facts
+ Blocks
+ Mining
+ Money and Cryptocurrencies
+ Contracts
Is Poor Scalability Bitcoin’s Next Problem?InvestingTips
This could be a long term problem for Bitcoin when, for years, it was touted as the alternative investment free from such influences. Now there is another issue as Bitcoin returns to economic viability, scalability. Is poor scalability Bitcoin’s next problem and why?
https://youtu.be/GGlNhwOslE4
Similar to Public Blockchain Scalability (April 2018) (20)
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
A presentation about the usage and availability of Varnish on Kubernetes. This talk explores the capabilities of Varnish caching and shows how to use the Varnish Helm chart to deploy it to Kubernetes.
This presentation was delivered at K8SUG Singapore. See https://feryn.eu/presentations/accelerate-your-kubernetes-clusters-with-varnish-caching-k8sug-singapore-28-2024 for more details.
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
UiPath Test Automation using UiPath Test Suite series, part 3DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 3. In this session, we will cover desktop automation along with UI automation.
Topics covered:
UI automation Introduction,
UI automation Sample
Desktop automation flow
Pradeep Chinnala, Senior Consultant Automation Developer @WonderBotz and UiPath MVP
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Ramesh Iyer
In today's fast-changing business world, Companies that adapt and embrace new ideas often need help to keep up with the competition. However, fostering a culture of innovation takes much work. It takes vision, leadership and willingness to take risks in the right proportion. Sachin Dev Duggal, co-founder of Builder.ai, has perfected the art of this balance, creating a company culture where creativity and growth are nurtured at each stage.
Neuro-symbolic is not enough, we need neuro-*semantic*Frank van Harmelen
Neuro-symbolic (NeSy) AI is on the rise. However, simply machine learning on just any symbolic structure is not sufficient to really harvest the gains of NeSy. These will only be gained when the symbolic structures have an actual semantics. I give an operational definition of semantics as “predictable inference”.
All of this illustrated with link prediction over knowledge graphs, but the argument is general.
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
The Art of the Pitch: WordPress Relationships and SalesLaura Byrne
Clients don’t know what they don’t know. What web solutions are right for them? How does WordPress come into the picture? How do you make sure you understand scope and timeline? What do you do if sometime changes?
All these questions and more will be explored as we talk about matching clients’ needs with what your agency offers without pulling teeth or pulling your hair out. Practical tips, and strategies for successful relationship building that leads to closing the deal.
PHP Frameworks: I want to break free (IPC Berlin 2024)Ralf Eggert
In this presentation, we examine the challenges and limitations of relying too heavily on PHP frameworks in web development. We discuss the history of PHP and its frameworks to understand how this dependence has evolved. The focus will be on providing concrete tips and strategies to reduce reliance on these frameworks, based on real-world examples and practical considerations. The goal is to equip developers with the skills and knowledge to create more flexible and future-proof web applications. We'll explore the importance of maintaining autonomy in a rapidly changing tech landscape and how to make informed decisions in PHP development.
This talk is aimed at encouraging a more independent approach to using PHP frameworks, moving towards a more flexible and future-proof approach to PHP development.
13. Bitcoin Proof of Work (PoW) Consensus
All miners work to solve 1
puzzle at a time
A puzzle is solved
every 10 minutes
The probability of a mining a block is dependent on
computational work that is done by a miner
@caseykcaruso
15. Bitcoin Proof of Work (PoW) Consensus
MINER A BLOCK
TRANSACTION
TRANSACTION
TRANSACTION
MINER B BLOCK
TRANSACTION
TRANSACTION
MINER C BLOCK
TRANSACTION
TRANSACTION
TRANSACTION
@caseykcaruso
16. Bitcoin Proof of Work (PoW) Consensus
MINER A BLOCK
TRANSACTIONS
MINER C BLOCKMINER B BLOCK
HASH (
)
= 000x
NONCE GUESS
TRANSACTIONS
HASH (
)
= 000x
NONCE GUESS
TRANSACTIONS
HASH (
)
= 000x
NONCE GUESS
@caseykcaruso
33. Layer 2 Offchain State Channels
BLOCKCHAIN
STATE CHANNEL
@caseykcaruso
34. Offchain Payment Channels
Move processes off-chain, while still retaining a blockchain’s trustworthiness.
BLOCKCHAIN
BOB COFFEE SHOPIOU
@caseykcaruso
50. It’s still a lot of work.
What about reaching
consensus a different
way?
@caseykcaruso
51. Proof of Stake (PoS) Consensus
All nodes who want to validate blocks must stake a
minimum amount
The probability of validating a block is dependent
on your stake and the age of your stake
@caseykcaruso
52. Proof of Stake (PoS) Consensus
VALIDATOR A
TRANSACTION
TRANSACTION
TRANSACTION
VALIDATOR B
TRANSACTION
TRANSACTION
VALIDATOR C
TRANSACTION
TRANSACTION
TRANSACTION
@caseykcaruso
53. VALIDATOR A VALIDATOR CVALIDATOR B
STAKED AMOUNT
STAKED AMOUNT
STAKED AMOUNT
Proof of Stake (PoS) Consensus
@caseykcaruso
54. Ethereum’s Casper PoS Protocol
Bonded
Stake
Min Stake
1000 ETH
Non
delegated
PoS
@caseykcaruso
Show of hands - who is technical?
Goal is to explain the evolution of public blockchain scalability
There are a lot of ways to define scalability so for the purposes of the conversation let’s define it as “”
Bitcoin, the most used blockchain can handle 7
https://altcointoday.com/bitcoin-ethereum-vs-visa-paypal-transactions-per-second/
Ethereum the second most popular blockchain can handle 20
https://altcointoday.com/bitcoin-ethereum-vs-visa-paypal-transactions-per-second/
Ethereum the second most popular blockchain can handle 20
https://altcointoday.com/bitcoin-ethereum-vs-visa-paypal-transactions-per-second/
People may think ethereum and visa are not similar solutions but vitalik himself said to long-term goal is visa-scale so how are we going to get there
the Blockchain is a sequence of blocks
Each block is cryptographically linked to the previous block by references the previous block’s hash
Blockchain is a linked list
Each block is full of transactions and 1 MB in size
In order to add the next block, we need consensus
Consensus is used to make sure all nodes know which block is next and have a updated version of the blockchain
At a high level ---
Now this is how this actually works - unverified transactions taken from mem pool
Miners - which are computers running special software
Miners build up blocks of transactions
This is the puzzle solving step
Miners start guessing a nonce, which is a random number, in hopes that the hash of the transactions + the nonce equal a certain output
Every miner is trying to get the same output
Finding a nonce that equals such output takes about 10 minutes and is the main bottleneck of this system
Costly and long process
Once a miner guesses correctly they broadcast to the network and sends to full nodes - a full nodes verify
Full nodes download every block and transaction and check them against Bitcoin's consensus rules.
Light nodes don’t store the whole blockchain - they query full nodes
Full nodes store the whole blockchain
Miners can connect and trust full nodes
So PoW is very secure and decentralized but its not very scalable
It’s often debated what we should be optimizing for in a consensus alg.
Bitcoin core devs want to optimize for the decentralization
Newer kids on the block, like stellar, want to optimize for scalability and forgo decentralization.
In general, most scalability solutions can’t obtain all three of these aspects - so we call it the scaling trilemma
We have
Scalability - being able to process x transactions
Security - being secure against x% attackers
Decentralization - system being able to run where each participant only has access to x resources
If blocks take so much work and time to make, logically the first question is...
Why don’t we make the blocks bigger so we can fit more transactions in each block?
In 2010, Satoshi introduced a block size limit of 1 MB (hidden in two commits)
One of the biggest cons is centralization - As the block size increases, it becomes more expensive and more difficult to operate a full node because of the data storage and bandwidth required so you are essentially limiting who can participate
Bitcoin cash ended up doing a hard fork and now has 8MB blocks
OLD
on a subset computer that can handle such large computations
This will be not only challenging data storage, but might actually be beyond the bandwidth capacity/datacap of some full node maintainers. On
If we can't make it bigger, is there anything we can take out so more transactions can fit?
Solution called segwit v1 was activated last year, soft fork
Look at whats in a transaction
the digital signature accounted for 60% of the transactions
So segwit says - lets take the signatures out since only needed at validation
Signatures get moved
Looking at some pseudo code here - we see the digital signature (`scriptSig`) in the input section
With segwit, we take that scriptsig out and move it away
Note that only white boxes count towards the block size so this frees up more space
Even more importantly segwit makes the tx-id independent from the signature which fixes something called the malleability bug
This makes doing payment channels a lot easier
After we optimized what was in a block by looking at the transaction, we thought more about transactions and specifically questioned why everyone is looking at every transaction.
Could we divide and conquer?
This is called a layer 1 solution - because it is implemented at the base-level protocol of ethereum itself
sharding the blockchain requires us to create a network where every node only processes a small portion of all transactions
Allowing miners or validators to work in parellel
sharding the blockchain requires us to create a network where every node only processes a small portion of all transactions
Allowing miners or validators to work in parellel
Implementation varies but one way this could work is by having all transactions that end in 8 route to one group
all transactions ending in 9 to another
This solution looks promising, Shard communication is difficult but all in all this solution will definitely be implemented in the future
Zooming out, away from transactions and blocks, thinking about the chain - is there a way we could do stuff offchain? Can we transact off the blockchain?
Layer 2 solutions - solutions are built “on top of” the main-chains
Let’s say bob goes to the same coffee shop every day, putting that coffee transaction on the blockchain every day really is overkill (especially with fees)
So the thought here is let’s do those transactions off the blockchain
It can be thought of as a set of IOUs or a bar tab between two people and then you use setlle on chain as needed
Want to talk about lightning, at a high level
Lightning just works for BTC
But it's one of the only solution
Payment channel
that is on mainnet and it really works
Huge fan of lightning
Just for payments
The first step in the lightning network process is both parties depositing, or locking up, a certain amount amount
This is a called a funding transaction and happens onchain
Exchange coffee
Called a commitment transaction
Exchange coffee
Called a commitment transaction
The most updated balance is put on the blockchain as a transaction
routing
Let’s say alice wants to pay dave and she is going to go through bob and carol
In order to allow for multiple hops you need a Hashed Timelock contract (HTLC)
Dave, the recipient, creates “pre-image” R, hashes R, and passes H(R) to alice
The number of hops is then calculated and deprecating HTLCs are set between each party
Carol asks Dave if he knows R, Dave has 1 day to show Carol he knows R, Carol has then one more day to show Bob and one more day to show alice
Same thing for this discussion but of course it will be possible will all erc20 tokens
We are very happy with the promise of payment channels so how about extending this to more than payments?
So increasing blocks, changing blocks, doing things offchain,
Layer 2 solution still , built “on top of” the ethereum main-chain.
Plasma is a protocol of smart contracts that can be used on top of a root blockchain, such as Ethereum, to create sidechains
Aims to scale transactions by creating nestable side chains that only interact with the main chain every once in a while
Cons
Merging children chains is still in development
Still in development
51% attack, through PoW is more possible because there is more compute power for each child chain which then can affect the whole chain .
Even if we make bigger blocks, optimize the blocks, do things offchain, we still need to settle on chain and THAT is still a bottleneck
Can we reach consnenus in a different way?
At a high level ---
replace the hash function calculation with a simple digital signature which proves ownership of the stake.
the creator of a new block is chosen in a deterministic way, depending on its wealth
Min stake which reduces num of validators
Bonded to solve “nothing at stake problem”
Non-delagated - but some want delegated to prevent the rich from getting richer
Final question - what about not using a block at all