How Rsk is going to use sharding

in #bitcoin6 years ago (edited)

Rsk is Bitcoin's solution to Ethereum. Rsk is a bitcoin sidechain and stands for Rootstack.

A sidechain is separate chain that connect with the main chain. Thus allowing bitcoin to have an ethereum like system without clogging up the main chain.
Rsk.co use bitcoin as its currency like how ethereum use ether as in system currency.

RSK achieves 100-300 transactions per second on chain and confirms most payments in less than 20 seconds, while leveraging Bitcoin's proof of work security(merged mining).

Rootstock uses the DECOR + GHOST protocol to reduce the block interval to an average of 10 seconds, which is lower than the current Ethereum block with an average block interval of 16 seconds.

But with the Lumino Transaction Compression Protocol (LTCP), RSK will be able to process up to 2000 tps on chain! And once the Lumino Network is deployed over RSK, it will allow up to 20k tps off-chain taking Bitcoin to Visa processing levels,

Instead of forcing users to move contracts to a particular orphaned data partition, the Rootstock platform enables smart contracts to dynamically update specified addresses dynamically. Therefore, the entire node by dividing the transaction set to parallel transaction verification. This is a way to improve CPU resource consumption and make scalability easier for many data-processing cores at each Rootstock node.

However even with these faster speeds vs Ethereum sooner or later it would need to scale even better. Ethereum/RSK hopes to achieve their scaling by mainly using sharding.

Think of sharding as this:
Imagine that a chain such as eth or rsk has been split into thousands of islands. Each island can do its own thing. Each of the island has its own unique features and everyone belonging on that island i.e. the accounts, can interact with each other AND they can freely indulge in all its features. If they want to contact with other islands, they will have to use some sort of protocol.
The shards are basically like islands. So how do these islands communicate with each other? Remember, the purpose of shards is to make lots of parallel transactions happen at the same time to increase performance.
Each individual receipt of any transaction can be easily accessed via multiple Merkle trees from the transaction group Merkle root. Every transaction in a shard will do two things:
Change the state of the shard it belongs to
Generate a receipt
Here is another interesting piece of information. The receipts are stored in a distributed shared memory, which can be seen by other shards but not modified.

Sharding in a basic level is the break down the chain into subgroups

You might be asking how come we can just run the Dapps on a LN? You are kind of right but those are are diff in a sense-those apps are not as powerful or robust as Dapps. Lapps are more scalable but more basic. Dapps will have to run onchain. Lapps+Dapps will work together to build apps.
A more in depth explanation of Lapps:
https://steemit.com/bitcoin/@sames/lapps-what-they-are-and-how-many-are-there-now

So great but how come POW can't just be used for sharding-well since the chain is split apart in section say their are 100 shards it would take 1/100 of the hashrate to attack the shard.
However POW is better and more secure so how do we counter this problem in rsk?
Well since sharding is just a theory right now but the plan is the Federation will be open its door to nodes in a POS and Proof-of-Unique-Blockchain-Storage system. Making RSK a POS+POW hybrid. Each shard is secured by the POS and Proof of Storage and the whole chain is secured by POW.
Bitcoin holders in the RSK platform will be able to vote through a proof-of- stake system and full-nodes will be able to vote through a new protocol that allows them to prove they have a copy of the blockchain. Federations will also be able to vote on protocol changes in the current STTP system.
So how will this work?
The plan is when fees will be shared between Nodes and Miners.
The current rsk will be more node based- a supernode.
However the plan will be changed to allow Miner to get more Power By default, clients stop using federated checkpoints when if RSK hashing power is over 66% of the maximum BTC hashing difficulty observed in the best chain and the fees paid in a block are higher or equal to the average reward of a Bitcoin block.
In four years the next halving will come in bitcoin and in 4 years sharding should be done as well.
An fees in the current rsk will be locked for future uses(aka when bitcoin is worth higher) and miner set the fees by the chain averaging the requested fees miners propose. The bitcoin stored will be an emergency back up supply for future uses.
Best part of rsk is that in theory another chain can be built on top of rsk and in a sense lead to more scalability. In a crude sense kinda like the parallel chain proposals. These chains will work together by leveraging atomic swaps
This will be interesting! Rsk will be already faster than Eth when released and even faster with its own segwit aka lumino protocol. Rsk will reach Visa speeds with Lumino Network.
With the use of sharding and side chains- Bitcoin can have scalable Dapps that can reach Millions-Billions tps.
Bitcoin is joining the arms race against Ethereum and EOS. Now how will win in this Dapps's arm race is a question that only time can tell
Keynote: Bitcoin is also using sidechains to help exchanges and also increase privacy.
Here is bitcoin's solution for exchanges:
https://steemit.com/busy/@sames/liquid-bitcoin-s-solution-for-exchanges
image.png

Source:
https://steemit.com/bitcoin/@doni-ramadhan/rootstock-smarter-bitcoins
and https://steemit.com/bitcoin/@sames/bitcoin-s-ethereum-killer-rsk-co
and https://blockgeeks.com/guides/what-are-ethereum-nodes-and-sharding/
and https://www.coinmis.com/rootstock-released-the-test-network-bitcoin-ushered-in-the-smart-contract/

Ok guys I testing something cool! So if you don't know @thundercurator is a manual upvote service that guarantees profitable upvote (300%), personalized comment and resteem of your original, quality content. :) Send 0.05 sbd and get a 0.015 upvote. That a good deal :)
And right now there i guess a promotion:
Thundercurator Teamsed Up with DynamicSteemians to Promote Original, Quality Content from Minnows!
What is @dynamicsteemians ?
@dynamicsteemians (their tag #dynamicsteemians) is the product of two crypto enthusiasts and entrepreneurs @dynamicrypto and @dynamicgreentk in Nevada, that have enterprises expanding from cypto-mining to revolutionary fertilizers for self sustaining economies that have the power to transform food production globally.
Here how the promotion:
·use the tag dynamicsteemians and receive a $0.05 upvote from thundercurator(no spam)

·use the tag and mention thundercurator in your post and receive a $0.1 upvote from thundercurator

·use the tag and mention thundercurator and dynamicgreentk in your post and receive a $0.15 upvote from thundercurator

@dynamicgreentk has a decentmemes.com promotion. Use Decentmemes.com to make a meme. Tag Dynamicsteemians for a 100% upvote, comment and resteem on what are the 10 best memes each day.

Sort:  

Cool! Thanks for sharing!
Any info when Rootstack will be released?

The main net is out but right now i guess you can say public testing of bugs is going on now. Rsk has inherited bitcoin famous security desires so it going to be tested the life out of it. I believe in end the Q3 will be it mass usable. I just know this year is the year. :)

Quick update yes i know the halving is in 2 years sorry for the typo...

when are they going to launch the token?

Rsk.co use bitcoin as its currency like how ethereum use ether as in system currency. Rsk is expected to be publicly usable edition to be released at the end of Q2 or 3. I forgot just know it's this year :) FYI the mainnet is out yet but it just not safe. It probably safe to use now but it has bitcoin famous security desires.

You just planted 0.25 tree(s)!


Thanks to @sames

We have planted already 3694.91 trees
out of 1,000,000


Let's save and restore Abongphen Highland Forest
in Cameroonian village Kedjom-Keku!
Plant trees with @treeplanter and get paid for it!
My Steem Power = 18651.12
Thanks a lot!
@martin.mikes coordinator of @kedjom-keku
treeplantermessage_ok.png

Nice post @sames...

This post received a $0.420 (76.92%) upvote from @upvotewhale thanks to @sames! For more information, check out my profile!

You got a 51.53% upvote from @peace-bot courtesy of @sames!

Help spread the peace. Want to promote your posts too? Send a minimum of .02 SBD or STEEM to @peace-bot with link in the memo for an upvote on your post. You can also delegate to the bot for daily passive earnings. If you would like to delegate to the Peace Bot you can do so by clicking on the following links:
50SP 100SP 250SP 500SP 1000SP 5000SP

Learn more!

To listen to the audio version of this article click on the play image.

Brought to you by @tts. If you find it useful please consider upvote this reply.

Release the Kraken! You got a 4.20% upvote from @seakraken courtesy of @sames!

This post proves to be a worthy post for the #dynamicsteemians initiative, bringing knowledge, people, and resources together to succeed on the steemit blockchain. Support @dynamicrypto and @dynamicgreentk, the visionaries behind this cause and whom summoned me to upvote your post.

Currently there is a tier system in place that determine your upvote amount from @thundercurator, they are:

  • use the tag dynamicsteemians and receive a $0.05
  • use the tag and mention thundercurator in your post and receive a $0.10
  • use the tag and mention thundercurator and dynamicgreentk in your post and receive a $0.15 upvote from thundercurator

That being said…

BOOOOOOOOOM!!!

The ground shakes as incredible power lights the sky. The thunder tests the quality of your post and deems it worthy, rewarding it with a 300% upvote, comment and resteem from @thundercurator.

Increase your chances of a 100% upvote and support the project by:

Investors who delegate SP to @thundercurator are entitled to 75% of @thundercurator income after curation. Get on-board early and grow with us!

Coin Marketplace

STEEM 0.29
TRX 0.12
JST 0.034
BTC 63314.98
ETH 3233.91
USDT 1.00
SBD 3.88